@font-face {
  font-family: "Yeseva One";
  src: url("assets/fonts/YesevaOne-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg-top: #001820;
  --bg-mid: #002832;
  --bg-low: #003b46;
  --accent: #66a5ad;
  --accent-light: #c4dfe6;
  --accent-deep: #07575b;
  --text: #dff0f4;
  --muted: rgba(196, 223, 230, 0.67);
  --muted-soft: rgba(196, 223, 230, 0.43);
  --card: rgba(7, 87, 91, 0.2);
  --card-strong: rgba(7, 87, 91, 0.34);
  --border: rgba(102, 165, 173, 0.22);
  --border-strong: rgba(196, 223, 230, 0.38);
  --gold: #f6c85f;
  --dark: #001319;
  --success: #8ed8bd;
  --shadow: 0 28px 80px rgba(0, 10, 14, 0.36);
  --radius: 24px;
  --container: 1180px;
}

body.theme-light {
  --bg-top: #f6fbfc;
  --bg-mid: #e8f3f5;
  --bg-low: #d6e8eb;
  --accent: #397f87;
  --accent-light: #07575b;
  --accent-deep: #064d52;
  --text: #07333c;
  --muted: rgba(7, 51, 60, 0.7);
  --muted-soft: rgba(7, 51, 60, 0.48);
  --card: rgba(255, 255, 255, 0.62);
  --card-strong: rgba(255, 255, 255, 0.82);
  --border: rgba(7, 87, 91, 0.2);
  --border-strong: rgba(7, 87, 91, 0.38);
  --success: #197351;
  --shadow: 0 28px 80px rgba(7, 51, 60, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 8%, rgba(102, 165, 173, 0.11), transparent 30%),
    linear-gradient(145deg, var(--bg-top), var(--bg-mid) 50%, var(--bg-low));
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(196, 223, 230, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 223, 230, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

img,
svg {
  max-width: 100%;
}

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

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1,
h2 {
  font-family: "Yeseva One", serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(2.24rem, 3.71vw, 3.745rem);
  font-weight: 400;
}

h1 em {
  color: #8fd7de;
  font-style: normal;
  text-shadow: 0 0 44px rgba(196, 223, 230, 0.16);
}

body.theme-light h1 em {
  color: var(--accent-light);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  font-weight: 400;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 400;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--dark);
  background: var(--accent-light);
  transform: translateY(-150%);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 17px 0;
  border-bottom: 1px solid transparent;
  transition: 0.25s ease;
}

.site-header.is-scrolled {
  border-color: var(--border);
  background: rgba(0, 24, 32, 0.9);
  box-shadow: 0 12px 36px rgba(0, 10, 14, 0.2);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 78px;
  aspect-ratio: 639 / 380;
  display: block;
  flex: 0 0 auto;
  background: var(--accent-light);
  -webkit-mask: url("assets/gefest-logo.svg") center / contain no-repeat;
  mask: url("assets/gefest-logo.svg") center / contain no-repeat;
  filter: drop-shadow(0 7px 18px rgba(196, 223, 230, 0.18));
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-size: 0.82rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.035em;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 29px);
  color: var(--muted);
  font-size: 0.88rem;
}

.main-menu a,
.main-menu button {
  position: relative;
  padding: 8px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease;
}

.main-menu a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 1px;
  background: var(--accent-light);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.main-menu a:hover,
.main-menu button:hover,
.main-menu a:focus-visible,
.main-menu button:focus-visible {
  color: var(--accent-light);
}

.main-menu a:hover::after,
.main-menu a:focus-visible::after {
  transform: scaleX(1);
}

.nav-news {
  padding: 9px 17px !important;
  border: 1px solid var(--border) !important;
  border-radius: 999px;
}

.theme-toggle {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(196, 223, 230, 0.4);
  border-radius: 999px;
  color: var(--dark);
  background: var(--accent-light);
  box-shadow: 0 8px 24px rgba(0, 10, 14, 0.16);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  color: var(--dark);
  box-shadow: 0 10px 30px rgba(0, 10, 14, 0.25);
  transform: translateY(-1px);
}

.theme-toggle-icon {
  font-size: 1rem;
  line-height: 1;
}

.auth-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 15px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--accent-light);
  background: rgba(102, 165, 173, 0.08);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.auth-button:hover,
.auth-button:focus-visible {
  border-color: var(--accent-light);
  background: rgba(102, 165, 173, 0.16);
  transform: translateY(-1px);
}

.auth-button-icon {
  font-size: 1rem;
  line-height: 1;
}

.auth-label-short {
  display: none;
}

body.theme-light .theme-toggle {
  color: #f2fbfc;
  background: #07575b;
}

body.theme-light::before {
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(7, 87, 91, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 87, 91, 0.055) 1px, transparent 1px);
}

body.theme-light .site-header.is-scrolled {
  background: rgba(246, 251, 252, 0.92);
  box-shadow: 0 12px 36px rgba(7, 51, 60, 0.12);
}

body.theme-light .hero-product,
body.theme-light .video-placeholder {
  --text: #dff0f4;
  --muted: rgba(196, 223, 230, 0.67);
  --muted-soft: rgba(196, 223, 230, 0.43);
  --accent: #66a5ad;
  --accent-light: #c4dfe6;
  --border: rgba(102, 165, 173, 0.22);
}

