:root {
  --text: #142033;
  --muted: #667085;
  --soft: #e7eef7;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --line: rgba(28, 44, 68, 0.1);
  --blue: #1677ff;
  --blue-2: #6bb6ff;
  --dark: #101828;
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-soft: 0 24px 80px rgba(42, 74, 116, 0.16);
  --shadow-card: 0 18px 48px rgba(33, 56, 88, 0.12);
  --section-anchor-offset: 106px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: var(--section-anchor-offset);
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(135deg, rgba(194, 219, 247, 0.46) 0%, transparent 34%),
    linear-gradient(225deg, rgba(207, 226, 247, 0.44) 0%, transparent 30%),
    linear-gradient(180deg, #f3f7fb 0%, #eaf0f7 52%, #e4ebf3 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(17, 24, 39, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%, transparent 78%);
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(22, 119, 255, 0.34);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  --rf-header-control-width: 174px;
  --rf-header-theme-width: calc(var(--rf-header-control-width) * 0.6);
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(1280px, calc(100% - 40px));
  height: 72px;
  margin: 18px auto 0;
  padding: 0 14px 0 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) var(--rf-header-theme-width) var(--rf-header-control-width);
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 60px rgba(31, 54, 84, 0.12);
  backdrop-filter: blur(24px) saturate(1.3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
  font-size: 18px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  box-shadow: 0 10px 24px rgba(22, 119, 255, 0.18);
}

.site-header nav {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 14px;
  color: #445169;
}

.site-header nav a {
  padding: 8px 11px;
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.site-header nav a:hover {
  color: var(--text);
  background: rgba(225, 237, 251, 0.62);
}

.site-header nav a.is-current {
  color: #0e61c9;
  background: rgba(220, 237, 255, 0.82);
  box-shadow: inset 0 0 0 1px rgba(22, 119, 255, 0.08);
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 710;
  letter-spacing: 0;
}

.header-cta {
  width: 100%;
  height: 50px;
  min-width: 0;
  min-height: 50px;
  padding: 8px 18px;
  text-align: center;
  font-size: 14px;
  line-height: 1.18;
  text-wrap: balance;
}

.header-cta,
.primary-button {
  position: relative;
  overflow: hidden;
  color: white;
  background: linear-gradient(135deg, #1378ff 0%, #4ba1ff 100%);
  box-shadow: 0 18px 36px rgba(20, 116, 255, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.header-cta::after,
.primary-button::after,
.platform-download-button::after,
.plan-button-primary::after,
.license-download.is-available::after,
.license-download.is-ready::after {
  content: "";
  position: absolute;
  inset: -30% auto -30% -42%;
  width: 24%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.64), transparent);
  transform: skewX(-18deg);
  animation: cta-soft-sheen 5.4s ease-in-out infinite;
}

@keyframes cta-soft-sheen {
  0%, 68% { left: -42%; opacity: 0; }
  72% { opacity: 0.78; }
  88% { left: 118%; opacity: 0; }
  100% { left: 118%; opacity: 0; }
}

.primary-button.is-unavailable {
  color: #5f6f84;
  background: #e8edf3;
  box-shadow: inset 0 1px 0 white;
}

#smart-download[aria-disabled="true"],
.license-download.is-unavailable,
.platform-download-button.is-unavailable {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.66;
  filter: saturate(0.68);
}

.license-download.is-unavailable,
.platform-download-button.is-unavailable {
  border-color: rgba(25, 48, 78, 0.1);
  background: rgba(239, 244, 250, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.secondary-button {
  color: #1a2b45;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(24, 44, 73, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.section-pad {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0;
  scroll-margin-top: var(--section-anchor-offset);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.88fr);
  align-items: stretch;
  gap: 64px;
  min-height: auto;
  padding-top: 32px;
  padding-bottom: 66px;
}

.hero-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

html[dir="rtl"] .demo-action,
html[dir="rtl"] .language-pair,
html[dir="rtl"] .official-domain,
html[dir="rtl"] .plan-price,
html[dir="rtl"] .pricing-journey,
html[dir="rtl"] .cart-price-row,
html[dir="rtl"] .cart-timer,
html[dir="rtl"] [data-demo-key] {
  direction: ltr;
}

html[dir="rtl"] .demo-line,
html[dir="rtl"] .audience-main,
html[dir="rtl"] .platform-copy,
html[dir="rtl"] .warning-content,
html[dir="rtl"] .organization-card,
html[dir="rtl"] .organization-offer-copy {
  text-align: right;
}

.chapter-band {
  --chapter-rgb: 22, 119, 255;
  --chapter-accent: #1677d8;
  position: relative;
  isolation: isolate;
}

.chapter-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 50%;
  width: 100vw;
  transform: translateX(-50%);
  border-top: 1px solid rgba(var(--chapter-rgb), 0.08);
  border-bottom: 1px solid rgba(var(--chapter-rgb), 0.06);
  background: rgba(var(--chapter-rgb), 0.026);
}

.chapter-platforms {
  --chapter-rgb: 27, 125, 220;
  --chapter-accent: #176fc1;
}

.chapter-exercises {
  --chapter-rgb: 56, 103, 196;
  --chapter-accent: #365faf;
}

.chapter-security {
  --chapter-rgb: 24, 139, 101;
  --chapter-accent: #177b5b;
}

.site-header .rf-theme-toggle {
  --rf-switch-w: var(--rf-header-theme-width);
  --rf-switch-h: 50px;
  justify-self: center;
}

.chapter-languages {
  --chapter-rgb: 103, 85, 190;
  --chapter-accent: #6756b5;
}

.chapter-organizations {
  --chapter-rgb: 29, 99, 143;
  --chapter-accent: #1d638f;
}

.chapter-pricing {
  --chapter-rgb: 24, 139, 101;
  --chapter-accent: #177b5b;
}

.chapter-security::before {
  background:
    radial-gradient(circle at 18% 24%, rgba(72, 201, 151, 0.075), transparent 30%),
    rgba(24, 139, 101, 0.022);
}

.chapter-languages::before {
  background: rgba(103, 85, 190, 0.028);
}

.chapter-exercises::before {
  background: rgba(56, 103, 196, 0.024);
}

.chapter-organizations::before {
  background: rgba(29, 99, 143, 0.024);
}

.chapter-pricing::before {
  background: rgba(24, 139, 101, 0.022);
}

.chapter-continuation::before {
  border-top: 0;
}

.languages.chapter-languages::before {
  border-bottom: 0;
}

.section-marker {
  width: max-content;
  max-width: 100%;
  display: grid;
  grid-template-columns: auto 42px auto;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
  color: var(--chapter-accent);
}

.section-marker-index {
  min-width: 38px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border: 1px solid rgba(var(--chapter-rgb), 0.14);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(var(--chapter-rgb), 0.075);
}

.section-marker i {
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--chapter-rgb), 0.42), rgba(var(--chapter-rgb), 0.08));
}

.section-marker strong {
  overflow: hidden;
  color: var(--chapter-accent);
  font-size: 12px;
  font-weight: 790;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-marker-sub {
  opacity: 0.86;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 24px;
  font-size: 66px;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-title-animated {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.22em;
  row-gap: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

.hero-title-animated.is-resetting {
  opacity: 0.38;
  transform: translateY(2px);
}

.hero-word {
  position: relative;
  display: inline-grid;
  align-items: baseline;
}

.hero-word-text,
.hero-word-reserve {
  grid-area: 1 / 1;
}

.hero-word-reserve {
  visibility: hidden;
}

.hero-word-text {
  display: inline-block;
  color: #58708d;
  transition: color 150ms ease, filter 150ms ease, transform 150ms ease;
}

.hero-word.is-flipping .hero-word-text {
  color: #1677ed;
  filter: blur(2px);
  transform: translateY(-2px);
}

.hero-word.is-fixed .hero-word-text {
  color: var(--text);
}

.layout-heading-word {
  position: relative;
  display: inline-grid;
  align-items: baseline;
}

.layout-heading-word-text,
.layout-heading-word-reserve {
  grid-area: 1 / 1;
}

.layout-heading-word-reserve {
  visibility: hidden;
}

.layout-heading-word-text {
  display: inline-block;
  color: #657a94;
  transition: color 260ms ease, filter 260ms ease, transform 260ms ease;
}

.layout-heading-word.is-flipping .layout-heading-word-text {
  color: #1677ed;
  filter: blur(2px);
  transform: translateY(-2px);
}

.layout-heading-word.is-fixed .layout-heading-word-text {
  color: inherit;
}

[data-layout-title],
[data-layout-heading] {
  position: relative;
  z-index: 0;
  isolation: isolate;
}

[data-layout-title]::before,
[data-layout-heading]::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -14px -18px;
  border: 1px solid rgba(22, 119, 237, 0.26);
  border-radius: 24px;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 24%, rgba(64, 151, 255, 0.16), transparent 46%),
    linear-gradient(135deg, rgba(232, 244, 255, 0.82), rgba(246, 251, 255, 0.48));
  box-shadow:
    0 16px 42px rgba(31, 111, 210, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: scale(0.985);
  transition:
    opacity 260ms ease,
    transform 360ms cubic-bezier(0.2, 0.72, 0.25, 1),
    box-shadow 360ms ease;
}

[data-layout-title].is-attention-cued::before,
[data-layout-heading].is-attention-cued::before {
  opacity: 1;
  transform: scale(1);
}

[data-layout-title].is-attention-cued.is-attention-leaving::before,
[data-layout-heading].is-attention-cued.is-attention-leaving::before {
  opacity: 0;
  box-shadow:
    0 8px 24px rgba(31, 111, 210, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transform: scale(1.008);
}

.hero-word::after,
.layout-heading-word::after {
  content: "🪄";
  position: absolute;
  z-index: 3;
  left: 50%;
  top: -0.72em;
  opacity: 0;
  pointer-events: none;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
  font-size: 0.68em;
  line-height: 1;
  filter: drop-shadow(0 4px 7px rgba(46, 112, 210, 0.24));
  transform: translate3d(-115%, 5px, 0) rotate(-24deg) scale(0.74);
}

.hero-word.is-wand-active::after,
.layout-heading-word.is-wand-active::after {
  animation: reverse-wand-sweep 538ms cubic-bezier(0.2, 0.72, 0.25, 1) both;
}

@keyframes reverse-wand-sweep {
  0% {
    opacity: 0;
    transform: translate3d(-115%, 5px, 0) rotate(-24deg) scale(0.74);
  }
  24% {
    opacity: 1;
  }
  62% {
    opacity: 1;
    transform: translate3d(-35%, -4px, 0) rotate(8deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate3d(30%, -7px, 0) rotate(22deg) scale(0.86);
  }
}

@keyframes reverse-soft-vibration {
  0%, 100% { transform: translate3d(0, 0, 0); }
  16% { transform: translate3d(-0.7px, 0, 0); }
  32% { transform: translate3d(0.9px, 0, 0); }
  48% { transform: translate3d(-0.6px, 0, 0); }
  64% { transform: translate3d(0.4px, 0, 0); }
  80% { transform: translate3d(-0.2px, 0, 0); }
}

[data-layout-title].is-soft-vibrating,
[data-layout-heading].is-soft-vibrating,
.official-domain.is-soft-vibrating {
  animation: reverse-soft-vibration 620ms cubic-bezier(0.22, 0.7, 0.28, 1);
  transform-origin: center;
  will-change: transform;
}

h2 {
  margin-bottom: 18px;
  font-size: 52px;
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 27px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-text,
.section-heading p,
.language-copy p,
.pricing-card p,
.platform-copy p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.hero-text {
  max-width: 680px;
}

.hero-mission {
  text-wrap: pretty;
}

.hero-mission strong {
  color: var(--text);
  font-weight: 820;
}

.hero-mission a {
  color: #1269c7;
  text-decoration: underline;
  text-decoration-color: rgba(18, 105, 199, 0.28);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.hero-mission a:hover {
  text-decoration-color: currentColor;
}

.hero-mission-promise {
  display: block;
  margin-top: 10px;
  color: #284665;
  font-weight: 740;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
}

.smart-download-note {
  min-height: 22px;
  margin: -18px 0 22px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.license-downloads {
  display: grid;
  width: 100%;
  gap: 10px;
  max-width: none;
  margin-bottom: 22px;
}

.license-download {
  width: 100%;
  min-height: 68px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(25, 48, 78, 0.1);
  border-radius: 18px;
  color: var(--text);
  text-align: start;
  font: inherit;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 28px rgba(38, 70, 108, 0.07), inset 0 1px 0 white;
}

.license-download.is-available,
.license-download.is-ready {
  position: relative;
  overflow: hidden;
  border-color: rgba(22, 119, 255, 0.2);
  background: linear-gradient(135deg, rgba(235, 246, 255, 0.96), rgba(255, 255, 255, 0.9));
}

.license-download.is-available:hover,
.license-download.is-ready:hover {
  border-color: rgba(22, 119, 255, 0.34);
  box-shadow: 0 16px 34px rgba(22, 119, 255, 0.12), inset 0 1px 0 white;
}

.license-download.is-upcoming {
  color: #64748b;
  cursor: default;
  opacity: 0.8;
}

.license-download strong,
.license-download small {
  display: block;
}

.license-download strong {
  margin-bottom: 4px;
  font-size: 15px;
}

.license-download small {
  color: #718096;
  font-size: 12px;
}

.download-state {
  min-width: 68px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border-radius: 999px;
  color: #0b63ce;
  font-size: 11px;
  font-weight: 800;
  background: rgba(22, 119, 255, 0.1);
}

.is-upcoming .download-state {
  color: #657287;
  background: #edf1f6;
}

.platform-symbol {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 11px;
  color: #176fd8;
  font-size: 19px;
  font-weight: 800;
  background: rgba(22, 119, 255, 0.09);
}

.download-product-symbol {
  width: 42px;
  height: 42px;
  padding: 2px;
  overflow: hidden;
  border: 1px solid rgba(55, 125, 213, 0.16);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 7px 18px rgba(32, 92, 163, 0.12), inset 0 1px 0 white;
}

.download-product-symbol img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.windows-symbol {
  grid-template-columns: repeat(2, 7px);
  grid-template-rows: repeat(2, 7px);
  gap: 2px;
}

.windows-symbol i {
  width: 7px;
  height: 7px;
  display: block;
  background: currentColor;
}

.linux-symbol {
  font-family: Consolas, "Cascadia Mono", monospace;
  font-size: 14px;
  letter-spacing: 0;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: none;
  margin-top: 0;
}

.hero-metrics div {
  min-height: 118px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(26, 43, 69, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  margin-bottom: 6px;
  font-size: 18px;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
}

.device-card {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  padding: 22px;
  border: 2px solid transparent;
  border-radius: 46px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(226, 239, 255, 0.8)) padding-box,
    linear-gradient(145deg, rgba(149, 202, 255, 0.78), rgba(255, 255, 255, 0.94) 46%, rgba(59, 136, 224, 0.58)) border-box;
  box-shadow:
    0 42px 120px rgba(32, 83, 145, 0.22),
    0 0 0 6px rgba(119, 180, 241, 0.08),
    inset 0 1px 0 white,
    inset 0 -28px 70px rgba(54, 127, 207, 0.06);
}

.literary-scene {
  filter: blur(0) saturate(1);
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    filter 900ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: filter, opacity, transform;
}

.literary-scene.is-initial-blur {
  filter: blur(7px) saturate(0.84);
  opacity: 0.68;
  transform: translateY(4px) scale(0.992);
}

.hero-visual .literary-scene.is-switching-out {
  filter: blur(3.5px) saturate(0.86);
  opacity: 0.7;
  transform: translateY(3px) scale(0.994);
  transition-duration: 460ms;
}

.hero-visual .literary-scene.is-switching-out .literary-author,
.hero-visual .literary-scene.is-switching-out .hero-quote-demo {
  opacity: 0.44;
  filter: blur(1.5px);
  transform: translateY(2px);
  transition: opacity 360ms ease, filter 360ms ease, transform 360ms ease;
}

.hero-visual .literary-scene.is-switching-out .product-orbit img {
  opacity: 0.56;
  filter: saturate(0.72) contrast(1) brightness(1.05) blur(3px);
  transition-duration: 420ms;
}

.hero-visual .literary-scene.is-switching-in {
  animation: literary-scene-reveal 920ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-visual .literary-scene.is-switching-in .literary-author {
  animation: literary-author-reveal 520ms 70ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-visual .literary-scene.is-switching-in .product-orbit img {
  animation: literary-portrait-reveal 720ms 130ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-visual .literary-scene.is-switching-in .hero-quote-demo {
  animation: literary-quote-reveal 500ms 300ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-visual .literary-scene {
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: start;
  row-gap: 16px;
  height: auto;
  padding-bottom: 30px;
}

.hero-visual .literary-author {
  margin-block: 8px 0;
}

.hero-visual .product-orbit,
.hero-visual .hero-quote-demo {
  margin-block: 0;
}

.device-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(55, 126, 205, 0.24);
  border-radius: 36px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.68), 0 0 34px rgba(57, 137, 224, 0.08);
  pointer-events: none;
}

.literary-author {
  position: relative;
  width: min(94%, 480px);
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto 0;
  padding: 10px 20px;
  color: #213a5d;
  text-align: center;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 180ms ease, transform 180ms ease;
  cursor: text;
  user-select: text;
}

.literary-author::after {
  content: "";
  position: absolute;
  inset-inline-start: 50%;
  bottom: 7px;
  width: 34px;
  height: 2px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(22, 119, 255, 0.18), rgba(22, 119, 255, 0.76), rgba(22, 119, 255, 0.18));
}

.literary-author strong {
  font-size: 27px;
  font-weight: 760;
  line-height: 1.25;
  letter-spacing: 0;
}

.literary-author.is-compact strong {
  font-size: 24px;
}

.literary-author.is-dense strong {
  font-size: 21px;
  line-height: 1.3;
}

.literary-author.is-changing {
  opacity: 0.58;
  transform: translateY(-2px);
}

.product-orbit {
  position: relative;
  isolation: isolate;
  width: min(92%, 463px);
  margin: 14px auto 20px;
  padding: 0;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(91, 158, 230, 0.42);
  background: rgba(239, 247, 255, 0.66);
  box-shadow: 0 30px 90px rgba(29, 98, 184, 0.22), inset 0 1px 0 white;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 360ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-orbit::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  border: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), inset 0 -22px 38px rgba(43, 116, 194, 0.08);
}

.product-orbit::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(222, 239, 255, 0.03) 54%, rgba(77, 143, 210, 0.16));
}

.product-orbit img {
  position: relative;
  z-index: 0;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 33px;
  filter: saturate(0.9) contrast(1.04) brightness(1.02);
  scale: var(--portrait-flip, 1) 1;
  transform: scale(var(--portrait-zoom, 1));
  transform-origin: center;
  transition: filter 1s ease, opacity 1s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-orbit[data-portrait-treatment="archive"] img {
  filter: grayscale(1) sepia(0.08) hue-rotate(168deg) saturate(0.76) contrast(1.08) brightness(1.04);
}

.product-orbit img[src*="uk-shevchenko-late-1858"] {
  filter: grayscale(1) sepia(0.08) hue-rotate(174deg) saturate(0.76) contrast(1.08) brightness(1.04);
}

.product-orbit[data-portrait-state="placeholder"] img {
  filter: none;
}

.product-orbit[data-portrait-state="placeholder"]::before,
.product-orbit[data-portrait-state="placeholder"]::after {
  display: none;
}

.product-orbit.is-changing {
  opacity: 0;
  transform: translateY(8px) scale(0.985);
}

.hero-visual .product-orbit.is-changing {
  opacity: 1;
  transform: none;
}

.hero-visual .product-orbit.is-changing img {
  opacity: 0.82;
  filter: saturate(0.82) contrast(1) brightness(1.05) blur(1.5px);
}

.product-orbit.is-entering img {
  animation: literary-portrait-reveal 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.literary-author.is-entering {
  animation: literary-author-reveal 560ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.fix-demo {
  width: min(450px, 90%);
  margin: 0 auto;
  padding: 16px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 56, 95, 0.1);
  box-shadow: 0 22px 54px rgba(33, 70, 118, 0.12), inset 0 1px 0 white;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 180ms ease, transform 180ms ease;
}

.demo-progress {
  min-height: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 4px 10px;
  color: #587594;
  font-size: 10px;
  font-weight: 760;
}

.demo-progress-dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.demo-progress-dots i {
  width: 5px;
  height: 5px;
  display: block;
  border-radius: 50%;
  background: rgba(83, 112, 147, 0.2);
  transition: width 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.demo-progress-dots i.is-complete {
  background: rgba(39, 181, 132, 0.64);
}

.demo-progress-dots i.is-active {
  width: 16px;
  border-radius: 999px;
  background: #2181ed;
  box-shadow: 0 4px 12px rgba(33, 129, 237, 0.28);
}

.fix-demo.is-changing {
  opacity: 0;
  transform: translateY(5px);
}

.hero-quote-demo.is-changing {
  opacity: 1;
  transform: none;
}

.hero-quote-demo .demo-live {
  opacity: 1;
  transform: translateY(0);
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    opacity 260ms ease,
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-quote-demo .demo-action {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 260ms ease,
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-quote-demo.is-changing .demo-live,
.hero-quote-demo.is-changing .demo-action {
  opacity: 0.72;
  transform: translateY(1px);
}

.hero-quote-demo.is-entering {
  animation: literary-quote-reveal 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.demo-line {
  --demo-flow-offset-y: 0px;
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 18px;
  font-size: 19px;
  font-weight: 720;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: center;
  background: #f5f9ff;
  border: 1px solid rgba(23, 43, 70, 0.08);
}

.demo-line.is-compact {
  font-size: 17px;
}

.demo-line.is-dense {
  font-size: 15px;
  line-height: 1.3;
}

.demo-line.right,
.demo-line.demo-live.is-fixed {
  color: #0d5ecb;
  background: linear-gradient(135deg, rgba(229, 243, 255, 0.95), rgba(249, 252, 255, 0.95));
}

.demo-live {
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 white;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.demo-live::after {
  content: "";
  position: absolute;
  inset: -36% auto -36% -34%;
  width: 30%;
  pointer-events: none;
  opacity: 0;
  transform: skewX(-16deg);
  background: linear-gradient(90deg, transparent, rgba(104, 180, 255, 0.5), transparent);
}

.hero-quote-demo .demo-live.is-reversing::after,
.exercise-demo .demo-live.is-reversing-layout-all::after {
  animation: quote-reverse-sweep 320ms ease-out both;
}

.demo-live.is-fixed {
  border-color: rgba(22, 119, 255, 0.18);
  box-shadow: 0 12px 28px rgba(22, 119, 255, 0.09), inset 0 1px 0 white;
}

.demo-flow {
  width: fit-content;
  max-width: 100%;
  display: block;
  margin-inline: auto;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
  text-align-last: center;
  justify-self: center;
  unicode-bidi: plaintext;
  transform: translateY(var(--demo-flow-offset-y)) scale(1);
  transition: transform 145ms ease;
}

.demo-text {
  min-width: 0;
  display: inline;
  opacity: 1;
  filter: blur(0);
  transition: opacity 145ms ease, filter 145ms ease;
}

.demo-target {
  display: inline-block;
  margin: 0;
  padding: 0;
  border-radius: 6px;
  color: inherit;
  background: rgba(255, 190, 70, 0.19);
  box-shadow: 0 0 0 3px rgba(255, 190, 70, 0.19), inset 0 -1px 0 rgba(213, 136, 10, 0.2);
  line-height: inherit;
}

.hero-quote-demo .demo-live.is-reversing .demo-text {
  opacity: 0.16;
  filter: blur(2px);
}

.hero-quote-demo .demo-live.is-reversing .demo-flow {
  transform: translateY(calc(var(--demo-flow-offset-y) - 2px)) scale(0.99);
}

.exercise-demo .demo-live.is-reversing .demo-text {
  opacity: 1;
  filter: none;
}

.exercise-demo .demo-live.is-reversing .demo-flow {
  transform: translateY(var(--demo-flow-offset-y)) scale(1);
}

.demo-token {
  display: inline-block;
  border-radius: 7px;
  transform-origin: center;
  will-change: transform, filter, color, background;
}

.demo-layout-token.is-layout-flipping {
  color: #0b66cf;
  background: rgba(37, 133, 240, 0.11);
  animation: exercise-layout-token-flip 180ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.demo-layout-token.is-layout-fixed {
  color: #0b66cf;
  box-shadow: 0 0 0 3px rgba(37, 133, 240, 0.07);
}

.demo-case-token.is-case-flipping {
  color: #6f4ed1;
  background: rgba(122, 85, 210, 0.11);
  animation: exercise-case-token-roll 230ms cubic-bezier(0.2, 0.78, 0.24, 1) both;
}

.demo-case-token.is-case-fixed {
  color: #6542c4;
}

.demo-target.is-layout-word-repairing {
  color: #a15b00;
  background: rgba(255, 179, 55, 0.3);
  box-shadow: 0 0 0 5px rgba(255, 179, 55, 0.14);
  animation: exercise-layout-word-repair 320ms ease-in-out both;
}

.demo-target.is-layout-word-repaired {
  color: #087b57;
  background: rgba(41, 191, 137, 0.16);
  box-shadow: 0 0 0 5px rgba(41, 191, 137, 0.09);
  animation: exercise-word-lock 480ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.demo-target.is-case-word-repairing {
  color: #6b48c7;
  background: rgba(123, 87, 209, 0.18);
  animation: exercise-case-word-hinge 260ms ease-in both;
}

.demo-target.is-case-word-repaired {
  color: #176f73;
  background: rgba(40, 173, 178, 0.14);
  animation: exercise-case-word-settle 410ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.exercise-demo[data-exercise-mode="layout-all"] .demo-line {
  border-color: rgba(34, 129, 237, 0.25);
  box-shadow: inset 0 0 0 1px rgba(34, 129, 237, 0.06), 0 12px 30px rgba(34, 129, 237, 0.08);
}

.exercise-demo[data-exercise-mode="layout-spelling-word"] .demo-line {
  border-color: rgba(230, 150, 29, 0.3);
  background: linear-gradient(145deg, rgba(255, 249, 235, 0.96), rgba(248, 251, 255, 0.96));
}

.exercise-demo[data-exercise-mode="case-all"] .demo-line {
  border-color: rgba(119, 83, 205, 0.28);
  background: linear-gradient(145deg, rgba(246, 241, 255, 0.96), rgba(248, 251, 255, 0.96));
}

.exercise-demo[data-exercise-mode="case-word"] .demo-line {
  border-color: rgba(36, 155, 161, 0.28);
  background: linear-gradient(145deg, rgba(238, 252, 251, 0.96), rgba(248, 251, 255, 0.96));
}

@keyframes exercise-layout-token-flip {
  0% { transform: perspective(280px) rotateX(0) translateY(0); filter: blur(0); }
  50% { transform: perspective(280px) rotateX(78deg) translateY(-3px); filter: blur(1.8px); }
  100% { transform: perspective(280px) rotateX(0) translateY(0); filter: blur(0); }
}

@keyframes exercise-case-token-roll {
  0% { opacity: 1; transform: translateY(0) scale(1); }
  45% { opacity: 0.18; transform: translateY(-0.62em) scale(0.96); }
  55% { opacity: 0.18; transform: translateY(0.62em) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes exercise-layout-word-repair {
  0%, 100% { transform: translateX(0) rotate(0); }
  25% { transform: translateX(-3px) rotate(-1.5deg); }
  50% { transform: translateX(3px) rotate(1.5deg); filter: blur(1px); }
  75% { transform: translateX(-2px) rotate(-1deg); }
}

@keyframes exercise-word-lock {
  0% { transform: scale(0.84); opacity: 0.35; }
  58% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes exercise-case-word-hinge {
  from { transform: perspective(240px) rotateY(0); opacity: 1; }
  to { transform: perspective(240px) rotateY(88deg); opacity: 0.25; }
}

@keyframes exercise-case-word-settle {
  0% { transform: perspective(240px) rotateY(-82deg); opacity: 0.3; }
  62% { transform: perspective(240px) rotateY(8deg); opacity: 1; }
  100% { transform: perspective(240px) rotateY(0); opacity: 1; }
}

@keyframes literary-portrait-reveal {
  0% {
    opacity: 0.62;
    filter: saturate(0.65) contrast(0.98) brightness(1.08) blur(4px);
    transform: scale(calc(var(--portrait-zoom, 1) + 0.018));
  }
  100% {
    opacity: 1;
    filter: saturate(0.9) contrast(1.04) brightness(1.02) blur(0);
    transform: scale(var(--portrait-zoom, 1));
  }
}

@keyframes literary-author-reveal {
  from {
    opacity: 0.58;
    transform: translateY(-2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes literary-quote-reveal {
  from {
    opacity: 0.46;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.typing-caret {
  width: 0;
  height: 1.08em;
  display: inline-block;
  margin-left: 2px;
  vertical-align: -0.14em;
  border-left: 2px solid #37658f;
  border-radius: 999px;
  background: transparent;
  animation: demo-caret 820ms steps(1, end) infinite;
}

.demo-live.is-fixed .typing-caret {
  border-left-color: #1677ed;
}

.demo-action {
  min-height: 94px;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 11px 0 7px;
}

.demo-key-trigger {
  min-width: 112px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 3px 10px 5px;
  border: 0;
  border-radius: 12px;
  color: inherit;
  background: transparent;
  cursor: pointer;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.demo-key-trigger:hover,
.demo-key-trigger:focus-visible {
  outline: none;
  background: rgba(225, 240, 255, 0.72);
  box-shadow: 0 8px 24px rgba(31, 104, 181, 0.12);
}

.demo-key-trigger:active {
  transform: translateY(1px);
}

.fix-demo.is-awaiting-command .demo-key-trigger {
  animation: demo-command-cue 1.55s ease-in-out infinite;
}

.hero-auto-key {
  cursor: default;
  pointer-events: none;
}

.hero-quote-demo .demo-action {
  position: relative;
  min-height: 124px;
  gap: 0;
  padding: 0;
}

.hero-quote-demo .demo-line {
  min-height: 152px;
  grid-template-columns: minmax(0, 1fr);
  padding-inline: 26px;
  font-size: 22px;
  line-height: 1.42;
}

.hero-quote-demo .demo-flow {
  width: 100%;
  max-width: min(100%, 39ch);
  margin-inline: auto;
  place-self: center;
  text-align: center;
  text-align-last: center;
  text-wrap: balance;
}

.hero-quote-demo .typing-caret {
  margin-right: -4px;
}

.hero-quote-demo .demo-line.is-compact {
  font-size: 20px;
  line-height: 1.42;
}

.hero-quote-demo .demo-line.is-dense {
  font-size: 18px;
  line-height: 1.45;
}

.hero-quote-demo .demo-key-trigger {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  translate: -50% -50%;
  min-width: 210px;
  min-height: 66px;
  padding: 9px 22px 11px;
  border: 1px solid rgba(32, 119, 226, 0.16);
  border-radius: 17px;
  background: linear-gradient(180deg, rgba(241, 248, 255, 0.96), rgba(225, 239, 255, 0.82));
  box-shadow: 0 13px 30px rgba(36, 111, 196, 0.14), inset 0 1px 0 white;
}

.hero-quote-demo .demo-keys {
  gap: 12px;
  font-size: 19px;
}

.hero-quote-demo .demo-keys kbd {
  min-width: 56px;
  height: 46px;
  padding-inline: 15px;
  border-radius: 11px;
  font-size: 19px;
  box-shadow: 0 4px 0 rgba(34, 78, 128, 0.1), 0 9px 18px rgba(36, 111, 196, 0.1), inset 0 1px 0 white;
}

.hero-quote-demo .demo-action-label {
  position: absolute;
  inset-inline: 0;
  bottom: 9px;
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
}

.hero-quote-demo.is-command-cued .demo-key-trigger {
  animation: hero-command-cue 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes hero-command-cue {
  0% {
    box-shadow: 0 13px 30px rgba(36, 111, 196, 0.14), 0 0 0 0 rgba(33, 129, 237, 0.2), inset 0 1px 0 white;
    transform: translateY(0) scale(1);
  }
  48% {
    box-shadow: 0 17px 38px rgba(36, 111, 196, 0.22), 0 0 0 9px rgba(33, 129, 237, 0.08), inset 0 1px 0 white;
    transform: translateY(-2px) scale(1.035);
  }
  100% {
    box-shadow: 0 13px 30px rgba(36, 111, 196, 0.14), 0 0 0 0 rgba(33, 129, 237, 0), inset 0 1px 0 white;
    transform: translateY(0) scale(1);
  }
}

.interactive-exercises {
  display: block;
  padding-top: 28px;
  padding-bottom: 52px;
}

.exercise-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.exercise-heading p {
  max-width: 700px;
}

.exercise-gate {
  position: relative;
  isolation: isolate;
  max-width: 1040px;
  min-height: 500px;
  margin: 0 auto;
  border-radius: 40px;
}

.exercise-stage {
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(400px, 1.18fr);
  align-items: center;
  gap: 46px;
  padding: 28px 46px;
  overflow: hidden;
  border: 1px solid rgba(53, 95, 173, 0.16);
  border-radius: 40px;
  background:
    radial-gradient(circle at 22% 18%, rgba(112, 171, 235, 0.15), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(229, 239, 253, 0.78));
  box-shadow: 0 34px 92px rgba(37, 74, 129, 0.16), inset 0 1px 0 white;
  transition:
    opacity 850ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 850ms cubic-bezier(0.22, 1, 0.36, 1);
}

.exercise-portrait-column {
  min-width: 0;
}

.exercise-stage .literary-author {
  width: 100%;
  margin-top: 0;
}

.exercise-stage .product-orbit {
  width: min(86%, 280px);
  margin-bottom: 0;
}

.exercise-stage .fix-demo {
  width: 100%;
  max-width: 500px;
  padding: 20px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.8);
}

.exercise-stage .demo-line {
  min-height: 156px;
  line-height: 1.42;
}

.exercise-stage .demo-line.is-compact,
.exercise-stage .demo-line.is-dense {
  line-height: 1.42;
}

.exercise-stage .demo-action {
  min-height: 122px;
  gap: 9px;
  padding-top: 15px;
}

.exercise-stage .demo-key-trigger {
  min-width: 178px;
  min-height: 62px;
  padding: 9px 18px 11px;
  border: 1px solid rgba(32, 119, 226, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(245, 250, 255, 0.98), rgba(224, 239, 255, 0.9));
  box-shadow: 0 12px 28px rgba(36, 111, 196, 0.13), inset 0 1px 0 white;
}

.exercise-stage .demo-keys {
  gap: 12px;
  font-size: 18px;
}

.exercise-stage .demo-keys kbd {
  min-width: 52px;
  height: 44px;
  padding-inline: 14px;
  border-radius: 12px;
  font-size: 18px;
  box-shadow: 0 4px 0 rgba(34, 78, 128, 0.1), 0 9px 18px rgba(36, 111, 196, 0.1), inset 0 1px 0 white;
}

.exercise-stage .demo-keys kbd[data-demo-key="ctrl"] {
  min-width: 68px;
}

.exercise-stage .fix-demo.is-awaiting-command .demo-key-trigger {
  animation: exercise-command-attention 2.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.exercise-stage .fix-demo.is-awaiting-command .demo-keys kbd {
  animation: exercise-key-breathe 2.2s ease-in-out infinite;
}

.exercise-stage .fix-demo.is-awaiting-command .demo-keys kbd[data-demo-key="command"] {
  animation-delay: 120ms;
}

@keyframes exercise-stage-enter {
  0% {
    opacity: 0;
    filter: blur(9px);
    transform: translateY(18px) scale(0.976);
  }
  55% {
    opacity: 0.82;
    filter: blur(3px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

.exercise-gate.is-opening .exercise-stage {
  animation: exercise-stage-enter 1000ms cubic-bezier(0.22, 1, 0.36, 1) both;
  will-change: opacity, filter, transform;
}

.demo-input-bridge {
  position: absolute;
  width: 1px;
  height: 1px;
  inset: 50% auto auto 50%;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
  resize: none;
  overflow: hidden;
}

.exercise-stage .demo-live:focus-within {
  border-color: rgba(23, 108, 255, 0.34);
  box-shadow: 0 0 0 4px rgba(23, 108, 255, 0.08), inset 0 1px 0 white;
}

.exercise-gate:not(.is-unlocked) .exercise-stage {
  opacity: 0.72;
  transform: scale(0.992);
  pointer-events: none;
  user-select: none;
}

.exercise-gate::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  border-radius: 40px;
  background: rgba(238, 245, 255, 0.28);
  -webkit-backdrop-filter: blur(13px) saturate(0.72);
  backdrop-filter: blur(13px) saturate(0.72);
  opacity: 1;
  transition: opacity 720ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity;
}

.exercise-gate.is-unlocked::after {
  opacity: 0;
}

.exercise-launch {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 1;
  transition: opacity 420ms ease, transform 420ms ease;
}

.exercise-launch-panel {
  position: relative;
  width: min(520px, 100%);
  min-height: 154px;
  display: grid;
  place-items: center;
  justify-items: center;
  gap: 0;
  padding: 24px 30px;
  border: 1px solid rgba(47, 95, 174, 0.14);
  border-radius: 28px;
  background: rgba(250, 253, 255, 0.9);
  box-shadow: 0 26px 70px rgba(31, 69, 124, 0.19), inset 0 1px 0 white;
  backdrop-filter: blur(22px);
}

.exercise-start-button {
  width: min(390px, 100%);
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  place-self: center;
  padding: 0 26px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 16px;
  color: white;
  font: inherit;
  font-size: 15px;
  font-weight: 760;
  letter-spacing: 0;
  text-align: center;
  background: linear-gradient(135deg, #1677ee, #4199f5);
  box-shadow: 0 18px 42px rgba(22, 119, 238, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.38);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.exercise-start-button:hover,
.exercise-start-button:focus-visible {
  outline: none;
  filter: brightness(1.04);
  box-shadow: 0 22px 50px rgba(22, 119, 238, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.44);
  transform: translateY(-2px);
}

.exercise-start-button:active {
  transform: translateY(0);
}

.exercise-launch-meta {
  position: absolute;
  inset-inline: 24px;
  bottom: 16px;
  color: #6c809b;
  font-size: 12px;
  font-weight: 650;
  text-align: center;
}

.exercise-gate.is-unlocked .exercise-launch {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
}

.exercise-gate.is-complete .exercise-stage {
  border-color: rgba(31, 153, 112, 0.22);
  box-shadow: 0 34px 92px rgba(35, 116, 91, 0.14), inset 0 1px 0 white;
}

.demo-keys {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #527093;
  font-size: 13px;
  font-weight: 760;
}

.demo-keys kbd {
  min-width: 34px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border: 1px solid rgba(29, 64, 105, 0.13);
  border-bottom-color: rgba(29, 64, 105, 0.23);
  border-radius: 8px;
  color: #185fae;
  font: inherit;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 3px 0 rgba(34, 78, 128, 0.08), inset 0 1px 0 white;
  transition: transform 90ms ease, color 90ms ease, background 90ms ease, border-color 90ms ease, box-shadow 90ms ease;
}

.demo-keys kbd.is-pressed {
  color: white;
  border-color: #1979e8;
  background: linear-gradient(145deg, #2489f4, #1268d2);
  box-shadow: 0 1px 0 rgba(10, 70, 141, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transform: translateY(2px);
}

.demo-action-label {
  width: 100%;
  color: #7890ad;
  text-align: center;
  font-size: 11px;
  font-weight: 720;
}

.demo-status {
  width: 100%;
  min-height: 15px;
  color: #91a2b7;
  text-align: center;
  font-size: 9px;
  font-weight: 650;
  line-height: 1.35;
}

.exercise-stage .demo-status.is-browser-reserved {
  max-width: 410px;
  margin-inline: auto;
  padding: 7px 11px;
  border: 1px solid rgba(205, 133, 28, 0.2);
  border-radius: 8px;
  color: #8f5a0e;
  background: rgba(255, 247, 225, 0.82);
  font-size: 11px;
  line-height: 1.42;
}

.exercise-stage .demo-key-trigger.is-browser-reserved {
  border-color: rgba(218, 145, 31, 0.32);
  background: linear-gradient(180deg, #fffdf8, #fff1d5);
  box-shadow: 0 12px 28px rgba(166, 103, 16, 0.14), inset 0 1px 0 white;
}

@keyframes demo-command-cue {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(31, 126, 237, 0);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(31, 126, 237, 0.08), 0 10px 28px rgba(31, 104, 181, 0.14);
  }
}

@keyframes exercise-command-attention {
  0%, 100% {
    border-color: rgba(32, 119, 226, 0.18);
    box-shadow: 0 12px 28px rgba(36, 111, 196, 0.13), 0 0 0 0 rgba(31, 126, 237, 0), inset 0 1px 0 white;
    transform: translateY(0) scale(1);
  }
  48% {
    border-color: rgba(32, 119, 226, 0.34);
    box-shadow: 0 17px 34px rgba(36, 111, 196, 0.2), 0 0 0 9px rgba(31, 126, 237, 0.08), inset 0 1px 0 white;
    transform: translateY(-2px) scale(1.025);
  }
}

@keyframes exercise-key-breathe {
  0%, 100% {
    color: #185fae;
    border-color: rgba(29, 64, 105, 0.13);
    background: rgba(255, 255, 255, 0.92);
    transform: translateY(0);
  }
  48% {
    color: #0c66c7;
    border-color: rgba(25, 121, 232, 0.32);
    background: #fff;
    box-shadow: 0 5px 0 rgba(34, 78, 128, 0.1), 0 12px 24px rgba(31, 126, 237, 0.18), inset 0 1px 0 white;
    transform: translateY(-2px);
  }
}

@keyframes demo-caret {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

@keyframes quote-reverse-sweep {
  0% {
    left: -34%;
    opacity: 0;
  }
  24% {
    opacity: 0.78;
  }
  100% {
    left: 112%;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .exercise-stage .fix-demo.is-awaiting-command .demo-key-trigger,
  .exercise-stage .fix-demo.is-awaiting-command .demo-keys kbd {
    animation: none;
  }

  .typing-caret {
    animation: none;
  }

  .demo-live,
  .demo-keys kbd,
  .hero-title-animated,
  .hero-word-text,
  .layout-heading-word-text,
  .platform-tab,
  .tab-icon {
    transition: none;
  }

  .benefit-grid article,
  .benefit-icon {
    animation: none;
  }

  [data-layout-title].is-soft-vibrating,
  [data-layout-heading].is-soft-vibrating,
  .official-domain.is-soft-vibrating {
    animation: none;
  }

  [data-layout-title]::before,
  [data-layout-heading]::before {
    display: none;
  }

  .hero-word::after,
  .layout-heading-word::after {
    display: none;
  }
}

@keyframes literary-scene-reveal {
  from {
    filter: blur(3.5px) saturate(0.86);
    opacity: 0.7;
    transform: translateY(3px) scale(0.994);
  }
  to {
    filter: blur(0) saturate(1);
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.demo-keys [hidden] {
  display: none;
}

.floating-note {
  position: relative;
  isolation: isolate;
  width: 100%;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  min-height: 152px;
  padding: 30px 34px;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 32px;
  color: #263650;
  font-size: 14px;
  font-weight: 700;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(231, 241, 252, 0.78)) padding-box,
    linear-gradient(145deg, rgba(104, 174, 244, 0.58), rgba(255, 255, 255, 0.9) 48%, rgba(54, 127, 207, 0.42)) border-box;
  box-shadow: 0 20px 54px rgba(20, 53, 90, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.floating-note::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(55, 126, 205, 0.2);
  border-radius: 22px;
  background: rgba(248, 252, 255, 0.34);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.58);
  pointer-events: none;
}

.floating-note strong,
.floating-note small {
  display: block;
}

.floating-note strong {
  margin-bottom: 6px;
  font-size: 16px;
  line-height: 1.2;
}

.floating-note small {
  color: #6c7a8e;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.status-dot {
  width: 12px;
  height: 12px;
  justify-self: center;
  border-radius: 50%;
  background: #13c27f;
  box-shadow: 0 0 0 7px rgba(19, 194, 127, 0.12);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading.compact {
  max-width: 860px;
  margin-bottom: 28px;
}

.platform-switch {
  width: max-content;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0;
  margin-bottom: 22px;
  background: transparent;
}

.platform-tab {
  min-width: 154px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(25, 48, 78, 0.1);
  border-radius: 17px;
  color: #506078;
  font: inherit;
  font-weight: 760;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 26px rgba(37, 67, 103, 0.07), inset 0 1px 0 white;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.platform-tab:hover {
  border-color: rgba(22, 119, 255, 0.2);
  box-shadow: 0 15px 32px rgba(34, 75, 122, 0.12), inset 0 1px 0 white;
  transform: translateY(-2px);
}

.platform-tab.is-active {
  color: #0e2038;
  background: white;
  border-color: rgba(22, 119, 255, 0.2);
  box-shadow: 0 14px 32px rgba(22, 119, 255, 0.13), inset 0 1px 0 white;
}

.tab-icon {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  margin: 0;
  border-radius: 8px;
  color: #55708f;
  background: rgba(99, 128, 163, 0.08);
  transition: color 160ms ease, background 160ms ease, transform 180ms ease;
}

.platform-tab:hover .tab-icon {
  transform: scale(1.08) rotate(-3deg);
}

.tab-icon.windows-symbol {
  grid-template-columns: repeat(2, 5px);
  grid-template-rows: repeat(2, 5px);
  gap: 2px;
}

.tab-icon.windows-symbol i {
  width: 5px;
  height: 5px;
}

.platform-tab.is-active .tab-icon {
  color: #116cd8;
  background: rgba(22, 119, 255, 0.1);
}

.platform-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 34px;
  min-height: 500px;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-card), inset 0 1px 0 white;
}

.platform-panel > * {
  min-width: 0;
}

.platform-panel[hidden] {
  display: none;
}

.platform-copy {
  padding: 28px 12px 28px 24px;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  margin-bottom: 22px;
  border-radius: 999px;
  color: #0d60c9;
  font-size: 13px;
  font-weight: 780;
  background: rgba(219, 238, 255, 0.82);
  border: 1px solid rgba(22, 119, 255, 0.14);
}

.platform-badge.is-ready {
  color: #087d58;
  background: rgba(21, 181, 124, 0.1);
  border-color: rgba(21, 181, 124, 0.16);
}

.platform-badge.is-upcoming {
  color: #5f6e83;
  background: #eef2f7;
  border-color: rgba(48, 67, 91, 0.08);
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: #344258;
  font-size: 16px;
  line-height: 1.48;
}

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.feature-list li span {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, white 0 26%, transparent 28%),
    linear-gradient(135deg, #1677ff, #84c4ff);
  box-shadow: 0 8px 18px rgba(22, 119, 255, 0.22);
}

.platform-download-button {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  margin-top: 28px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: white;
  text-align: center;
  font: inherit;
  font-size: 14px;
  font-weight: 780;
  line-height: 1.3;
  background: linear-gradient(135deg, #1478ff, #4c9fff);
  box-shadow: 0 16px 32px rgba(22, 119, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.platform-download-button.is-disabled {
  color: #66758a;
  border-color: rgba(32, 54, 81, 0.08);
  background: #edf2f7;
  box-shadow: inset 0 1px 0 white;
  cursor: default;
}

.os-card {
  position: relative;
  overflow: hidden;
  min-height: 442px;
  padding: 22px;
  border-radius: 30px;
  background: linear-gradient(155deg, #0c1627, #1b2f4d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 26px 60px rgba(20, 39, 64, 0.18);
}

.os-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(115, 181, 255, 0.14), transparent 42%);
  pointer-events: none;
}

.os-topline {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.os-preview {
  position: relative;
  z-index: 1;
  margin-top: 58px;
}

.taskbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.utility-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 16px;
  border-radius: 22px;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.utility-brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.utility-brand img {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(4, 17, 34, 0.25);
}

.utility-brand strong,
.utility-brand span {
  display: block;
}

.utility-brand strong {
  margin-bottom: 4px;
  font-size: 16px;
}

.utility-brand span {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.utility-status {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 0 11px;
  border-radius: 999px;
  color: #a9f1d3;
  font-size: 11px;
  font-weight: 780;
  background: rgba(41, 201, 139, 0.1);
  border: 1px solid rgba(82, 224, 169, 0.14);
}

.utility-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38d89a;
  box-shadow: 0 0 0 4px rgba(56, 216, 154, 0.1);
}

.win-logo {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  color: white;
  background: #1677ff;
}

.win-logo.windows-symbol {
  grid-template-columns: repeat(2, 7px);
  grid-template-rows: repeat(2, 7px);
  gap: 2px;
}

.win-logo.windows-symbol i {
  width: 7px;
  height: 7px;
  background: white;
}

.pill {
  width: 56px;
  height: 42px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.18);
}

.pill.active {
  width: auto;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  color: white;
  font-weight: 760;
  background: rgba(255, 255, 255, 0.24);
}

.mini-settings {
  margin-top: 14px;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px;
  border-radius: 18px;
  color: white;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-settings span {
  flex: 0 0 88px;
  color: #a9ccff;
  font-weight: 780;
}

.hotkey-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.hotkey-copy strong,
.hotkey-copy small {
  display: block;
}

.hotkey-copy strong {
  margin-bottom: 5px;
  font-size: 15px;
}

.hotkey-copy small {
  color: rgba(255, 255, 255, 0.54);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
}

.menu-bar {
  min-height: 50px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.menu-bar span {
  min-width: 0;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 7px;
  border-radius: 13px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-bar span:first-child {
  color: white;
  font-weight: 780;
  background: rgba(255, 255, 255, 0.09);
}

.mac-window {
  width: min(330px, 100%);
  min-height: 190px;
  margin: 34px auto 0;
  padding: 26px;
  border-radius: 26px;
  color: white;
  text-align: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.traffic {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
}

.traffic i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff6b6b;
}

.traffic i:nth-child(2) {
  background: #ffc857;
}

.traffic i:nth-child(3) {
  background: #57d987;
}

.mac-window strong {
  font-size: 34px;
  letter-spacing: 0;
}

.mac-window p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.official-download-warning {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 22px;
  align-items: flex-start;
  margin: 0 0 22px;
  padding: 26px;
  border-radius: 30px;
  color: #172235;
  background:
    linear-gradient(118deg, rgba(235, 253, 245, 0.98), rgba(222, 248, 237, 0.95) 54%, rgba(218, 244, 231, 0.92));
  border: 1px solid rgba(24, 139, 101, 0.24);
  box-shadow: 0 24px 64px rgba(19, 105, 78, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.official-download-warning::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, #63d6aa, #1ca678 58%, #107453);
}

.warning-mark {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: #0d5d43;
  background: linear-gradient(145deg, #bcf4db, #62d5aa 62%, #28aa7b);
  box-shadow: 0 16px 34px rgba(19, 128, 92, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.warning-mark svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.warning-kicker {
  display: block;
  margin-bottom: 9px;
  color: #0f7656;
  font-size: 13px;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.official-download-warning h3 {
  margin-bottom: 10px;
  font-size: 36px;
}

.official-download-warning p {
  max-width: 940px;
  margin: 0 0 20px;
  color: #365e51;
  font-size: 17px;
  line-height: 1.58;
}

.official-download-warning .security-promise {
  max-width: 940px;
  margin: -3px 0 18px;
  padding: 12px 16px;
  border: 1px solid rgba(24, 139, 101, 0.16);
  border-radius: 14px;
  color: #126a4e;
  font-size: 18px;
  font-weight: 790;
  line-height: 1.42;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: inset 3px 0 0 rgba(27, 157, 113, 0.6);
}

.official-source {
  width: min(100%, 940px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px 14px 18px;
  border: 1px solid rgba(24, 139, 101, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 10px 28px rgba(18, 108, 78, 0.08);
}

.official-source-copy {
  min-width: 0;
}

.official-source .official-source-label {
  display: block;
  margin: 0 0 3px;
  color: #126d50;
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.official-source small {
  display: block;
  color: #517166;
  font-size: 13px;
  line-height: 1.35;
}

.official-domain {
  flex: 0 0 auto;
  min-width: 15ch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 10px 15px;
  border: 1px solid rgba(24, 139, 101, 0.2);
  border-radius: 13px;
  color: #126e51;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 18px;
  font-weight: 760;
  letter-spacing: 0;
  background: linear-gradient(145deg, rgba(247, 255, 251, 0.98), rgba(225, 248, 238, 0.97));
  box-shadow: inset 0 1px 0 white, 0 8px 20px rgba(18, 111, 80, 0.1);
  transition: color 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.domain-character {
  display: inline-grid;
}

.domain-character-glyph,
.domain-character-reserve {
  grid-area: 1 / 1;
}

.domain-character-reserve {
  visibility: hidden;
}

.domain-character-glyph {
  display: inline-block;
  transition: color 120ms ease, filter 120ms ease, transform 120ms ease;
}

.domain-character.is-flipping .domain-character-glyph {
  color: #4bbd88;
  filter: blur(1.5px);
  transform: translateY(-2px) scale(1.08);
}

.domain-character.is-fixed .domain-character-glyph {
  color: #0f7a58;
}

.official-domain.is-fixed {
  color: #0f7a58;
  border-color: rgba(24, 139, 101, 0.24);
  box-shadow: inset 0 1px 0 white, 0 10px 25px rgba(20, 130, 94, 0.14);
}

.benefit-grid article {
  --benefit-accent: #2f83e9;
  --benefit-rgb: 47, 131, 233;
  --benefit-order: 0;
  position: relative;
  overflow: hidden;
  min-height: 254px;
  padding: 22px 22px 24px;
  border-radius: 30px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.9), rgba(var(--benefit-rgb), 0.055));
  border: 1px solid rgba(var(--benefit-rgb), 0.16);
  box-shadow: var(--shadow-card), inset 0 1px 0 white;
  transition:
    filter 900ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.benefit-grid[data-benefit-sequence]:not(.is-sequence-complete) article:not(.is-benefit-revealed) {
  filter: blur(10px) saturate(0.72);
  opacity: 0.46;
  transform: translateY(8px) scale(0.985);
  user-select: none;
}

.benefit-grid[data-benefit-sequence] article.is-benefit-revealed {
  filter: blur(0) saturate(1);
  opacity: 1;
  transform: translateY(0) scale(1);
}

.benefit-grid[data-benefit-sequence].is-sequence-skipped article {
  transition: none;
}

.benefit-grid article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--benefit-accent);
  opacity: 0.7;
}

.benefit-grid article:hover {
  animation: none;
  border-color: rgba(var(--benefit-rgb), 0.3);
  box-shadow: 0 24px 62px rgba(var(--benefit-rgb), 0.16), inset 0 1px 0 white;
  transform: translateY(-6px);
}

.benefit-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.benefit-number {
  display: block;
  margin: 0;
  color: var(--benefit-accent);
  font-weight: 780;
  letter-spacing: 0.08em;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--benefit-accent);
  background: rgba(var(--benefit-rgb), 0.1);
  border: 1px solid rgba(var(--benefit-rgb), 0.14);
  box-shadow: 0 12px 26px rgba(var(--benefit-rgb), 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
  font-size: 23px;
  line-height: 1;
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-grid article:hover .benefit-icon {
  animation: none;
  background: rgba(var(--benefit-rgb), 0.15);
  box-shadow: 0 16px 32px rgba(var(--benefit-rgb), 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  transform: scale(1.08) rotate(3deg);
}

@keyframes benefit-wave {
  0%, 12%, 100% {
    box-shadow: var(--shadow-card), inset 0 1px 0 white;
    transform: translateY(0);
  }
  5% {
    box-shadow: 0 25px 64px rgba(var(--benefit-rgb), 0.17), inset 0 1px 0 white;
    transform: translateY(-4px);
  }
}

@keyframes benefit-icon-wave {
  0%, 12%, 100% {
    transform: scale(1) rotate(0);
  }
  5% {
    transform: scale(1.08) rotate(3deg);
  }
}

.benefit-grid h3 {
  margin-bottom: 12px;
  font-size: 25px;
  line-height: 1.14;
}

.benefit-grid p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.languages {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: center;
  gap: 38px;
  padding-bottom: 38px;
}

.language-visual {
  overflow: hidden;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(27, 43, 64, 0.09);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(22px);
}

.language-concept-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 22px;
  background:
    radial-gradient(circle at 50% 0%, rgba(74, 141, 240, 0.1), transparent 46%),
    linear-gradient(180deg, rgba(251, 253, 255, 0.96), rgba(242, 246, 252, 0.94));
}

.language-gallery-action {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
}

.language-gallery-button {
  min-width: min(100%, 360px);
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-inline: 24px;
  border-color: rgba(22, 119, 232, 0.2);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 38px rgba(28, 78, 137, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.language-gallery-button span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.language-gallery-button:hover {
  border-color: rgba(22, 119, 232, 0.38);
  box-shadow: 0 20px 44px rgba(22, 119, 232, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.language-concept {
  min-width: 0;
  min-height: 176px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 18px 12px 16px;
  text-align: center;
  color: var(--text);
  font-family: inherit;
  border: 1px solid rgba(var(--language-rgb), 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 4%, rgba(var(--language-rgb), 0.09), transparent 48%),
    rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 1px 0 white, 0 14px 30px rgba(31, 54, 84, 0.075);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.language-concept:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--language-rgb), 0.28);
  box-shadow: inset 0 1px 0 white, 0 18px 34px rgba(var(--language-rgb), 0.13);
}

.language-concept.is-active {
  border-color: rgba(var(--language-rgb), 0.42);
  background:
    radial-gradient(circle at 50% 4%, rgba(var(--language-rgb), 0.16), transparent 52%),
    rgba(255, 255, 255, 0.96);
  box-shadow:
    inset 0 1px 0 white,
    0 18px 38px rgba(var(--language-rgb), 0.15),
    0 0 0 3px rgba(var(--language-rgb), 0.08);
}

.language-concept:focus-visible {
  outline: 3px solid rgba(var(--language-rgb), 0.2);
  outline-offset: 3px;
}

.language-keys {
  position: relative;
  width: 126px;
  height: 84px;
  display: block;
  margin-bottom: 5px;
}

.language-key {
  position: absolute;
  display: grid;
  place-items: center;
  color: var(--language-accent);
  line-height: 1;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(var(--language-rgb), 0.055));
  border: 1px solid rgba(var(--language-rgb), 0.16);
  box-shadow:
    0 8px 0 rgba(var(--language-rgb), 0.08),
    0 15px 26px rgba(var(--language-rgb), 0.13),
    inset 0 1px 0 white;
}

.language-key-native {
  left: 9px;
  top: 2px;
  width: 66px;
  height: 62px;
  border-radius: 18px;
  font-size: 30px;
  font-weight: 760;
}

.language-key-en {
  right: 7px;
  bottom: 5px;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  font-size: 19px;
  font-weight: 720;
}

.language-arrow {
  position: absolute;
  left: 68px;
  top: 6px;
  z-index: 2;
  color: var(--language-accent);
  font-size: 29px;
  line-height: 1;
  transform: rotate(7deg);
}

.language-concept strong {
  max-width: 100%;
  color: var(--text);
  font-size: 16px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.language-concept > span:last-child {
  color: var(--muted);
  font-size: 13px;
}

html[data-audience="ru"] [data-concept-locale="ru"],
html[data-audience="uk"] [data-concept-locale="uk"],
html[data-audience="be"] [data-concept-locale="be"],
html[data-audience="bg"] [data-concept-locale="bg"],
html[data-audience="el"] [data-concept-locale="el"],
html[data-audience="he"] [data-concept-locale="he"],
html[data-audience="hy"] [data-concept-locale="hy"],
html[data-audience="ka"] [data-concept-locale="ka"],
html[data-audience="sr"] [data-concept-locale="sr"],
html[data-audience="mk"] [data-concept-locale="mk"],
html[data-audience="kk"] [data-concept-locale="kk"],
html[data-audience="ky"] [data-concept-locale="ky"] {
  border-color: rgba(var(--language-rgb), 0.42);
  background:
    radial-gradient(circle at 50% 4%, rgba(var(--language-rgb), 0.16), transparent 50%),
    rgba(247, 251, 255, 0.98);
  box-shadow: inset 0 1px 0 white, 0 18px 38px rgba(var(--language-rgb), 0.17);
}

.audiences {
  padding-top: 34px;
}

.audience-console {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 22px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-card), inset 0 1px 0 white;
}

.audience-main {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  border-radius: 30px;
  background:
    linear-gradient(225deg, rgba(22, 119, 255, 0.1), transparent 40%),
    linear-gradient(145deg, rgba(246, 250, 255, 0.96), rgba(255, 255, 255, 0.86));
  border: 1px solid rgba(28, 48, 74, 0.08);
  box-shadow: inset 0 1px 0 white;
}

.audience-main h3 {
  margin-bottom: 14px;
  font-size: 44px;
  letter-spacing: 0;
}

.language-pair {
  direction: ltr;
  display: inline-flex;
  align-items: baseline;
  gap: 0.38em;
  white-space: nowrap;
}

.language-pair bdi {
  unicode-bidi: isolate;
}

.audience-main p {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.language-status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  color: #37516f;
  font-size: 13px;
}

.language-status.is-upcoming .status-dot {
  background: #9aa7b8;
  box-shadow: 0 0 0 5px rgba(119, 136, 158, 0.12);
}

.audience-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: center;
}

.audience-chip {
  min-height: 52px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(26, 45, 72, 0.1);
  border-radius: 17px;
  color: #40506a;
  font: inherit;
  font-size: 15px;
  font-weight: 760;
  text-align: left;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.audience-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(22, 119, 255, 0.22);
  box-shadow: 0 14px 30px rgba(39, 74, 118, 0.11), inset 0 1px 0 white;
}

.audience-chip.is-active {
  color: #0b5fc8;
  border-color: rgba(22, 119, 255, 0.24);
  background: linear-gradient(145deg, rgba(232, 244, 255, 0.95), rgba(255, 255, 255, 0.9));
  box-shadow: 0 16px 38px rgba(22, 119, 255, 0.13), inset 0 1px 0 white;
}

.language-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.language-benefits article {
  min-height: 134px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 1px 0 white;
}

.language-benefits strong,
.language-benefits span {
  display: block;
}

.language-benefits strong {
  margin-bottom: 10px;
  font-size: 17px;
  letter-spacing: 0;
}

.language-benefits span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.48;
}

.organizations {
  position: relative;
}

.organizations-heading {
  max-width: 840px;
}

.organizations-heading > p {
  max-width: 760px;
}

.organization-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.organization-card {
  --organization-accent: #2f83e9;
  --organization-rgb: 47, 131, 233;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(var(--organization-rgb), 0.16);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(var(--organization-rgb), 0.075), transparent 42%),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 56px rgba(35, 67, 104, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.94);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.organization-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--organization-rgb), 0.3);
  box-shadow: 0 28px 64px rgba(35, 67, 104, 0.14), inset 0 1px 0 white;
}

.organization-card-education {
  --organization-accent: #2b73ca;
  --organization-rgb: 43, 115, 202;
}

.organization-card-government {
  --organization-accent: #6f57b6;
  --organization-rgb: 111, 87, 182;
}

.organization-card-business {
  --organization-accent: #16866a;
  --organization-rgb: 22, 134, 106;
}

.organization-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 36px;
}

.organization-index {
  color: var(--organization-accent);
  font-size: 13px;
  font-weight: 820;
  font-variant-numeric: tabular-nums;
}

.organization-type {
  color: var(--organization-accent);
  font-size: 12px;
  font-weight: 780;
  text-align: right;
}

.organization-card h3 {
  margin-bottom: 13px;
  font-size: 25px;
  line-height: 1.16;
}

.organization-card > p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.organization-card ul {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.organization-card li {
  position: relative;
  padding-left: 20px;
  color: #465873;
  font-size: 14px;
  line-height: 1.45;
}

.organization-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--organization-accent);
  box-shadow: 0 0 0 5px rgba(var(--organization-rgb), 0.1);
}

html[dir="rtl"] .organization-card li {
  padding-right: 20px;
  padding-left: 0;
}

html[dir="rtl"] .organization-card li::before {
  right: 0;
  left: auto;
}

.organization-card > a {
  width: max-content;
  max-width: 100%;
  min-height: 44px;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 1px solid rgba(var(--organization-rgb), 0.2);
  border-radius: 14px;
  color: var(--organization-accent);
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 780;
  transition: transform 160ms ease, color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.organization-card > a:hover {
  transform: translateY(-1px);
  color: white;
  background: var(--organization-accent);
  box-shadow: 0 14px 28px rgba(var(--organization-rgb), 0.2);
}

.organization-offer {
  margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
  align-items: center;
  gap: 40px;
  padding: 34px 38px;
  overflow: hidden;
  border: 1px solid rgba(18, 59, 86, 0.16);
  border-radius: 28px;
  color: white;
  background:
    radial-gradient(circle at 92% 8%, rgba(86, 190, 255, 0.24), transparent 32%),
    #122f45;
  box-shadow: 0 26px 64px rgba(18, 47, 69, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.organization-offer-kicker {
  display: block;
  margin-bottom: 10px;
  color: #8fd5ff;
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.organization-offer h3 {
  max-width: 720px;
  margin-bottom: 12px;
  color: white;
  font-size: 27px;
  line-height: 1.22;
}

.organization-offer p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
}

.organization-offer-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.organization-primary-action {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 15px;
  color: #12344d;
  background: white;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
  font-size: 14px;
  font-weight: 820;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.organization-primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

.organization-offer-actions small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

.pricing {
  position: relative;
}

.pricing-heading {
  max-width: 880px;
  margin-bottom: 36px;
}

.pricing-heading p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.pricing-journey {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
  align-items: center;
  column-gap: 23px;
  padding: 30px 36px;
  margin-bottom: 18px;
  border: 1px solid rgba(24, 67, 117, 0.1);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 20px 60px rgba(35, 72, 112, 0.1), inset 0 1px 0 white;
  backdrop-filter: blur(20px);
}

.journey-step {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.journey-number {
  position: relative;
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 21px;
  color: #0f68da;
  font-size: 28px;
  font-weight: 820;
  background: linear-gradient(145deg, #f8fcff, #ddecff);
  border: 1px solid rgba(22, 119, 255, 0.14);
  box-shadow: 0 14px 30px rgba(22, 119, 255, 0.12), inset 0 1px 0 white;
}

.journey-free-number {
  overflow: hidden;
  perspective: 420px;
}

.journey-flip-value {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #0f68da;
  font-size: 28px;
  font-weight: 820;
  line-height: 1;
  text-align: center;
  transform-origin: center center;
  will-change: transform, opacity;
}

.journey-free-number[data-free-state="currency"] .journey-flip-value {
  color: #426f9f;
  font-size: 31px;
}

.journey-free-number[data-free-wide="true"] .journey-flip-value {
  font-size: 21px;
}

.journey-flip-value::after {
  content: "";
  position: absolute;
  left: var(--currency-strike-left, 50%);
  top: var(--currency-strike-top, 50%);
  width: var(--currency-strike-width, 72%);
  height: 2px;
  border-radius: 999px;
  background: #e05252;
  opacity: 0;
  transform: translate(-50%, -50%) rotate(var(--currency-strike-angle, -12deg)) scaleX(0);
  transform-origin: center center;
}

.journey-free-number[data-free-currency="rub"] {
  --currency-strike-top: 51%;
  --currency-strike-width: 70%;
  --currency-strike-angle: -11deg;
}

.journey-free-number[data-free-currency="amd"] {
  --currency-strike-top: 52%;
  --currency-strike-width: 68%;
  --currency-strike-angle: -10deg;
}

.journey-free-number[data-free-currency="gel"] {
  --currency-strike-top: 51%;
  --currency-strike-width: 68%;
  --currency-strike-angle: -10deg;
}

.journey-free-number[data-free-currency="uah"] {
  --currency-strike-top: 50%;
  --currency-strike-width: 72%;
  --currency-strike-angle: -11deg;
}

.journey-free-number[data-free-currency="eur"] {
  --currency-strike-top: 51%;
  --currency-strike-width: 70%;
  --currency-strike-angle: -10deg;
}

.journey-free-number[data-free-currency="ils"] {
  --currency-strike-top: 57%;
  --currency-strike-width: 68%;
  --currency-strike-angle: -9deg;
}

.journey-free-number[data-free-currency="kzt"] {
  --currency-strike-top: 50%;
  --currency-strike-width: 70%;
  --currency-strike-angle: -11deg;
}

.journey-free-number.is-flip-out .journey-flip-value {
  animation: journey-value-flip-out 260ms cubic-bezier(0.55, 0.08, 0.82, 0.35) both;
}

.journey-free-number.is-flip-in .journey-flip-value {
  animation: journey-value-flip-in 360ms cubic-bezier(0.18, 0.72, 0.25, 1) both;
}

.journey-free-number[data-free-state="currency"].is-flip-in .journey-flip-value::after,
.journey-free-number[data-free-state="currency"]:not(.is-flip-out):not(.is-flip-in) .journey-flip-value::after {
  animation: free-currency-strike 360ms 150ms ease both;
}

.journey-free-number[data-free-state="currency"].is-flip-out .journey-flip-value::after {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(var(--currency-strike-angle, -12deg)) scaleX(1);
}

@keyframes journey-value-flip-out {
  from {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
  to {
    opacity: 0;
    transform: translateY(72%) rotateX(-68deg);
  }
}

@keyframes journey-value-flip-in {
  from {
    opacity: 0;
    transform: translateY(-72%) rotateX(68deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

@keyframes free-currency-strike {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--currency-strike-angle, -12deg)) scaleX(0);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(var(--currency-strike-angle, -12deg)) scaleX(1);
  }
}

.journey-step strong,
.journey-step small {
  display: block;
}

.journey-step strong {
  margin-bottom: 6px;
  font-size: 21px;
  letter-spacing: 0;
}

.journey-step small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.journey-arrow {
  position: relative;
  left: auto;
  top: auto;
  justify-self: center;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #6e87a5;
  font-size: 28px;
  font-weight: 460;
  line-height: 1;
  background: rgba(239, 246, 254, 0.94);
  border: 1px solid rgba(49, 93, 145, 0.12);
  box-shadow: 0 10px 24px rgba(36, 76, 123, 0.1), inset 0 1px 0 white;
  transform: none;
}

.journey-arrow::after {
  display: none;
}

.plan-label {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 790;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.plan-card {
  min-width: 0;
  min-height: 590px;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: 32px;
  border: 1px solid rgba(23, 49, 82, 0.1);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 70px rgba(29, 62, 101, 0.12), inset 0 1px 0 white;
  backdrop-filter: blur(20px);
}

.plan-card-subscription {
  border-color: rgba(22, 119, 255, 0.18);
  background:
    linear-gradient(225deg, rgba(82, 163, 255, 0.13), transparent 38%),
    rgba(255, 255, 255, 0.9);
}

.plan-card-gift {
  color: white;
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(225deg, rgba(78, 160, 255, 0.18), transparent 40%),
    linear-gradient(145deg, #111c2c, #1a3454);
  box-shadow: 0 28px 80px rgba(13, 31, 54, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.plan-topline {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 30px;
}

.plan-kicker {
  color: #0f6bdc;
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-card-gift .plan-kicker {
  color: #9fd1ff;
}

.plan-label {
  color: #0f6bdc;
  background: rgba(22, 119, 255, 0.09);
}

.plan-card h3 {
  margin-bottom: 12px;
  font-size: 31px;
}

.plan-summary {
  min-height: 72px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.plan-card-gift .plan-summary,
.plan-card-gift .plan-terms {
  color: rgba(255, 255, 255, 0.62);
}

.plan-price {
  min-height: 84px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 11px;
  margin-bottom: 16px;
}

.plan-price strong {
  font-size: 52px;
  line-height: 1;
  letter-spacing: 0;
}

.plan-price > span {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 13px;
}

.plan-card-gift .plan-price > span {
  color: rgba(255, 255, 255, 0.5);
}

.trial-label {
  width: max-content;
  max-width: 100%;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  padding: 0 13px;
  margin-bottom: 24px;
  border-radius: 999px;
  color: #0e61c9;
  background: #e8f3ff;
  font-size: 12px;
  font-weight: 780;
  text-align: center;
}

.trial-label strong {
  color: inherit;
  font: inherit;
  font-weight: 820;
}

.trial-label-neutral {
  color: #48566a;
  background: #eef2f7;
}

.trial-label-dark {
  gap: 5px;
  color: #cfe8ff;
  background: rgba(112, 181, 255, 0.12);
}

.plan-features {
  display: grid;
  gap: 13px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.plan-features li {
  position: relative;
  padding-left: 25px;
  color: #425168;
  font-size: 14px;
  line-height: 1.45;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #1677ff;
  font-weight: 850;
}

.plan-card-gift .plan-features li {
  color: rgba(255, 255, 255, 0.78);
}

.plan-card-gift .plan-features li::before {
  color: #8bc8ff;
}

.plan-button {
  width: 100%;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  margin-top: auto;
  border-radius: 16px;
  color: #164c8b;
  font-size: 14px;
  font-weight: 780;
  background: #e9f3ff;
  border: 1px solid rgba(22, 119, 255, 0.11);
  box-shadow: inset 0 1px 0 white;
  font-family: inherit;
  cursor: pointer;
}

.plan-action-stack {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.plan-action-stack .plan-button {
  margin-top: 0;
}

.plan-button-secondary {
  color: #0f5ebf;
  border-color: rgba(22, 119, 255, 0.18);
  background: rgba(235, 246, 255, 0.9);
}

.locale-flash {
  position: fixed;
  z-index: 1000;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 1) 0 12%, rgba(224, 241, 255, 0.98) 38%, rgba(255, 255, 255, 0.96) 100%);
  transition: opacity 340ms cubic-bezier(0.22, 0.72, 0.24, 1);
}

.locale-flash.is-covering {
  opacity: 1;
}

.plan-button-primary {
  position: relative;
  overflow: hidden;
  color: white;
  background: linear-gradient(135deg, #1478ff, #4c9fff);
  border-color: transparent;
  box-shadow: 0 16px 32px rgba(22, 119, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.plan-button-dark {
  color: #10233a;
  background: #f4f9ff;
  border-color: rgba(255, 255, 255, 0.5);
}

.plan-terms {
  min-height: 54px;
  margin: 14px 0 0;
  color: #7a8799;
  font-size: 11px;
  line-height: 1.45;
}

.cart-hint {
  color: #6f7d90;
}

.pricing-legal {
  max-width: 880px;
  margin: 24px auto 0;
  color: #7c899a;
  text-align: center;
  font-size: 12px;
  line-height: 1.55;
}

.cart-open {
  overflow: hidden;
}

.cart-overlay[hidden] {
  display: none;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(8, 17, 29, 0.54);
  backdrop-filter: blur(18px) saturate(0.9);
}

.checkout-cart {
  position: relative;
  width: min(570px, 100%);
  padding: 38px;
  border-radius: 32px;
  color: var(--text);
  background:
    linear-gradient(225deg, rgba(97, 170, 255, 0.12), transparent 38%),
    rgba(250, 252, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 38px 120px rgba(4, 18, 37, 0.34), inset 0 1px 0 white;
}

.cart-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(24, 48, 78, 0.1);
  border-radius: 50%;
  background: rgba(238, 243, 249, 0.9);
  cursor: pointer;
}

.cart-close-mark {
  position: relative;
  width: 16px;
  height: 16px;
  display: block;
}

.cart-close-mark::before,
.cart-close-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 1.5px;
  border-radius: 999px;
  background: #536176;
  transform-origin: center;
}

.cart-close-mark::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.cart-close-mark::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.cart-close:focus-visible {
  outline: 3px solid rgba(22, 119, 255, 0.22);
  outline-offset: 3px;
}

.checkout-cart h3 {
  max-width: calc(100% - 54px);
  margin-bottom: 10px;
  font-size: 32px;
}

.cart-description {
  max-width: 470px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.cart-price-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 15px;
  margin-bottom: 14px;
  border-radius: 24px;
  background: #edf3fa;
  border: 1px solid rgba(29, 65, 107, 0.08);
}

.cart-price-copy {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 18px;
  border-radius: 18px;
}

.cart-price-copy span,
.cart-price-copy s,
.cart-price-copy strong {
  display: block;
}

.cart-price-copy span {
  margin-bottom: 8px;
  color: #7b8798;
  font-size: 12px;
  font-weight: 720;
}

.cart-price-copy s {
  color: #7d899a;
  font-size: 25px;
  font-weight: 720;
}

.cart-price-final {
  background: white;
  box-shadow: 0 10px 28px rgba(33, 68, 108, 0.1), inset 0 1px 0 white;
}

.cart-price-final strong {
  color: #126fdc;
  font-size: 34px;
  letter-spacing: 0;
}

.cart-discount {
  position: absolute;
  top: 10px;
  right: 10px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #0f6bdc;
  background: #e3f1ff;
  border: 1px solid rgba(22, 119, 255, 0.1);
  font-size: 11px;
  font-weight: 820;
}

.cart-offer-time {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 20px 22px;
  margin-bottom: 18px;
  border-radius: 22px;
  color: white;
  background: linear-gradient(135deg, #12243c, #1e426d);
  box-shadow: 0 18px 42px rgba(16, 44, 78, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.cart-offer-time > div strong,
.cart-offer-time > div span {
  display: block;
}

.cart-offer-time > div strong {
  margin-bottom: 6px;
  font-size: 14px;
}

.cart-offer-time > div span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

.cart-timer {
  min-width: 94px;
  text-align: right;
  font-size: 27px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.cart-checkout {
  margin-top: 0;
}

.cart-footnote {
  margin: 14px 5px 0;
  color: #7a8799;
  text-align: center;
  font-size: 11px;
  line-height: 1.45;
}

.cart-overlay[data-offer-state="expired"] .cart-discount {
  color: #5f6c7e;
  background: #edf1f5;
}

.download-overlay[hidden] {
  display: none;
}

.download-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(8, 17, 29, 0.58);
  backdrop-filter: blur(18px) saturate(0.9);
}

.download-dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: min(860px, calc(100vh - 44px));
  overflow-y: auto;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 32px;
  color: var(--text);
  background:
    linear-gradient(225deg, rgba(97, 170, 255, 0.13), transparent 36%),
    rgba(250, 252, 255, 0.98);
  box-shadow: 0 38px 120px rgba(4, 18, 37, 0.36), inset 0 1px 0 white;
}

.download-dialog h3 {
  max-width: calc(100% - 54px);
  margin-bottom: 10px;
  font-size: 32px;
}

.download-description {
  max-width: 610px;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.download-detection {
  min-height: 22px;
  margin: 0 0 22px;
  color: #0f68d1;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.45;
}

.download-platform-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.download-platform-picker button {
  min-width: 0;
  min-height: 82px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 12px;
  color: #425168;
  text-align: left;
  font: inherit;
  border: 1px solid rgba(29, 65, 107, 0.1);
  border-radius: 19px;
  background: rgba(238, 244, 251, 0.82);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.download-platform-picker button:hover {
  transform: translateY(-1px);
  border-color: rgba(22, 119, 255, 0.28);
}

.download-platform-picker button.is-active {
  color: #0f5fbd;
  border-color: rgba(22, 119, 255, 0.34);
  background: rgba(226, 241, 255, 0.94);
  box-shadow: inset 0 0 0 1px rgba(22, 119, 255, 0.06), 0 12px 28px rgba(22, 119, 255, 0.1);
}

.download-platform-picker strong,
.download-platform-picker small {
  display: block;
}

.download-platform-picker strong {
  margin-bottom: 4px;
  font-size: 14px;
}

.download-platform-picker small {
  overflow: hidden;
  color: #778499;
  font-size: 11px;
  line-height: 1.35;
  text-overflow: ellipsis;
}

.download-platform-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(22, 119, 255, 0.11);
  border-radius: 12px;
  color: #176fd8;
  background: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  font-weight: 820;
  box-shadow: inset 0 1px 0 white;
}

.download-variant-field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.download-variant-field > span {
  color: #536176;
  font-size: 12px;
  font-weight: 780;
}

.download-variant-field select {
  width: 100%;
  min-height: 52px;
  padding: 0 44px 0 16px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  border: 1px solid rgba(29, 65, 107, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
}

.download-key-note {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 13px;
  padding: 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(25, 139, 101, 0.14);
  border-radius: 19px;
  background: rgba(230, 248, 241, 0.78);
}

.download-key-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #157656;
  border-radius: 12px;
  background: rgba(25, 139, 101, 0.12);
  font-size: 18px;
}

.download-key-note strong {
  display: block;
  margin: 1px 0 5px;
  color: #185f4a;
  font-size: 13px;
}

.download-key-note p {
  margin: 0;
  color: #4e6e65;
  font-size: 12px;
  line-height: 1.5;
}

.download-admin-install[hidden] {
  display: none;
}

.download-admin-install {
  display: grid;
  gap: 11px;
  padding: 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(28, 84, 151, 0.13);
  border-radius: 19px;
  background: rgba(236, 244, 253, 0.76);
}

.download-admin-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.download-admin-heading strong,
.download-admin-heading span {
  display: block;
}

.download-admin-heading strong {
  margin-bottom: 4px;
  color: #1e4f87;
  font-size: 13px;
}

.download-admin-heading span,
.download-admin-install p {
  color: #687b91;
  font-size: 11px;
  line-height: 1.45;
}

.download-admin-heading button {
  min-height: 34px;
  flex: 0 0 auto;
  padding: 0 12px;
  color: #0d66c9;
  border: 1px solid rgba(22, 119, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  font: inherit;
  font-size: 11px;
  font-weight: 780;
  cursor: pointer;
}

.download-admin-install code {
  display: block;
  overflow-x: auto;
  padding: 13px 14px;
  color: #17395f;
  border: 1px solid rgba(25, 74, 131, 0.11);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  font: 12px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace;
  white-space: pre;
}

.download-admin-install p {
  margin: 0;
}

.download-installer-action {
  margin-top: 0;
}

.download-installer-action.is-unavailable {
  pointer-events: none;
  color: #68778b;
  border-color: rgba(32, 54, 81, 0.08);
  background: #e8edf3;
  box-shadow: inset 0 1px 0 white;
}

.download-status,
.download-checksum {
  margin: 12px 5px 0;
  color: #748195;
  text-align: center;
  font-size: 11px;
  line-height: 1.48;
}

.download-checksum {
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

@media (max-width: 700px) {
  .download-overlay {
    padding: 10px;
  }

  .download-dialog {
    max-height: calc(100vh - 20px);
    padding: 26px 18px 22px;
    border-radius: 24px;
  }

  .download-dialog h3 {
    font-size: 25px;
  }

  .download-platform-picker {
    grid-template-columns: 1fr;
  }

  .download-platform-picker button {
    min-height: 64px;
  }

  .download-admin-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  min-height: 90px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #7a879b;
  border-top: 1px solid rgba(27, 42, 63, 0.1);
}

.site-footer-copy {
  display: grid;
  gap: 4px;
}

.site-footer-copy strong {
  color: var(--text);
  font-weight: 780;
}

.site-footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px 12px;
}

.site-footer-legal a {
  color: inherit;
  font-size: 13px;
  font-weight: 680;
  text-decoration: none;
}

.site-footer-legal a:hover,
.site-footer-legal a:focus-visible {
  color: #176fc1;
  text-decoration: underline;
}

.site-footer-requisites {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  color: #176fc1;
  font-weight: 740;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(47, 131, 233, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.site-footer-requisites:hover,
.site-footer-requisites:focus-visible {
  color: #0b5aa7;
  border-color: rgba(47, 131, 233, 0.44);
  background: rgba(231, 243, 255, 0.9);
}

@media (min-width: 981px) {
  .license-downloads {
    flex: 1 1 auto;
    grid-template-rows: repeat(3, minmax(76px, 1fr));
  }

  .license-download {
    min-height: 76px;
    padding-block: 13px;
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) var(--rf-header-theme-width) var(--rf-header-control-width);
  }

  .site-header nav {
    display: none;
  }
}

@media (max-width: 980px) {
  :root {
    --section-anchor-offset: 96px;
  }

  .hero,
  .platform-panel,
  .audience-console,
  .languages,
  .pricing-card,
  .exercise-stage {
    grid-template-columns: 1fr;
  }

  .exercise-stage {
    gap: 18px;
  }

  .exercise-stage .product-orbit {
    width: min(58%, 300px);
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    order: initial;
  }

  .device-card {
    min-height: 540px;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .language-benefits {
    grid-template-columns: 1fr;
  }

  .organization-grid,
  .organization-offer {
    grid-template-columns: 1fr;
  }

  .organization-card {
    min-height: auto;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .plan-card {
    min-height: auto;
  }
}

@media (max-width: 820px) {
  .pricing-journey {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px;
  }

  .journey-arrow {
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .language-concept-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .language-gallery-button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --section-anchor-offset: 88px;
  }

  html {
    scroll-padding-top: var(--section-anchor-offset);
  }

  .site-header {
    width: calc(100% - 18px);
    height: auto;
    min-height: 68px;
    margin-top: 9px;
    grid-template-columns: minmax(0, 1fr) 105px;
  }

  .site-header .rf-theme-toggle {
    --rf-switch-w: 105px;
    --rf-switch-h: 44px;
  }

  .header-cta {
    display: none;
  }

  .section-pad {
    width: calc(100% - 22px);
    padding: 52px 0;
    scroll-margin-top: var(--section-anchor-offset);
  }

  .languages {
    padding-bottom: 28px;
  }

  .language-concept-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 14px;
    gap: 12px;
  }

  .language-concept {
    min-height: 166px;
    padding-inline: 8px;
  }

  .audiences {
    padding-top: 28px;
  }

  .section-marker {
    grid-template-columns: auto 26px minmax(0, auto);
    gap: 8px;
    margin-bottom: 15px;
  }

  .section-marker i {
    width: 26px;
  }

  h1 {
    font-size: 44px;
  }

  .hero-word {
    min-width: 0;
    max-width: 100%;
  }

  .hero-word-text,
  .hero-word-reserve {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: 36px;
  }

  .hero {
    gap: 36px;
    padding-top: 34px;
  }

  .hero-actions,
  .hero-actions > * {
    width: 100%;
  }

  .license-download {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .license-download .download-state {
    grid-column: 2;
    width: max-content;
  }

  .hero-metrics,
  .benefit-grid,
  .audience-groups {
    grid-template-columns: 1fr;
  }

  .platform-switch {
    width: 100%;
  }

  .platform-tab {
    min-width: 0;
    font-size: 12px;
  }

  .platform-tab .tab-icon {
    display: none;
  }

  .platform-panel,
  .audience-console,
  .official-download-warning,
  .organization-card,
  .organization-offer,
  .pricing-card {
    padding: 20px;
  }

  .organization-card-top {
    margin-bottom: 24px;
  }

  .organization-card > a,
  .organization-primary-action {
    width: 100%;
  }

  .organization-offer {
    gap: 24px;
  }

  .organization-offer h3 {
    font-size: 24px;
  }

  .exercise-gate,
  .exercise-stage {
    min-height: 650px;
    border-radius: 30px;
  }

  .exercise-stage {
    padding: 24px 16px;
  }

  .exercise-stage .product-orbit {
    width: min(76%, 250px);
  }

  .exercise-stage .demo-line {
    min-height: 132px;
  }

  .exercise-launch {
    padding: 14px;
  }

  .exercise-launch-panel {
    min-height: 164px;
    padding: 24px 18px;
    border-radius: 24px;
  }

  .exercise-launch-meta {
    inset-inline: 16px;
    bottom: 14px;
  }

  .exercise-start-button {
    width: 100%;
    min-height: 58px;
    padding-inline: 18px;
  }

  .audience-main {
    min-height: auto;
    padding: 24px;
  }

  .audience-main h3 {
    font-size: 34px;
  }

  .official-download-warning {
    grid-template-columns: 1fr;
  }

  .official-download-warning h3 {
    font-size: 28px;
  }

  .official-source {
    align-items: stretch;
    flex-direction: column;
  }

  .official-domain {
    align-self: flex-start;
  }

  .pricing-heading {
    margin-bottom: 26px;
  }

  .pricing-journey {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .pricing-journey {
    gap: 18px;
  }

  .journey-arrow {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    justify-self: center;
  }

  .plan-card {
    padding: 26px;
    border-radius: 28px;
  }

  .plan-summary,
  .plan-terms {
    min-height: 0;
  }

  .checkout-cart {
    padding: 28px 22px 24px;
    border-radius: 26px;
  }

  .cart-price-row,
  .cart-offer-time {
    grid-template-columns: 1fr;
  }

  .cart-timer {
    text-align: left;
  }

  .platform-copy {
    padding: 16px 0;
  }

  .os-card {
    min-height: 390px;
    padding: 18px;
  }

  .os-preview {
    margin-top: 34px;
  }

  .menu-bar {
    grid-auto-flow: row;
    grid-auto-columns: unset;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 18px;
  }

  .menu-bar span {
    font-size: 11px;
  }

  .linux-preview .menu-bar span:last-child {
    grid-column: 1 / -1;
  }

  .mac-window {
    min-height: 170px;
    margin-top: 20px;
    padding: 20px;
  }

  .mac-window strong {
    font-size: 28px;
  }

  .mini-settings {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding: 14px;
  }

  .mini-settings span {
    flex-basis: auto;
  }

  .device-card {
    min-height: 590px;
    border-radius: 34px;
  }

  .literary-author {
    min-height: 64px;
    margin-top: 14px;
    padding: 8px 12px;
  }

  .literary-author strong {
    font-size: 24px;
  }

  .literary-author.is-compact strong {
    font-size: 21px;
  }

  .literary-author.is-dense strong {
    font-size: 18px;
  }

  .product-orbit {
    width: min(90%, 344px);
    margin-top: 10px;
    padding: 0;
    border-radius: 28px;
  }

  .product-orbit img {
    border-radius: 27px;
  }

  .product-orbit::before,
  .product-orbit::after {
    inset: 0;
    border-radius: inherit;
  }

  .fix-demo {
    width: 96%;
    padding: 13px;
    border-radius: 22px;
  }

  .demo-line {
    min-height: 118px;
    padding: 0 14px;
    font-size: 16px;
  }

  .demo-line.is-compact {
    font-size: 14px;
  }

  .demo-line.is-dense {
    font-size: 13px;
  }

  .hero-quote-demo .demo-line,
  .hero-quote-demo .demo-line.is-compact {
    min-height: 140px;
    padding-inline: 18px;
    font-size: 18px;
    line-height: 1.42;
  }

  .hero-quote-demo .demo-line.is-dense {
    min-height: 140px;
    font-size: 16px;
    line-height: 1.45;
  }

  .hero-quote-demo .demo-action {
    min-height: 116px;
  }

  .hero-quote-demo .demo-key-trigger {
    min-width: 190px;
    min-height: 60px;
    padding: 8px 18px 10px;
  }

  .hero-quote-demo .demo-keys kbd {
    min-width: 52px;
    height: 43px;
    font-size: 18px;
  }

  .floating-note {
    width: 100%;
    min-height: 142px;
    position: relative;
    margin-top: 0;
    padding: 28px 26px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 0;
  }
}

@media (max-width: 480px) {
  :root {
    --section-anchor-offset: 82px;
  }

  .site-header {
    width: calc(100% - 12px);
    min-height: 62px;
    padding: 8px 12px;
    border-radius: 22px;
  }

  .brand {
    min-width: 0;
    gap: 8px;
    font-size: 15px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .section-pad {
    width: calc(100% - 16px);
    padding-block: 42px;
  }

  .hero {
    gap: 28px;
    padding-top: 26px;
  }

  h1 {
    font-size: 38px;
    line-height: 1.04;
  }

  h2 {
    font-size: 31px;
    line-height: 1.08;
  }

  .hero-text,
  .section-heading > p,
  .language-copy > p {
    font-size: 16px;
    line-height: 1.65;
  }

  .primary-button,
  .secondary-button {
    min-height: 54px;
    padding-inline: 18px;
    text-align: center;
  }

  .device-card {
    min-height: 540px;
    padding-inline: 12px;
  }

  .language-concept-grid {
    padding: 10px;
    gap: 9px;
  }

  .language-concept {
    min-height: 150px;
    font-size: 13px;
  }

  .language-concept strong {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .audience-console,
  .audience-main,
  .pricing-card,
  .platform-panel,
  .official-download-warning {
    border-radius: 24px;
  }

  .audience-main h3 {
    font-size: 29px;
  }

  .audience-chip {
    min-height: 56px;
    padding: 12px 14px;
  }

  .plan-card {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .plan-card h3 {
    font-size: 29px;
  }

  .plan-price {
    font-size: 46px;
  }

  .official-download-warning h3 {
    font-size: 25px;
  }

  .official-domain {
    max-width: 100%;
    font-size: 15px;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 400px) {
  .language-concept-grid {
    grid-template-columns: 1fr;
  }

  .language-concept {
    min-height: 138px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  .section-marker {
    grid-template-columns: auto 18px minmax(0, 1fr);
  }

  .section-marker i {
    width: 18px;
  }

  .exercise-stage {
    padding-inline: 12px;
  }
}

@media (min-width: 981px) {
  .hero-visual .literary-scene {
    min-height: 857px;
  }
}

html[data-theme="dark"] {
  color-scheme: dark;
  --text: #eef3f9;
  --muted: #a6b1c1;
  --soft: #232b35;
  --surface: rgba(25, 31, 39, 0.82);
  --surface-strong: rgba(28, 35, 44, 0.96);
  --line: rgba(215, 226, 239, 0.12);
  --blue: #65a9ff;
  --blue-2: #8cc7ff;
  --dark: #f3f6fa;
  --shadow-soft: 0 26px 84px rgba(0, 0, 0, 0.34);
  --shadow-card: 0 18px 52px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] body {
  background:
    linear-gradient(135deg, rgba(48, 80, 112, 0.2) 0%, transparent 34%),
    linear-gradient(225deg, rgba(77, 59, 90, 0.16) 0%, transparent 31%),
    linear-gradient(180deg, #14191f 0%, #11161b 50%, #0d1116 100%);
}

html[data-theme="dark"] body::before {
  background-image:
    linear-gradient(rgba(221, 231, 242, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(221, 231, 242, 0.04) 1px, transparent 1px);
}

html[data-theme="dark"] .site-header {
  border-color: rgba(205, 222, 240, 0.12);
  background: rgba(20, 26, 33, 0.84);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

html[data-theme="dark"] .site-header nav {
  color: #b0bbca;
}

html[data-theme="dark"] .site-header nav a:hover {
  color: #f5f8fc;
  background: rgba(90, 143, 204, 0.14);
}

html[data-theme="dark"] .site-header nav a.is-current {
  color: #8fc5ff;
  background: rgba(45, 117, 199, 0.2);
  box-shadow: inset 0 0 0 1px rgba(108, 174, 247, 0.12);
}

html[data-theme="dark"] :is(
  .hero-text,
  .smart-download-note,
  .hero-metrics span,
  .floating-note small,
  .warning-content p,
  .feature-list,
  .platform-copy p,
  .language-copy p,
  .language-status,
  .organization-card p,
  .organization-offer-copy p,
  .plan-summary,
  .plan-features,
  .plan-terms,
  .pricing-legal,
  .cart-footnote,
  .site-footer
) {
  color: var(--muted);
}

html[data-theme="dark"] .chapter-band::before {
  border-color: rgba(var(--chapter-rgb), 0.13);
  background: rgba(var(--chapter-rgb), 0.045);
}

html[data-theme="dark"] :is(
  .license-download,
  .hero-metrics div,
  .floating-note,
  .platform-switch,
  .platform-panel,
  .audience-console,
  .audience-main,
  .language-concept-grid,
  .language-concept,
  .organization-card,
  .organization-offer,
  .pricing-journey,
  .plan-card,
  .exercise-stage,
  .exercise-launch-panel,
  .checkout-cart,
  .download-dialog,
  .official-source,
  .utility-header,
  .mini-settings,
  .os-card,
  .mac-window
) {
  border-color: rgba(205, 220, 237, 0.12);
  background: rgba(24, 30, 38, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 18px 50px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] .license-download:hover {
  border-color: rgba(100, 169, 246, 0.32);
  background: rgba(30, 39, 49, 0.94);
}

html[data-theme="dark"] .device-card {
  background:
    linear-gradient(145deg, rgba(31, 39, 49, 0.98), rgba(18, 24, 31, 0.96)) padding-box,
    linear-gradient(145deg, rgba(88, 158, 231, 0.54), rgba(122, 139, 158, 0.2) 48%, rgba(44, 103, 166, 0.52)) border-box;
  box-shadow:
    0 42px 110px rgba(0, 0, 0, 0.42),
    0 0 0 6px rgba(60, 121, 185, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    inset 0 -28px 70px rgba(0, 0, 0, 0.13);
}

html[data-theme="dark"] .device-card::before {
  border-color: rgba(117, 174, 234, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035), 0 0 34px rgba(51, 119, 190, 0.08);
}

html[data-theme="dark"] .literary-author {
  color: #dce9f8;
}

html[data-theme="dark"] .floating-note {
  border-color: transparent;
  background:
    linear-gradient(145deg, rgba(31, 39, 49, 0.98), rgba(18, 24, 31, 0.96)) padding-box,
    linear-gradient(145deg, rgba(88, 158, 231, 0.54), rgba(122, 139, 158, 0.2) 48%, rgba(44, 103, 166, 0.52)) border-box;
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

html[data-theme="dark"] .floating-note::before {
  border-color: rgba(117, 174, 234, 0.22);
  background: rgba(20, 27, 35, 0.5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035), 0 0 34px rgba(51, 119, 190, 0.08);
}

html[data-theme="dark"] .floating-note strong {
  color: #dce9f8;
}

html[data-theme="dark"] .floating-note small {
  color: #9fb0c4;
}

html[data-theme="dark"] .product-orbit {
  border-color: rgba(104, 169, 237, 0.38);
  background: #dce7f2;
  box-shadow: 0 30px 84px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

html[data-theme="dark"] .hero-mission strong {
  color: #f0f5fb;
}

html[data-theme="dark"] .hero-mission a {
  color: #69adff;
  text-decoration-color: rgba(105, 173, 255, 0.42);
}

html[data-theme="dark"] .hero-mission-promise {
  color: #c3d4e8;
}

html[data-theme="dark"] .fix-demo {
  border-color: rgba(180, 202, 225, 0.11);
  background: rgba(22, 29, 37, 0.9);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.29), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

html[data-theme="dark"] .demo-line {
  color: #e9f0f8;
  border-color: rgba(177, 203, 230, 0.12);
  background: rgba(13, 19, 26, 0.74);
}

html[data-theme="dark"] .exercise-demo[data-exercise-mode="layout-all"] .demo-line {
  border-color: rgba(86, 158, 238, 0.3);
  background: linear-gradient(145deg, rgba(19, 34, 51, 0.98), rgba(14, 22, 31, 0.98));
}

html[data-theme="dark"] .exercise-demo[data-exercise-mode="layout-spelling-word"] .demo-line {
  border-color: rgba(223, 160, 67, 0.34);
  background: linear-gradient(145deg, rgba(48, 38, 23, 0.98), rgba(16, 24, 33, 0.98));
}

html[data-theme="dark"] .exercise-demo[data-exercise-mode="case-all"] .demo-line {
  border-color: rgba(149, 119, 222, 0.34);
  background: linear-gradient(145deg, rgba(37, 28, 54, 0.98), rgba(16, 23, 33, 0.98));
}

html[data-theme="dark"] .exercise-demo[data-exercise-mode="case-word"] .demo-line {
  border-color: rgba(68, 181, 186, 0.32);
  background: linear-gradient(145deg, rgba(21, 45, 47, 0.98), rgba(16, 23, 33, 0.98));
}

html[data-theme="dark"] .hero-quote-demo .demo-key-trigger {
  border-color: rgba(98, 166, 239, 0.2);
  background: linear-gradient(180deg, rgba(41, 52, 65, 0.98), rgba(26, 35, 45, 0.94));
  box-shadow: 0 13px 30px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] :is(.demo-keys kbd, .hotkey-copy kbd) {
  color: #dceaff;
  border-color: rgba(127, 184, 244, 0.2);
  background: rgba(37, 48, 61, 0.96);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3), 0 9px 18px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.065);
}

html[data-theme="dark"] .typing-caret {
  border-left-color: #79b9ff;
}

html[data-theme="dark"] .secondary-button {
  color: #e5ecf5;
  border-color: rgba(205, 221, 238, 0.13);
  background: rgba(31, 39, 48, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

html[data-theme="dark"] .official-download-warning {
  border-color: rgba(80, 204, 155, 0.28);
  background:
    linear-gradient(125deg, rgba(22, 81, 61, 0.58), rgba(22, 61, 50, 0.6)),
    rgba(20, 31, 27, 0.95);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.28), inset 4px 0 0 rgba(58, 190, 139, 0.74);
}

html[data-theme="dark"] :is(.warning-kicker, .security-promise, .official-source-label) {
  color: #83e0bb;
}

html[data-theme="dark"] .official-domain {
  color: #9aebca;
  border-color: rgba(83, 201, 155, 0.28);
  background: rgba(18, 39, 32, 0.88);
}

html[data-theme="dark"] .official-download-warning p,
html[data-theme="dark"] .official-source small {
  color: #b5d1c6;
}

html[data-theme="dark"] .official-download-warning .security-promise,
html[data-theme="dark"] .official-source {
  border-color: rgba(83, 201, 155, 0.2);
  background: rgba(22, 58, 46, 0.64);
  box-shadow: inset 3px 0 0 rgba(58, 190, 139, 0.5);
}

html[data-theme="dark"] :is(.platform-tab, .audience-chip) {
  color: #b8c3d1;
  border-color: rgba(201, 218, 237, 0.1);
  background: rgba(29, 36, 45, 0.76);
}

html[data-theme="dark"] :is(.platform-tab.is-active, .audience-chip.is-active) {
  color: #a9d2ff;
  border-color: rgba(83, 157, 236, 0.35);
  background: rgba(35, 91, 151, 0.24);
}

html[data-theme="dark"] :is(.language-key, .platform-symbol, .tab-icon, .benefit-icon, .organization-index) {
  border-color: rgba(192, 213, 235, 0.12);
  background: rgba(43, 54, 67, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 10px 25px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] .benefit-grid article {
  border-color: rgba(205, 220, 237, 0.12);
  background: rgba(24, 30, 38, 0.84);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

html[data-theme="dark"] .chapter-security .benefit-grid article {
  border-color: rgba(var(--benefit-rgb), 0.24);
  background: linear-gradient(150deg, rgba(21, 39, 33, 0.94), rgba(var(--benefit-rgb), 0.12));
}

html[data-theme="dark"] .chapter-security .benefit-icon {
  border-color: rgba(var(--benefit-rgb), 0.25);
  background: rgba(var(--benefit-rgb), 0.16);
  box-shadow: 0 12px 26px rgba(var(--benefit-rgb), 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .plan-card-gift {
  color: #f0f5fb;
  border-color: rgba(112, 170, 232, 0.2);
  background: linear-gradient(155deg, #1d2b3d, #14202e);
}

html[data-theme="dark"] .trial-label-neutral {
  color: #b8c5d4;
  background: rgba(47, 59, 73, 0.82);
}

html[data-theme="dark"] .plan-button:not(.plan-button-primary):not(.plan-button-dark) {
  color: #b9d9ff;
  border-color: rgba(94, 163, 238, 0.28);
  background: rgba(32, 54, 78, 0.62);
}

html[data-theme="dark"] .cart-overlay {
  background: rgba(5, 8, 12, 0.74);
}

html[data-theme="dark"] .download-overlay {
  background: rgba(5, 8, 12, 0.76);
}

html[data-theme="dark"] .download-platform-picker button,
html[data-theme="dark"] .download-variant-field select {
  color: #dce7f4;
  border-color: rgba(203, 220, 238, 0.14);
  background: rgba(20, 29, 39, 0.84);
}

html[data-theme="dark"] .download-platform-picker button.is-active {
  color: #a9d2ff;
  border-color: rgba(83, 157, 236, 0.38);
  background: rgba(35, 91, 151, 0.25);
}

html[data-theme="dark"] .download-platform-mark {
  color: #9dcbff;
  border-color: rgba(110, 172, 239, 0.2);
  background: rgba(36, 48, 61, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] .download-platform-picker small,
html[data-theme="dark"] :is(.download-description, .download-status, .download-checksum) {
  color: var(--muted);
}

html[data-theme="dark"] .download-detection {
  color: #8fc5ff;
}

html[data-theme="dark"] .download-key-note {
  border-color: rgba(82, 191, 151, 0.2);
  background: rgba(24, 78, 60, 0.32);
}

html[data-theme="dark"] .download-key-note strong {
  color: #94dfc2;
}

html[data-theme="dark"] .download-key-note p {
  color: #aac8bd;
}

html[data-theme="dark"] .download-admin-install {
  border-color: rgba(102, 164, 230, 0.2);
  background: rgba(24, 53, 86, 0.3);
}

html[data-theme="dark"] .download-admin-heading strong {
  color: #a7d2ff;
}

html[data-theme="dark"] .download-admin-heading span,
html[data-theme="dark"] .download-admin-install p {
  color: #a9bbcf;
}

html[data-theme="dark"] .download-admin-heading button,
html[data-theme="dark"] .download-admin-install code {
  color: #c6e1ff;
  border-color: rgba(112, 175, 242, 0.2);
  background: rgba(18, 31, 46, 0.88);
}

html[data-theme="dark"] .download-installer-action.is-unavailable {
  color: #8e9bab;
  border-color: rgba(203, 220, 238, 0.1);
  background: rgba(36, 45, 56, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] .cart-price-row,
html[data-theme="dark"] .cart-offer-time {
  border-color: rgba(203, 220, 238, 0.12);
  background: rgba(15, 21, 28, 0.72);
}

html[data-theme="dark"] .site-footer {
  border-color: rgba(205, 220, 237, 0.12);
}

html[data-theme="dark"] .site-footer-requisites {
  color: #9bc9ff;
  border-color: rgba(126, 184, 250, 0.24);
  background: rgba(25, 43, 65, 0.72);
}

html[data-theme="dark"] .site-footer-requisites:hover,
html[data-theme="dark"] .site-footer-requisites:focus-visible {
  color: #c9e2ff;
  border-color: rgba(126, 184, 250, 0.48);
  background: rgba(31, 57, 87, 0.86);
}

html[data-theme="dark"] :is(input, select, textarea) {
  color: #edf3fa;
  border-color: rgba(203, 220, 238, 0.16);
  background: rgba(13, 19, 26, 0.82);
}

@media (prefers-reduced-motion: reduce) {
  .exercise-stage,
  .exercise-launch,
  .exercise-start-button {
    transition: none;
  }

  .exercise-gate.is-opening .exercise-stage {
    animation: none;
  }

  .benefit-grid[data-benefit-sequence] article {
    transition: none;
  }

  .benefit-grid article,
  .benefit-icon {
    animation: none;
  }

  .platform-tab:hover,
  .benefit-grid article:hover,
  .benefit-grid article:hover .benefit-icon {
    transform: none;
  }

  .header-cta::after,
  .primary-button::after,
  .platform-download-button::after,
  .plan-button-primary::after,
  .license-download::after {
    animation: none;
  }
}

/* Geometry system: shared axes, equal cards and predictable vertical rhythm. */
:root {
  --rf-content-width: 1180px;
  --rf-section-space: 76px;
  --rf-grid-gap: 20px;
  --rf-card-padding: 28px;
  --rf-card-radius: 28px;
}

.site-header,
.section-pad,
.site-footer {
  width: min(var(--rf-content-width), calc(100% - 32px));
}

.section-pad {
  padding-block: var(--rf-section-space);
}

.section-pad.hero {
  padding-top: 16px;
}

.section-heading,
.section-heading.compact,
.exercise-heading,
.pricing-heading,
.organizations-heading {
  width: min(100%, 840px);
  max-width: none;
  margin-bottom: 34px;
}

.section-heading > p,
.exercise-heading > p,
.pricing-heading > p,
.organizations-heading > p {
  width: min(100%, 760px);
  max-width: none;
}

.hero {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
}

.hero-actions > * {
  width: 100%;
  min-width: 0;
  text-align: center;
}

.hero-metrics,
.benefit-grid,
.language-benefits,
.pricing-grid,
.organization-grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.hero-metrics div,
.language-benefits article {
  height: 100%;
  display: grid;
  align-content: center;
}

.hero-metrics div {
  justify-items: center;
  text-align: center;
}

.official-download-warning {
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 24px;
  padding: var(--rf-card-padding);
  border-radius: var(--rf-card-radius);
}

.official-download-warning :is(p, .security-promise, .official-source) {
  width: 100%;
  max-width: none;
}

.benefit-grid {
  gap: var(--rf-grid-gap);
}

.benefit-grid article {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: var(--rf-card-padding);
  border-radius: var(--rf-card-radius);
}

.benefit-grid p {
  margin-bottom: 0;
}

.platform-switch {
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.platform-tab {
  width: 100%;
  min-width: 0;
}

.platform-panel {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 32px;
  padding: var(--rf-card-padding);
  border-radius: var(--rf-card-radius);
}

.platform-copy {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.platform-copy .platform-download-button {
  margin-top: auto;
}

.os-card {
  height: 100%;
  min-height: 442px;
  border-radius: var(--rf-card-radius);
}

.interactive-exercises {
  padding-block: var(--rf-section-space);
}

.exercise-gate {
  width: 100%;
  max-width: none;
}

.exercise-stage {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  padding: 36px;
  border-radius: var(--rf-card-radius);
}

.exercise-portrait-column {
  display: grid;
  justify-items: center;
}

.exercise-stage .fix-demo {
  margin-inline: auto;
}

.languages {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 32px;
  padding-block: var(--rf-section-space);
}

.language-copy {
  align-self: center;
  min-width: 0;
}

.language-visual {
  height: 100%;
  border-radius: var(--rf-card-radius);
}

.language-concept-grid {
  height: 100%;
  align-items: stretch;
  grid-auto-rows: 1fr;
  gap: 14px;
  padding: 20px;
}

.language-concept {
  height: 100%;
}

.language-gallery-action {
  margin-top: 0;
}

.pricing-journey,
.organization-offer {
  border-radius: var(--rf-card-radius);
}

.pricing-grid,
.organization-grid {
  gap: var(--rf-grid-gap);
}

.plan-card,
.organization-card {
  height: 100%;
  padding: var(--rf-card-padding);
  border-radius: var(--rf-card-radius);
}

.organization-offer {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  padding: 36px;
}

.organization-offer-copy,
.organization-offer-actions {
  min-width: 0;
}

.site-footer {
  padding-block: 28px;
}

@media (min-width: 981px) {
  .benefit-grid h3 {
    min-height: 58px;
  }

  .plan-card h3 {
    min-height: 74px;
  }

  .plan-summary {
    min-height: 92px;
  }

  .plan-price {
    min-height: 92px;
  }

  .trial-label {
    min-height: 48px;
  }

  .organization-card-top {
    min-height: 36px;
    margin-bottom: 28px;
  }

  .organization-card h3 {
    min-height: 102px;
  }

  .organization-card > p {
    min-height: 118px;
  }
}

@media (max-width: 980px) {
  :root {
    --rf-section-space: 60px;
  }

  .hero,
  .platform-panel,
  .languages,
  .exercise-stage,
  .organization-offer {
    grid-template-columns: 1fr;
  }

  .platform-copy {
    padding: 16px 4px 4px;
  }

  .exercise-stage {
    gap: 24px;
    padding: 28px;
  }

  .organization-offer {
    gap: 24px;
  }
}

@media (max-width: 640px) {
  :root {
    --rf-section-space: 48px;
    --rf-grid-gap: 14px;
    --rf-card-padding: 20px;
    --rf-card-radius: 24px;
  }

  .site-header,
  .section-pad,
  .site-footer {
    width: calc(100% - 22px);
  }

  .section-heading,
  .section-heading.compact,
  .exercise-heading,
  .pricing-heading,
  .organizations-heading {
    margin-bottom: 26px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .platform-switch {
    gap: 8px;
  }

  .platform-panel,
  .exercise-stage,
  .official-download-warning,
  .plan-card,
  .organization-card,
  .organization-offer {
    padding: var(--rf-card-padding);
    border-radius: var(--rf-card-radius);
  }

  .official-download-warning {
    grid-template-columns: 1fr;
  }

  .language-concept-grid {
    padding: 12px;
  }

  .organization-card-top {
    margin-bottom: 22px;
  }

  .site-footer {
    align-items: flex-start;
  }

  .section-pad.hero {
    padding-top: 12px;
  }
}

/* Adaptive viewport standard: phones, tablets, HD, Full HD, 2K and ultrawide. */
:root {
  --rf-page-gutter: clamp(11px, 2vw, 32px);
  --rf-content-width: clamp(1180px, 72vw, 1480px);
}

body {
  min-height: 100svh;
}

.site-header,
.section-pad,
.site-footer {
  width: min(var(--rf-content-width), calc(100% - (var(--rf-page-gutter) * 2)));
}

.download-dialog {
  max-height: min(860px, calc(100dvh - 44px));
}

.journey-step > div {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 700px) {
  .download-dialog {
    max-height: calc(100dvh - 20px);
  }
}

@media (max-width: 640px) {
  .brand,
  .site-header .rf-theme-toggle {
    min-height: 44px;
  }
}

@media (min-width: 641px) and (max-width: 1180px) {
  .site-header .rf-theme-toggle {
    grid-column: 3;
  }

  .site-header .header-cta {
    grid-column: 4;
  }
}

/* Compact tablets and small monitors use one generous hero column. */
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-visual {
    width: min(100%, 840px);
    margin-inline: auto;
  }

  .hero-visual {
    min-height: 0;
  }
}

/* Tablet typography stays proportional instead of inheriting desktop scale. */
@media (min-width: 641px) and (max-width: 1100px) {
  h1 {
    font-size: clamp(48px, 6.5vw, 58px);
    line-height: 1.03;
  }

  h2 {
    font-size: clamp(40px, 5.4vw, 48px);
  }

  .hero-text,
  .section-heading p,
  .language-copy p,
  .pricing-card p,
  .platform-copy p {
    font-size: 18px;
  }
}

/* Short HD displays keep the same composition without oversized vertical blocks. */
@media (min-width: 1101px) and (max-height: 820px) {
  :root {
    --rf-section-space: 58px;
  }

  .section-pad.hero {
    padding-top: 12px;
  }

  .hero {
    gap: 40px;
  }

  h1 {
    margin-bottom: 18px;
    font-size: clamp(54px, 4.7vw, 62px);
  }

  h2 {
    font-size: 48px;
  }

  .hero-text,
  .section-heading p,
  .language-copy p,
  .pricing-card p,
  .platform-copy p {
    font-size: 17px;
    line-height: 1.55;
  }

  .hero-actions {
    margin-block: 22px;
  }

  .smart-download-note {
    margin-top: -14px;
    margin-bottom: 16px;
  }

  .license-downloads {
    gap: 8px;
    margin-bottom: 16px;
  }

  .license-download {
    min-height: 60px;
    padding-block: 8px;
  }

  .hero-metrics div {
    min-height: 96px;
    padding: 14px;
  }

  .hero-visual .literary-scene,
  .hero-visual .device-card {
    min-height: 740px;
  }

  .hero-visual .literary-scene {
    row-gap: 12px;
    padding: 18px 18px 22px;
  }

  .hero-visual .literary-author {
    min-height: 58px;
    margin-top: 2px;
  }

  .hero-visual .literary-author strong {
    font-size: 22px;
  }

  .hero-visual .literary-author.is-compact strong {
    font-size: 20px;
  }

  .hero-visual .literary-author.is-dense strong {
    font-size: 18px;
  }

  .hero-visual .product-orbit {
    width: min(74%, 340px);
  }

  .hero-visual .fix-demo {
    width: min(420px, 92%);
    padding: 13px;
  }

  .hero-quote-demo .demo-line,
  .hero-quote-demo .demo-line.is-compact {
    min-height: 108px;
    font-size: 17px;
  }

  .hero-quote-demo .demo-line.is-dense {
    min-height: 108px;
    font-size: 15px;
  }

  .hero-quote-demo .demo-action {
    min-height: 92px;
  }

  .hero-quote-demo .demo-key-trigger {
    min-height: 54px;
  }
}

/* Extra-short 720p windows receive a second, tighter vertical calibration. */
@media (min-width: 1101px) and (max-height: 740px) {
  :root {
    --rf-section-space: 52px;
  }

  .hero-visual .literary-scene,
  .hero-visual .device-card {
    min-height: 660px;
  }

  .hero-visual .product-orbit {
    width: min(68%, 300px);
  }

  .hero-quote-demo .demo-line,
  .hero-quote-demo .demo-line.is-compact,
  .hero-quote-demo .demo-line.is-dense {
    min-height: 92px;
  }

  .hero-quote-demo .demo-action {
    min-height: 78px;
  }

  .hero-quote-demo .demo-key-trigger {
    min-height: 50px;
  }
}

/* Large monitors use more of the canvas while keeping readable line lengths. */
@media (min-width: 1600px) {
  :root {
    --rf-grid-gap: 24px;
    --rf-card-padding: 30px;
  }

  .site-header {
    height: 76px;
  }

  .hero {
    gap: clamp(52px, 3.4vw, 68px);
  }

  h1 {
    max-width: 780px;
    font-size: clamp(68px, 3.7vw, 74px);
  }

  h2 {
    font-size: clamp(54px, 2.9vw, 58px);
  }

  .hero-text,
  .section-heading p,
  .language-copy p,
  .pricing-card p,
  .platform-copy p {
    font-size: 20px;
  }

  .section-heading,
  .section-heading.compact,
  .exercise-heading,
  .pricing-heading,
  .organizations-heading {
    width: min(100%, 920px);
  }

  .section-heading > p,
  .exercise-heading > p,
  .pricing-heading > p,
  .organizations-heading > p {
    width: min(100%, 820px);
  }
}

/* Safe compact-phone floor for 320–360 px wide devices. */
@media (max-width: 360px) {
  .site-header {
    padding-inline: 10px;
    column-gap: 8px;
  }

  .site-header .rf-theme-toggle {
    --rf-switch-w: 105px;
  }

  .brand {
    font-size: 14px;
  }

  h1 {
    font-size: clamp(32px, 10.6vw, 34px);
  }

  h2 {
    font-size: clamp(27px, 8.8vw, 29px);
  }

  .section-marker strong {
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  .platform-panel,
  .exercise-stage,
  .official-download-warning,
  .plan-card,
  .organization-card,
  .organization-offer {
    padding-inline: 16px;
  }
}