body.theme-light .feature-card,
body.theme-light .exercise-catalog,
body.theme-light .example-card,
body.theme-light .audience-panel,
body.theme-light .price-card {
  background: rgba(255, 255, 255, 0.66);
}

body.theme-light .feature-large,
body.theme-light .price-featured {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(102, 165, 173, 0.18));
}

body.theme-light .workflow {
  background: rgba(255, 255, 255, 0.3);
}

body.theme-light .exercise-modal-card {
  background:
    radial-gradient(circle at 100% 0, rgba(102, 165, 173, 0.2), transparent 35%),
    #f6fbfc;
  box-shadow: 0 35px 100px rgba(7, 51, 60, 0.3);
}

body.theme-light .toast {
  color: #f2fbfc;
  background: rgba(7, 57, 66, 0.96);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  height: 1px;
  margin: 5px 0;
  background: var(--accent-light);
}

.hero {
  position: relative;
  min-height: auto;
  padding: 186px 0 72px;
  overflow: hidden;
}

.hero::after {
  content: "ГЕФЕСТ";
  position: absolute;
  right: -0.05em;
  bottom: -0.25em;
  z-index: -1;
  color: rgba(196, 223, 230, 0.026);
  font-size: clamp(9rem, 25vw, 28rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 1;
}

.hero-glow {
  position: absolute;
  z-index: -1;
  width: 560px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
}

.hero-glow-one {
  top: -260px;
  left: 47%;
  background: radial-gradient(circle, rgba(102, 165, 173, 0.16), transparent 68%);
}

.hero-glow-two {
  right: -280px;
  bottom: -80px;
  background: radial-gradient(circle, rgba(7, 87, 91, 0.34), transparent 68%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(480px, 0.92fr);
  align-items: start;
  gap: 50px;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.button {
  display: inline-flex;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--dark);
  background: var(--accent-light);
  box-shadow: 0 14px 34px rgba(102, 165, 173, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #d9f1f6;
  box-shadow: 0 18px 42px rgba(102, 165, 173, 0.28);
}

.button-secondary {
  border-color: var(--border-strong);
  color: var(--accent-light);
  background: rgba(255, 255, 255, 0.025);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--accent-light);
  background: rgba(102, 165, 173, 0.1);
}

.button-light {
  color: var(--dark);
  background: #e8f6f9;
}

body.theme-light .button-primary,
body.theme-light .button-light {
  border-color: rgba(7, 87, 91, 0.22);
  color: #003b46;
  background: rgba(255, 255, 255, 0.82);
}

body.theme-light .button-primary:hover,
body.theme-light .button-primary:focus-visible,
body.theme-light .button-light:hover,
body.theme-light .button-light:focus-visible {
  border-color: #07575b;
  color: #003b46;
  background: rgba(255, 255, 255, 0.96);
}

body.theme-light .popular-label,
body.theme-light .review-author > span,
body.theme-light .skip-link,
body.theme-light .visual-text mark,
body.theme-light .visual-audio > button {
  color: #f2fbfc;
}

.button-full {
  width: 100%;
}

.hero-points {
  display: flex;
  gap: 19px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  list-style: none;
}

.hero-points span {
  display: inline-grid;
  width: 20px;
  height: 20px;
  margin-right: 5px;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--success);
  font-size: 0.7rem;
}

.hero-product {
  position: relative;
  width: 118%;
  margin-block: 0;
  margin-right: -18%;
}

.hero-image-glow {
  border-radius: 24px;
  filter:
    drop-shadow(0 0 18px rgba(102, 165, 173, 0.34))
    drop-shadow(0 0 48px rgba(7, 87, 91, 0.22));
}

.hero-interface-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.hero-interface-light {
  display: none;
}

body.theme-light .hero-interface-dark {
  display: none;
}

body.theme-light .hero-interface-light {
  display: block;
}

body.theme-light .hero-image-glow {
  filter:
    drop-shadow(0 0 16px rgba(7, 87, 91, 0.2))
    drop-shadow(0 0 42px rgba(102, 165, 173, 0.16));
}

.product-window {
  overflow: hidden;
  border: 1px solid rgba(196, 223, 230, 0.25);
  border-radius: 22px;
  background: rgba(0, 24, 32, 0.9);
  box-shadow: var(--shadow);
  transform: rotateY(-5deg) rotateX(2deg);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
}

.window-bar > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.46;
}

.window-bar > span:nth-child(2) {
  opacity: 0.7;
}

.window-bar > span:nth-child(3) {
  opacity: 0.9;
}

.window-bar small {
  margin-left: 9px;
  color: var(--muted-soft);
  font-size: 0.63rem;
  letter-spacing: 0.06em;
}

.window-body {
  display: grid;
  grid-template-columns: 132px 1fr;
  min-height: 465px;
}

.mock-sidebar {
  padding: 21px 14px;
  border-right: 1px solid var(--border);
  background: rgba(0, 18, 24, 0.6);
}

.mock-logo {
  width: 76px;
  aspect-ratio: 639 / 380;
  margin: 3px auto 28px;
  background: var(--accent-light);
  -webkit-mask: url("assets/gefest-logo.svg") center / contain no-repeat;
  mask: url("assets/gefest-logo.svg") center / contain no-repeat;
}

.mock-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 5px 0;
  padding: 9px 10px;
  border-radius: 9px;
  color: var(--muted-soft);
  font-size: 0.65rem;
}

.mock-nav i {
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  border-radius: 2px;
}

.mock-nav.active {
  color: var(--accent-light);
  background: rgba(102, 165, 173, 0.12);
}

.mock-stat {
  display: grid;
  gap: 1px;
  margin-top: 140px;
  padding: 13px 10px;
  border: 1px solid var(--border);
  border-radius: 11px;
}

.mock-stat b {
  color: var(--accent-light);
  font-size: 1.08rem;
}

.mock-stat small {
  color: var(--muted-soft);
  font-size: 0.58rem;
}

.mock-main {
  padding: 25px;
  background: linear-gradient(145deg, rgba(7, 87, 91, 0.15), rgba(0, 24, 32, 0.12));
}

.mock-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.mock-topline > div {
  display: grid;
  gap: 3px;
}

.mock-topline small,
.mock-card small {
  color: var(--muted-soft);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mock-topline strong {
  font-size: 0.98rem;
}

.mock-topline > span {
  padding: 5px 9px;
  border: 1px solid rgba(142, 216, 189, 0.28);
  border-radius: 999px;
  color: var(--success);
  font-size: 0.56rem;
}

.mock-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mock-card {
  min-height: 145px;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(7, 87, 91, 0.17);
}

.mock-card.featured {
  border-color: rgba(196, 223, 230, 0.36);
  background: linear-gradient(145deg, rgba(102, 165, 173, 0.2), rgba(7, 87, 91, 0.14));
}

.mock-card.wide {
  grid-column: 1 / -1;
  min-height: 115px;
}

.mock-card > strong {
  display: block;
  margin: 4px 0 12px;
  font-size: 0.82rem;
}

.word-card {
  display: flex;
  min-height: 67px;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(196, 223, 230, 0.2);
  border-radius: 10px;
  background: rgba(0, 24, 32, 0.42);
}

.word-card span {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 8px;
  color: var(--dark);
  background: var(--accent-light);
  font-weight: 700;
}

.word-card b {
  font-size: 0.73rem;
}

.pair-lines {
  display: grid;
  gap: 8px;
}

.pair-lines span {
  height: 15px;
  border-radius: 5px;
  background: linear-gradient(90deg, rgba(102, 165, 173, 0.28) 44%, transparent 44% 52%, rgba(196, 223, 230, 0.12) 52%);
}

.mock-card.wide p {
  color: var(--muted);
  font-size: 0.72rem;
}

.mock-card.wide u {
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--accent-light);
  background: rgba(102, 165, 173, 0.16);
  text-decoration: none;
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: var(--accent-light);
  background: rgba(0, 32, 40, 0.92);
  box-shadow: 0 18px 44px rgba(0, 10, 14, 0.38);
  backdrop-filter: blur(12px);
  font-size: 0.72rem;
}

.floating-card span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  color: var(--dark);
  background: var(--accent-light);
}

.floating-card-one {
  top: 21%;
  left: -7%;
}

.floating-card-two {
  right: 1%;
  bottom: 9%;
}

.proof-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(0, 24, 32, 0.28);
}

body.theme-light .proof-strip {
  border-color: rgba(7, 87, 91, 0.14);
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.2),
    rgba(102, 165, 173, 0.12) 48%,
    rgba(7, 87, 91, 0.08)
  );
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-grid > div {
  display: grid;
  gap: 1px;
  padding: 30px 26px;
  border-right: 1px solid var(--border);
}

.proof-grid > div:first-child {
  border-left: 1px solid var(--border);
}

.proof-grid strong {
  color: var(--accent-light);
  font-size: 1.3rem;
}

.proof-grid span {
  color: var(--muted);
  font-size: 0.75rem;
}

.section {
  position: relative;
  padding: 128px 0;
}

.proof-strip + .advantages {
  padding-top: 72px;
}

.advantages .section-heading {
  max-width: none;
}

.advantages .section-heading h2 {
  white-space: nowrap;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 54px;
}

.section-heading > p:last-child,
.workflow-copy > p:last-child {
  max-width: 690px;
  color: var(--muted);
  font-size: 1.02rem;
}

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

.feature-card {
  min-height: 320px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(7, 87, 91, 0.22), rgba(0, 24, 32, 0.22));
  box-shadow: 0 20px 50px rgba(0, 10, 14, 0.1);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.feature-card:hover {
  border-color: rgba(196, 223, 230, 0.37);
  background: linear-gradient(145deg, rgba(7, 87, 91, 0.3), rgba(0, 24, 32, 0.3));
  transform: translateY(-4px);
}

.feature-large {
  grid-row: span 2;
  min-height: 656px;
  padding: 36px;
  background:
    radial-gradient(circle at 90% 85%, rgba(102, 165, 173, 0.15), transparent 36%),
    linear-gradient(145deg, rgba(7, 87, 91, 0.3), rgba(0, 24, 32, 0.23));
}

.feature-icon {
  display: grid;
  width: 49px;
  height: 49px;
  margin-bottom: 42px;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  color: var(--accent-light);
  background: rgba(102, 165, 173, 0.09);
  font-size: 1.25rem;
}

.card-kicker {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.feature-card > p:last-of-type,
.example-body > p,
.price-card > p {
  color: var(--muted);
}

.format-cloud {
  display: flex;
  align-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 68px;
}

.format-cloud span {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent-light);
  background: rgba(102, 165, 173, 0.065);
  font-size: 0.74rem;
}

.exercise-catalog {
  margin-top: 66px;
  padding: 42px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 8%, rgba(102, 165, 173, 0.15), transparent 28%),
    rgba(0, 24, 32, 0.3);
}

.exercise-catalog-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: end;
  gap: 14px 56px;
  margin-bottom: 32px;
}

.exercise-catalog-heading h3 {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.exercise-catalog-heading > p:last-child {
  margin-bottom: 2px;
  color: var(--muted);
}

.exercise-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  list-style: none;
}

.exercise-list li {
  min-width: 0;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(102, 165, 173, 0.025);
}

.exercise-trigger {
  display: grid;
  width: 100%;
  min-height: 106px;
  align-content: space-between;
  gap: 12px;
  padding: 18px;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.exercise-trigger:hover,
.exercise-trigger:focus-visible {
  background: rgba(102, 165, 173, 0.1);
}

.exercise-trigger:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid var(--accent-light);
  outline-offset: -2px;
}

.exercise-list span {
  color: var(--accent);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.exercise-list strong {
  color: var(--accent-light);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
}

.exercise-trigger strong::after {
  content: " ↗";
  color: var(--accent);
  font-weight: 400;
}

body.modal-open {
  overflow: hidden;
}

.exercise-modal[hidden] {
  display: none;
}

.exercise-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.exercise-modal.is-open {
  opacity: 1;
}

.exercise-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 12, 17, 0.82);
  backdrop-filter: blur(10px);
}

.exercise-modal-card {
  position: relative;
  width: min(100%, 640px);
  padding: 46px;
  border: 1px solid rgba(196, 223, 230, 0.34);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0, rgba(102, 165, 173, 0.18), transparent 35%),
    #002630;
  box-shadow: 0 35px 100px rgba(0, 8, 12, 0.55);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.18s ease;
}

.exercise-modal.is-open .exercise-modal-card {
  transform: none;
}

.exercise-modal-card:focus {
  outline: none;
}

.exercise-modal-card h2 {
  margin: 8px 52px 18px 0;
  font-size: clamp(1.85rem, 4vw, 2.8rem);
}

.exercise-modal-card > p:not(.card-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.exercise-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--accent-light);
  background: rgba(102, 165, 173, 0.08);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.exercise-modal-close:hover,
.exercise-modal-close:focus-visible {
  border-color: var(--accent-light);
  background: rgba(102, 165, 173, 0.16);
}

.exercise-modal-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--accent-light);
  font-size: 0.82rem;
}

.exercise-modal-note span {
  color: var(--success);
}

.workflow {
  border-top: 1px solid rgba(102, 165, 173, 0.09);
  border-bottom: 1px solid rgba(102, 165, 173, 0.09);
  background: rgba(0, 24, 32, 0.22);
}

.workflow-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: start;
  gap: 90px;
}

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

.steps {
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}

.steps li:first-child {
  padding-top: 0;
}

.steps li > span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--accent-light);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.steps strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.25rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.section-heading-row {
  display: grid;
  max-width: none;
  grid-template-columns: 1fr 0.6fr;
  align-items: end;
  gap: 60px;
}

.section-heading-row > p {
  color: var(--muted);
}

.video-placeholder {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 30px;
  background:
    linear-gradient(0deg, rgba(0, 16, 22, 0.72), transparent 52%),
    radial-gradient(circle at 65% 28%, rgba(196, 223, 230, 0.12), transparent 24%),
    linear-gradient(135deg, #00202a, #07575b 54%, #003b46);
  box-shadow: var(--shadow);
}

.video-placeholder::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 540px;
  aspect-ratio: 639 / 380;
  background: rgba(196, 223, 230, 0.11);
  -webkit-mask: url("assets/gefest-logo.svg") center / contain no-repeat;
  mask: url("assets/gefest-logo.svg") center / contain no-repeat;
  transform: translate(-50%, -58%);
}

.video-grid {
  position: absolute;
  inset: 0;
  opacity: 0.23;
  background-image:
    linear-gradient(rgba(196, 223, 230, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 223, 230, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.play-button {
  position: absolute;
  top: 48%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: rgba(0, 24, 32, 0.52);
  box-shadow: 0 20px 60px rgba(0, 10, 14, 0.4);
  cursor: pointer;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(9px);
  transition: 0.25s ease;
}

.play-button:hover {
  color: var(--dark);
  background: var(--accent-light);
  transform: translate(-50%, -50%) scale(1.06);
}

.play-button span {
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid currentColor;
}

.video-caption {
  position: absolute;
  right: 40px;
  bottom: 34px;
  left: 40px;
  display: grid;
  gap: 5px;
}

.video-caption span {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.video-caption strong {
  font-size: 1.38rem;
}

.examples {
  background: linear-gradient(180deg, transparent, rgba(0, 24, 32, 0.2), transparent);
}

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

.example-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 24, 32, 0.34);
  transition: 0.25s ease;
}

.example-card:hover {
  border-color: rgba(196, 223, 230, 0.34);
  transform: translateY(-4px);
}

.example-visual {
  min-height: 228px;
  padding: 28px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(102, 165, 173, 0.18), rgba(7, 87, 91, 0.1));
}

.example-body {
  padding: 27px;
}

.example-body > p:not(.card-kicker) {
  min-height: 77px;
}

.interest-cta {
  padding: 0 0 28px;
}

.trial-cta {
  position: relative;
  z-index: 2;
  padding: 0 0 72px;
  margin-top: -72px;
}

.interest-cta-inner {
  display: flex;
  justify-content: center;
}

.interest-cta-button {
  min-height: 64px;
  padding-inline: 30px;
  box-shadow: 0 18px 50px rgba(102, 165, 173, 0.2);
  font-size: clamp(0.92rem, 1.6vw, 1.08rem);
}

.interest-cta-button span {
  font-size: 1.2em;
  transition: transform 0.2s ease;
}

.interest-cta-button:hover span,
.interest-cta-button:focus-visible span {
  transform: translateX(4px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  color: var(--accent-light);
  background: transparent;
  font-weight: 600;
  cursor: pointer;
}

.text-link span {
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

.visual-words {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 58px);
  align-content: center;
  justify-content: center;
  gap: 10px;
}

.visual-words > span {
  display: grid;
  height: 58px;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  color: var(--accent-light);
  background: rgba(0, 24, 32, 0.48);
  font-size: 1.35rem;
  font-weight: 600;
}

.visual-words > div {
  grid-column: 1 / -1;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
}

.visual-words b {
  color: var(--accent);
}

.visual-text {
  display: grid;
  align-content: center;
  gap: 20px;
}

.visual-text p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.visual-text mark {
  padding: 3px 7px;
  border-radius: 5px;
  color: var(--dark);
  background: var(--accent-light);
}

.visual-text > div {
  display: flex;
  gap: 8px;
}

.visual-text > div span {
  width: 42px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.5;
}

.visual-audio {
  display: flex;
  align-items: center;
  gap: 17px;
}

.visual-audio > button {
  display: grid;
  width: 55px;
  height: 55px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--dark);
  background: var(--accent-light);
}

.visual-audio > span {
  color: var(--muted-soft);
  font-size: 0.66rem;
}

.wave {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 4px;
}

.wave i {
  width: 3px;
  height: 28px;
  border-radius: 3px;
  background: var(--accent-light);
  opacity: 0.5;
}

.wave i:nth-child(2n) { height: 48px; opacity: 0.72; }
.wave i:nth-child(3n) { height: 20px; }
.wave i:nth-child(5n) { height: 62px; opacity: 0.9; }

.for-whom {
  padding-top: 42px;
  padding-bottom: 44px;
}

.buy {
  padding-top: 50px;
}

.audience-panel {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: 70px;
  padding: 58px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 0%, rgba(102, 165, 173, 0.14), transparent 35%),
    rgba(0, 24, 32, 0.28);
}

.audience-panel h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.3vw, 3.25rem);
}

.audience-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.audience-trigger {
  min-height: 90px;
  display: flex;
  width: 100%;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 15px;
  color: var(--accent-light);
  background: rgba(102, 165, 173, 0.06);
  cursor: pointer;
  font-size: 0.84rem;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.audience-trigger::after {
  content: "↗";
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 0.9rem;
}

.audience-trigger:hover,
.audience-trigger:focus-visible {
  border-color: var(--border-strong);
  background: rgba(102, 165, 173, 0.14);
  outline: none;
  transform: translateY(-2px);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.price-card {
  position: relative;
  display: flex;
  min-width: 0;
  padding: 31px 25px 25px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 24, 32, 0.34);
  flex-direction: column;
}

.price-card h3 {
  margin-top: 28px;
}

.price-featured {
  border-color: rgba(196, 223, 230, 0.42);
  background: linear-gradient(145deg, rgba(7, 87, 91, 0.4), rgba(0, 24, 32, 0.4));
  box-shadow: var(--shadow);
}

.popular-label {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--dark);
  background: var(--accent-light);
  font-size: 0.65rem;
  font-weight: 600;
}

.plan-label {
  top: 17px;
  right: 17px;
}

.price {
  display: grid;
  gap: 2px;
  margin: 26px 0 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
}

.price strong {
  color: var(--accent-light);
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
}

.plan-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.75rem;
}

.plan-total strong {
  color: var(--text);
  font-size: 1rem;
}

.plan-saving {
  min-height: 18px;
  margin: 8px 0 24px;
  color: var(--success);
  font-size: 0.72rem;
  font-weight: 600;
}

.price-card ul {
  display: grid;
  gap: 12px;
  min-height: 118px;
  padding: 0;
  margin: 0 0 28px;
  color: var(--muted);
  list-style: none;
}

.price-card .button {
  margin-top: auto;
}

.price-card li::before {
  content: "\2713";
  margin-right: 9px;
  color: var(--success);
}

.reviews {
  padding-bottom: 70px;
}

.reviews .section-heading-row {
  grid-template-columns: 1fr;
}

.reviews .section-heading h2 {
  white-space: nowrap;
}

.reviews-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.58fr);
  gap: 20px;
  align-items: stretch;
}

.rating-card,
.review-card,
.partner-card {
  border: 1px solid var(--border);
  background: rgba(0, 24, 32, 0.34);
}

.rating-card {
  display: flex;
  min-height: 330px;
  padding: 30px;
  border-radius: var(--radius);
  flex-direction: column;
}

.rating-source,
.review-placeholder-label {
  color: var(--accent-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rating-value {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 16px 0 0;
}

.rating-value strong {
  font-family: "Yeseva One", serif;
  font-size: 4.8rem;
  font-weight: 400;
  line-height: 1;
}

.rating-value span,
.rating-card > p:not(.rating-source) {
  color: var(--muted);
}

.rating-stars {
  margin: 8px 0 18px;
  color: var(--gold);
  font-size: 1.4rem;
  letter-spacing: 0.09em;
}

.rating-card .button {
  margin-top: auto;
}

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

.review-card {
  position: relative;
  display: flex;
  min-height: 330px;
  padding: 31px;
  border-radius: var(--radius);
  flex-direction: column;
}

.review-card > p:not(.review-placeholder-label) {
  max-width: 92%;
  color: var(--muted);
  font-size: 1rem;
}

.review-quote {
  position: absolute;
  top: 19px;
  right: 26px;
  color: rgba(102, 165, 173, 0.28);
  font-family: "Yeseva One", serif;
  font-size: 4.5rem;
  line-height: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.review-author > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--dark);
  background: var(--accent-light);
  font-weight: 700;
}

.review-author p {
  display: grid;
  gap: 1px;
  margin: 0;
}

.review-author small {
  color: var(--muted-soft);
}

.map-placeholder {
  position: relative;
  min-height: 300px;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    linear-gradient(35deg, transparent 47%, rgba(196, 223, 230, 0.08) 48%, rgba(196, 223, 230, 0.08) 52%, transparent 53%),
    linear-gradient(125deg, transparent 47%, rgba(196, 223, 230, 0.06) 48%, rgba(196, 223, 230, 0.06) 52%, transparent 53%),
    rgba(7, 87, 91, 0.16);
  background-size: 96px 96px, 122px 122px, auto;
}

.map-placeholder::before,
.map-placeholder::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(196, 223, 230, 0.16);
  border-radius: 48%;
}

.map-placeholder::before {
  width: 620px;
  height: 150px;
  top: -40px;
  left: -90px;
  transform: rotate(7deg);
}

.map-placeholder::after {
  width: 520px;
  height: 120px;
  right: -120px;
  bottom: -25px;
  transform: rotate(-12deg);
}

.map-road {
  position: absolute;
  width: 130%;
  height: 20px;
  left: -15%;
  border-top: 1px dashed rgba(196, 223, 230, 0.22);
  border-bottom: 1px dashed rgba(196, 223, 230, 0.22);
  background: rgba(0, 24, 32, 0.18);
}

.map-road-one {
  top: 38%;
  transform: rotate(-7deg);
}

.map-road-two {
  top: 58%;
  transform: rotate(15deg);
}

.map-pin {
  position: absolute;
  top: 50%;
  left: 27%;
  z-index: 2;
  width: 54px;
  height: 54px;
  border-radius: 50% 50% 50% 0;
  background: var(--accent-light);
  box-shadow: 0 14px 35px rgba(0, 10, 14, 0.28);
  transform: translate(-50%, -58%) rotate(-45deg);
}

.map-pin span {
  position: absolute;
  inset: 15px;
  border-radius: 50%;
  background: var(--accent-deep);
}

.map-placeholder-copy {
  position: absolute;
  top: 50%;
  right: 7%;
  z-index: 3;
  width: min(430px, 58%);
  padding: 25px 28px;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: rgba(0, 24, 32, 0.84);
  box-shadow: var(--shadow);
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
}

.map-placeholder-copy strong {
  display: block;
  margin-bottom: 7px;
  font-family: "Yeseva One", serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.map-placeholder-copy p {
  margin: 0;
  color: var(--muted);
}

.partners {
  padding-top: 70px;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.partner-card {
  display: flex;
  min-height: 150px;
  align-items: center;
  gap: 20px;
  padding: 25px;
  border-radius: var(--radius);
}

.partner-card > div:last-child {
  display: grid;
  gap: 5px;
}

.partner-card small {
  color: var(--muted);
}

.partner-mark {
  position: relative;
  width: 70px;
  height: 70px;
  flex: 0 0 auto;
  border: 1px solid var(--border-strong);
  border-radius: 19px;
  background: rgba(102, 165, 173, 0.1);
}

.partner-mark span {
  position: absolute;
  border-radius: 999px;
  background: var(--accent-light);
}

.partner-mark-one span:first-child { inset: 17px 31px; }
.partner-mark-one span:last-child { inset: 31px 17px; }
.partner-mark-two span:first-child { width: 36px; height: 12px; top: 21px; left: 17px; transform: rotate(30deg); }
.partner-mark-two span:last-child { width: 36px; height: 12px; right: 17px; bottom: 21px; transform: rotate(-30deg); }
.partner-mark-three span:first-child { width: 34px; height: 34px; top: 17px; left: 17px; border-radius: 50%; background: transparent; border: 7px solid var(--accent-light); }
.partner-mark-three span:last-child { width: 15px; height: 15px; right: 13px; bottom: 13px; }

body.theme-light .rating-card,
body.theme-light .review-card,
body.theme-light .partner-card {
  background: rgba(255, 255, 255, 0.68);
}

body.theme-light .map-placeholder {
  background:
    linear-gradient(35deg, transparent 47%, rgba(7, 87, 91, 0.08) 48%, rgba(7, 87, 91, 0.08) 52%, transparent 53%),
    linear-gradient(125deg, transparent 47%, rgba(7, 87, 91, 0.06) 48%, rgba(7, 87, 91, 0.06) 52%, transparent 53%),
    rgba(255, 255, 255, 0.54);
  background-size: 96px 96px, 122px 122px, auto;
}

body.theme-light .map-road {
  border-color: rgba(7, 87, 91, 0.18);
  background: rgba(255, 255, 255, 0.34);
}

body.theme-light .map-placeholder-copy {
  background: rgba(246, 251, 252, 0.9);
}

.news-cta {
  padding-top: 50px;
}

.news-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  padding: 48px;
  border-radius: 28px;
  color: var(--dark);
  background: linear-gradient(120deg, #c4dfe6, #8dc1c9);
  box-shadow: 0 30px 70px rgba(0, 10, 14, 0.24);
}

.news-panel p {
  color: rgba(0, 40, 48, 0.67);
}

.news-panel h2 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 3vw, 3.1rem);
}

.news-panel p:last-child {
  margin-bottom: 0;
}

.news-symbol {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border: 1px solid rgba(0, 40, 48, 0.3);
  border-radius: 18px;
  font-size: 2rem;
}

.site-footer {
  padding: 75px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 38px;
  padding-top: 34px;
  border-top: 1px solid var(--border);
}

.footer-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-links button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--accent-light);
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted-soft);
  font-size: 0.7rem;
}

.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--dark);
  background: var(--accent-light);
  box-shadow: 0 16px 38px rgba(0, 10, 14, 0.3);
  cursor: pointer;
  font-weight: 600;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.scroll-top > span:first-child {
  font-size: 1.25rem;
  line-height: 1;
}

.scroll-top:hover,
.scroll-top:focus-visible {
  box-shadow: 0 20px 48px rgba(0, 10, 14, 0.4);
  transform: translateY(-2px);
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

body.theme-light .scroll-top {
  border-color: rgba(7, 87, 91, 0.28);
  color: #003b46;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 38px rgba(7, 51, 60, 0.18);
}

.cookie-notice {
  position: fixed;
  right: 50%;
  bottom: 22px;
  z-index: 90;
  display: grid;
  width: min(calc(100% - 40px), 760px);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 20px 22px;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: rgba(0, 24, 32, 0.94);
  box-shadow: 0 24px 70px rgba(0, 10, 14, 0.38);
  opacity: 0;
  transform: translate(50%, 16px);
  backdrop-filter: blur(18px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.cookie-notice.is-visible {
  opacity: 1;
  transform: translate(50%, 0);
}

.cookie-notice strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
  font-size: 1rem;
}

.cookie-notice p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.cookie-notice .button {
  min-width: 108px;
}

body.theme-light .cookie-notice {
  background: rgba(246, 251, 252, 0.95);
  box-shadow: 0 24px 70px rgba(7, 51, 60, 0.2);
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  max-width: 360px;
  padding: 14px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: var(--accent-light);
  background: rgba(0, 24, 32, 0.95);
  box-shadow: 0 20px 50px rgba(0, 10, 14, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: 0.22s ease;
}

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

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

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

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

@media (max-width: 1060px) {
  .hero { min-height: auto; padding-bottom: 72px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 820px; }
  .hero-product { width: 96%; margin: 24px auto 0; }
  .advantage-grid { grid-template-columns: 1fr 1fr; }
  .feature-large { grid-row: auto; min-height: 430px; grid-column: 1 / -1; }
  .format-cloud { margin-top: 40px; }
  .exercise-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-grid { grid-template-columns: 1fr; }
  .workflow-grid { gap: 55px; }
  .news-panel { grid-template-columns: auto 1fr; }
  .news-panel .button { grid-column: 2; justify-self: start; }
  .theme-toggle > span:last-child { display: none; }
  .theme-toggle { width: 42px; justify-content: center; padding-inline: 0; }
}

@media (max-width: 860px) {
  .site-header { padding: 12px 0; background: rgba(0, 24, 32, 0.86); backdrop-filter: blur(16px); }
  .menu-toggle { display: block; }
  .main-menu {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 20px 24px 25px;
    border-bottom: 1px solid var(--border);
    background: rgba(0, 24, 32, 0.97);
    flex-direction: column;
  }
  .main-menu.is-open { display: flex; }
  .main-menu a, .main-menu button { text-align: left; }
  .nav-news { align-self: flex-start; }
  .hero { padding-top: 148px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid > div:nth-child(2) { border-right: 1px solid var(--border); }
  .proof-grid > div:nth-child(-n + 2) { border-bottom: 1px solid var(--border); }
  .proof-grid > div:nth-child(3) { border-left: 1px solid var(--border); }
  .workflow-grid, .section-heading-row, .audience-panel { grid-template-columns: 1fr; }
  .advantages .section-heading h2 { white-space: normal; }
  .reviews .section-heading h2 { white-space: normal; }
  .reviews-layout { grid-template-columns: 1fr; }
  .workflow-copy { position: static; }
  .example-grid { grid-template-columns: 1fr; }
  .exercise-catalog-heading { grid-template-columns: 1fr; }
  .exercise-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .example-card { display: grid; grid-template-columns: 0.8fr 1.2fr; }
  .example-visual { min-height: 100%; border-right: 1px solid var(--border); border-bottom: 0; }
  .example-body > p:not(.card-kicker) { min-height: auto; }
  .video-placeholder { min-height: 500px; }
  body.theme-light .site-header { background: rgba(246, 251, 252, 0.9); }
  body.theme-light .main-menu { background: rgba(246, 251, 252, 0.98); }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .brand-mark { width: 60px; }
  .brand-copy { display: none; }
  .auth-label-full { display: none; }
  .auth-label-short { display: inline; }
  .hero { padding-top: 128px; }
  h1 { font-size: clamp(1.68rem, 8.05vw, 2.52rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-points { display: grid; }
  .hero-product { width: 100%; margin-left: 0; }
  .window-body { grid-template-columns: 92px 1fr; min-height: 395px; }
  .mock-sidebar { padding: 14px 8px; }
  .mock-logo { width: 55px; }
  .mock-nav { padding: 7px 5px; font-size: 0.52rem; }
  .mock-stat { margin-top: 110px; }
  .mock-main { padding: 14px; }
  .mock-cards { grid-template-columns: 1fr; }
  .mock-card:nth-child(2) { display: none; }
  .floating-card { display: none; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid > div, .proof-grid > div:first-child, .proof-grid > div:nth-child(3) { border: 0; border-bottom: 1px solid var(--border); }
  .proof-grid > div:last-child { border-bottom: 0; }
  .section { padding: 90px 0; }
  .for-whom { padding-bottom: 40px; }
  .buy { padding-top: 40px; }
  .advantage-grid, .price-grid { grid-template-columns: 1fr; }
  .feature-large { grid-column: auto; min-height: auto; }
  .feature-card { min-height: auto; padding: 25px; }
  .feature-icon { margin-bottom: 32px; }
  .exercise-catalog { margin-top: 42px; padding: 24px; border-radius: 21px; }
  .exercise-list { grid-template-columns: 1fr; }
  .exercise-list li { min-height: 80px; }
  .steps li { grid-template-columns: 54px 1fr; gap: 15px; }
  .steps li > span { width: 44px; height: 44px; }
  .video-placeholder { min-height: 390px; border-radius: 21px; }
  .video-placeholder::before { width: 340px; }
  .play-button { width: 76px; height: 76px; }
  .video-caption { right: 22px; bottom: 22px; left: 22px; }
  .example-card { display: block; }
  .example-visual { min-height: 210px; border-right: 0; border-bottom: 1px solid var(--border); }
  .audience-panel { gap: 36px; padding: 30px; }
  .audience-list { grid-template-columns: 1fr; }
  .audience-trigger { min-height: 70px; }
  .price-card { padding: 29px; }
  .price-card h3 { margin-top: 0; }
  .review-grid { grid-template-columns: 1fr; }
  .rating-card, .review-card { min-height: auto; }
  .map-placeholder { min-height: 390px; }
  .map-pin { top: 32%; left: 50%; }
  .map-placeholder-copy { top: auto; right: 18px; bottom: 18px; left: 18px; width: auto; transform: none; }
  .popular-label { position: static; display: inline-flex; margin-bottom: 18px; }
  .exercise-modal { padding: 14px; }
  .exercise-modal-card { padding: 36px 25px 28px; border-radius: 21px; }
  .exercise-modal-card h2 { margin-right: 42px; }
  .cookie-notice { grid-template-columns: 1fr; gap: 16px; padding: 19px; }
  .cookie-notice .button { width: 100%; }
  .news-panel { grid-template-columns: 1fr; padding: 30px; }
  .news-panel .button { grid-column: auto; justify-self: stretch; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .copyright { grid-column: auto; }
}

@media (max-width: 420px) {
  .brand-copy { display: none; }
  .theme-toggle { display: none; }
  .auth-button { padding-inline: 10px; }
  .auth-label-short { display: none; }
  .brand-copy strong { font-size: 0.86rem; }
  .scroll-top { width: 52px; padding-inline: 0; }
  .scroll-top > span:last-child { display: none; }
  .hero-product { width: 100%; }
  .mock-topline > span { display: none; }
  .window-body { grid-template-columns: 76px 1fr; }
  .visual-words { grid-template-columns: repeat(3, 48px); }
  .visual-words > span { height: 48px; }
}
