@font-face {
  font-family: "Smiley Sans";
  src:
    url("assets/fonts/SmileySans-Website.woff2?v=20260726-1") format("woff2");
  font-display: swap;
  font-style: oblique;
  font-weight: 400 900;
}

@font-face {
  font-family: "Naikai Muvail";
  src: url("assets/fonts/NaikaiFont-Muvail.woff2?v=20260720-2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  unicode-range: U+5E55, U+610F, U+660E, U+6C90, U+6E10, U+843D, U+FF0C;
}

@font-face {
  font-family: "Naikai Muvail SC";
  src: url("assets/fonts/NaikaiFont-Muvail-SC.woff2?v=20260720-2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  unicode-range: U+8F7B;
}

:root {
  --ink: #07090d;
  --ink-soft: #0d1118;
  --surface: #11161e;
  --surface-2: #171d27;
  --surface-3: #1d2430;
  --paper: #f4f1ea;
  --paper-soft: #d8d5cf;
  --muted: #969daa;
  --muted-2: #7f8794;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --sun: #e7c56b;
  --sun-bright: #f7d985;
  --sun-deep: #c89a44;
  --blue: #607fa8;
  --blue-bright: #7e9fc9;
  --violet: #8877a5;
  --green: #56d98b;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-xl: 42px;
  --shadow-soft: 0 28px 80px rgba(0, 0, 0, 0.3);
  --shadow-deep: 0 42px 120px rgba(0, 0, 0, 0.52);
  --shell: min(1180px, calc(100% - 48px));
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--paper);
  background:
    radial-gradient(circle at 50% -20%, rgba(65, 83, 118, 0.14), transparent 35%),
    linear-gradient(180deg, #080a0e 0%, var(--ink) 55%, #090b10 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  color: #15140d;
  background: var(--sun);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

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

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

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h1 em,
h2 em {
  color: var(--sun-bright);
  font-style: normal;
}

.lang-en {
  display: none !important;
}

html[data-lang="en"] .lang-zh {
  display: none !important;
}

html[data-lang="en"] .lang-en {
  display: inline !important;
}

html[data-lang="en"] p.lang-en,
html[data-lang="en"] div.lang-en {
  display: block !important;
}

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

.skip-link {
  position: fixed;
  z-index: 9999;
  top: max(12px, env(safe-area-inset-top));
  left: max(12px, env(safe-area-inset-left));
  padding: 10px 16px;
  color: var(--ink);
  background: var(--sun);
  border-radius: 10px;
  transform: translateY(-140%);
  transition: transform 160ms ease;
}

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

:focus-visible {
  outline: 2px solid var(--sun-bright);
  outline-offset: 4px;
}

main[tabindex="-1"]:focus {
  outline: none;
}

.ambient {
  position: absolute;
  z-index: 0;
  inset: 0 0 auto;
  height: 1200px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  overflow: clip;
  contain: paint;
  pointer-events: none;
}

.ambient span {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.28;
}

.ambient__sun {
  top: 100px;
  left: calc(50% - 520px);
  width: 430px;
  height: 430px;
  background: rgba(231, 197, 107, 0.25);
}

.ambient__blue {
  top: 80px;
  right: calc(50% - 560px);
  width: 500px;
  height: 500px;
  background: rgba(74, 113, 163, 0.28);
}

.ambient__violet {
  top: 560px;
  left: 50%;
  width: 380px;
  height: 260px;
  background: rgba(136, 119, 165, 0.15);
  transform: translateX(-50%);
}

.grain {
  position: fixed;
  z-index: 90;
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.section-shell {
  position: relative;
  width: var(--shell);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  top: max(14px, env(safe-area-inset-top));
  left: 0;
  width: 100%;
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1260px, calc(100% - 32px));
  height: var(--header-h);
  margin-inline: auto;
  padding: 0 14px 0 18px;
  background: rgba(10, 13, 18, 0.82);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, height 220ms ease;
}

.site-header.is-scrolled .header-shell {
  height: var(--header-h);
  background: rgba(10, 13, 18, 0.9);
  border-color: var(--line);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.32);
}

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

.brand img {
  border-radius: 12px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.42);
}

.brand__name {
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1;
}

.brand__name strong {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand__name small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.content-page .site-header .brand__name small {
  color: #a98232;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 9px 13px;
  color: #bdc1c8;
  border-radius: 10px;
  font-size: 14px;
  transition: color 150ms ease, background 150ms ease;
}

.nav a:hover {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.055);
}

.nav a[aria-current="page"] {
  color: #d7b45d;
  background: rgba(255, 255, 255, 0.055);
}

.nav a[aria-current="page"] > span {
  background-image: linear-gradient(105deg, #f2dc91 0%, #d7b45d 58%, #b9c4c6 124%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Carry the homepage's restrained star field into the secondary content pages. */
body.content-page {
  background-color: #07090d;
  background-image:
    radial-gradient(circle at 8% 12%, rgba(201, 206, 216, 0.23) 0 0.65px, transparent 1.15px),
    radial-gradient(circle at 23% 19%, rgba(196, 201, 211, 0.28) 0 0.95px, transparent 1.55px),
    radial-gradient(circle at 41% 8%, rgba(183, 190, 202, 0.18) 0 0.55px, transparent 1.05px),
    radial-gradient(circle at 68% 16%, rgba(218, 221, 226, 0.3) 0 0.8px, rgba(218, 221, 226, 0.07) 1.65px, transparent 2.6px),
    radial-gradient(circle at 87% 29%, rgba(179, 186, 198, 0.2) 0 0.7px, transparent 1.2px),
    radial-gradient(circle at 14% 48%, rgba(188, 193, 204, 0.17) 0 0.55px, transparent 1px),
    radial-gradient(circle at 36% 61%, rgba(192, 158, 85, 0.18) 0 0.8px, transparent 1.35px),
    radial-gradient(circle at 59% 43%, rgba(198, 203, 213, 0.21) 0 0.65px, transparent 1.15px),
    radial-gradient(circle at 79% 69%, rgba(223, 225, 229, 0.31) 0 0.9px, rgba(223, 225, 229, 0.07) 1.75px, transparent 2.8px),
    radial-gradient(circle at 94% 82%, rgba(188, 194, 206, 0.17) 0 0.55px, transparent 1px),
    radial-gradient(circle at 28% 88%, rgba(196, 201, 211, 0.2) 0 0.65px, transparent 1.15px),
    radial-gradient(circle at 54% 78%, rgba(182, 188, 199, 0.16) 0 0.5px, transparent 0.95px),
    radial-gradient(circle at 5% 73%, rgba(190, 196, 207, 0.18) 0 0.6px, transparent 1.1px),
    radial-gradient(circle at 47% 33%, rgba(207, 211, 219, 0.2) 0 0.7px, transparent 1.25px),
    radial-gradient(circle at 72% 91%, rgba(185, 192, 203, 0.17) 0 0.55px, transparent 1.05px),
    radial-gradient(circle at 91% 8%, rgba(216, 218, 224, 0.22) 0 0.85px, rgba(216, 218, 224, 0.05) 1.65px, transparent 2.55px),
    radial-gradient(circle at 50% -20%, rgba(65, 83, 118, 0.14), transparent 35%),
    linear-gradient(180deg, #080a0e 0%, #07090d 55%, #090b10 100%);
  background-repeat: repeat, repeat, repeat, repeat, repeat, repeat, repeat, repeat, repeat, repeat, repeat, repeat, repeat, repeat, repeat, repeat, no-repeat, no-repeat;
  background-size: 780px 650px, 780px 650px, 780px 650px, 780px 650px, 780px 650px, 780px 650px, 780px 650px, 780px 650px, 780px 650px, 780px 650px, 780px 650px, 780px 650px, 780px 650px, 780px 650px, 780px 650px, 780px 650px, 100% 680px, 100% 100%;
}

body.content-page::before,
body.content-page::after {
  content: "";
  position: fixed;
  z-index: 0;
  inset: 0;
  background-repeat: repeat;
  pointer-events: none;
  filter:
    brightness(1.9)
    drop-shadow(0 0 2px rgba(224, 229, 238, 0.48))
    drop-shadow(0 0 6px rgba(205, 213, 226, 0.2));
  will-change: opacity;
}

body.content-page::before {
  background-image:
    radial-gradient(circle at 12% 18%, rgba(228, 230, 235, 0.82) 0 0.72px, rgba(228, 230, 235, 0.12) 1.45px, transparent 2.45px),
    radial-gradient(circle at 31% 72%, rgba(207, 212, 221, 0.76) 0 0.96px, rgba(207, 212, 221, 0.1) 1.72px, transparent 2.75px),
    radial-gradient(circle at 52% 29%, rgba(220, 223, 229, 0.8) 0 0.62px, transparent 1.25px),
    radial-gradient(circle at 73% 84%, rgba(205, 211, 220, 0.74) 0 0.82px, rgba(205, 211, 220, 0.09) 1.52px, transparent 2.4px),
    radial-gradient(circle at 89% 43%, rgba(236, 237, 240, 0.88) 0 1.22px, rgba(236, 237, 240, 0.16) 2.15px, transparent 3.35px),
    radial-gradient(circle at 64% 58%, rgba(205, 168, 84, 0.74) 0 0.72px, rgba(205, 168, 84, 0.1) 1.45px, transparent 2.3px);
  background-position: 70px 130px;
  background-size: 1120px 880px;
  opacity: 0.18;
  animation: content-star-breathe-a 10.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

body.content-page::after {
  background-image:
    radial-gradient(circle at 7% 79%, rgba(207, 169, 86, 0.78) 0 0.78px, rgba(207, 169, 86, 0.1) 1.55px, transparent 2.45px),
    radial-gradient(circle at 26% 36%, rgba(224, 227, 232, 0.78) 0 0.68px, transparent 1.32px),
    radial-gradient(circle at 48% 91%, rgba(211, 216, 224, 0.76) 0 0.92px, rgba(211, 216, 224, 0.09) 1.7px, transparent 2.65px),
    radial-gradient(circle at 69% 11%, rgba(234, 235, 238, 0.84) 0 0.64px, rgba(234, 235, 238, 0.09) 1.35px, transparent 2.2px),
    radial-gradient(circle at 93% 63%, rgba(220, 224, 230, 0.82) 0 1.3px, rgba(220, 224, 230, 0.15) 2.3px, transparent 3.55px);
  background-position: 220px 390px;
  background-size: 1390px 1080px;
  opacity: 0.16;
  animation: content-star-breathe-b 7.6s cubic-bezier(0.45, 0, 0.55, 1) 1.1s infinite;
}

body.content-page > .site-header,
body.content-page > main,
body.content-page > .site-footer {
  position: relative;
  z-index: 1;
}

@keyframes content-star-breathe-a {
  0%, 100% { opacity: 0.18; }
  28% { opacity: 0.74; }
  52% { opacity: 0.9; }
  76% { opacity: 0.38; }
}

@keyframes content-star-breathe-b {
  0%, 100% { opacity: 0.16; }
  18% { opacity: 0.24; }
  56% { opacity: 0.88; }
  78% { opacity: 0.7; }
  92% { opacity: 0.28; }
}

@media (prefers-reduced-motion: reduce) {
  body.content-page::before,
  body.content-page::after {
    animation: none;
    opacity: 0.28;
  }
}

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

.header-pro-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  color: #d6d8dd;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: color 150ms ease, background 150ms ease;
}

.header-pro-link > span,
.mobile-nav a[href*="#plans"] > span,
.pro-accent,
.comparison-head > strong:last-child small,
.comparison-row--pro b:last-child {
  color: #f4be66;
  background: linear-gradient(90deg, #f4df8a 0%, #c89bf2 52%, #7ab8ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.header-pro-link:hover {
  background: rgba(255, 255, 255, 0.055);
}

.language-toggle,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 12px;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.language-toggle {
  gap: 6px;
  min-width: 66px;
  padding-inline: 10px;
  color: var(--paper-soft);
  font-size: 12px;
  font-weight: 700;
}

.language-toggle span:first-child {
  color: var(--sun);
  font-size: 14px;
}

.language-toggle:hover,
.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: var(--line-strong);
}

.menu-toggle {
  display: none;
  width: 42px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle > span:not(.sr-only) {
  width: 17px;
  height: 1.5px;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] > span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-child(2) {
  transform: translateY(-3.25px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

/* The deferred bundle removes `no-js`, but that marker must never select a
   different first layout. Only browsers with scripting truly disabled need
   these fallbacks, which keeps the painted hero stable while JS starts. */
@media (scripting: none) {
  .language-toggle,
  [data-language-toggle-footer] {
    display: none;
  }
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 700;
  line-height: 1.15;
  cursor: pointer;
  transition: transform 180ms var(--ease), background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

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

.button:active {
  transform: translateY(0) scale(0.98);
}

.button--primary {
  color: #15140e;
  background: linear-gradient(135deg, #f4d783 0%, var(--sun) 48%, #a7bede 120%);
  box-shadow: 0 14px 42px rgba(211, 174, 83, 0.18), inset 0 1px rgba(255, 255, 255, 0.4);
}

.button--primary:hover {
  box-shadow: 0 18px 54px rgba(211, 174, 83, 0.28), inset 0 1px rgba(255, 255, 255, 0.5);
}

.button--ghost {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line);
  backdrop-filter: blur(12px);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line-strong);
}

.button--small {
  min-height: 42px;
  padding-inline: 16px;
  border-radius: 12px;
  font-size: 13px;
}

.button--large {
  min-height: 62px;
  padding-inline: 23px;
  border-radius: 17px;
}

.button--large > span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.button--large strong {
  font-size: 15px;
}

.button--large small {
  opacity: 0.76;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button .header-download-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  object-fit: contain;
}

.button .windows-mark {
  width: 23px;
  height: 23px;
  fill: currentColor;
  stroke: none;
}

.play-icon {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid currentColor;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: var(--shell);
  margin: 0 auto;
  padding: 118px 0 72px;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 50%;
  width: min(980px, 100%);
  height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(82, 102, 137, 0.17), transparent 68%);
  pointer-events: none;
}

.hero__content {
  display: contents;
  max-width: 930px;
  margin: 0 auto 68px;
  text-align: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  order: 3;
  margin-top: clamp(64px, 7vw, 92px);
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}

.eyebrow__dot,
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(86, 217, 139, 0.64);
}

.hero h1 {
  order: 4;
  width: 100%;
  max-width: 920px;
  margin: 28px auto 24px;
  font-family: "Smiley Sans", Inter, sans-serif;
  font-size: clamp(56px, 7.2vw, 94px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

html[data-lang="zh"] .hero h1 .hero-title-prefix,
html[data-lang="zh"] .hero h1 em {
  display: inline-block;
  white-space: nowrap;
}

html[data-lang="en"] .hero h1 {
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: clamp(52px, 6.7vw, 88px);
  font-weight: 750;
}

.hero__lead {
  order: 5;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  color: #adb2bc;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.75;
}

.hero__actions {
  order: 6;
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.hero__meta {
  order: 7;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 22px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.025em;
  list-style: none;
}

.hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__meta li + li::before {
  content: "";
  width: 2px;
  height: 2px;
  margin-right: 11px;
  border-radius: 50%;
  background: var(--muted-2);
}

/* Cinema demo */
.hero__stage {
  position: relative;
  order: 2;
  width: 100%;
}

.cinema-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  background: #0c1016;
  box-shadow: var(--shadow-deep), 0 0 0 1px rgba(0, 0, 0, 0.35), inset 0 1px rgba(255, 255, 255, 0.08);
}

.cinema-frame::before {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.cinema-frame__bar,
.cinema-controls {
  position: relative;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 22px;
  color: #aeb5c1;
  background: rgba(13, 17, 24, 0.95);
}

.cinema-frame__bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.session-label,
.session-timer {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.session-label > span:first-child {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e05f53;
  box-shadow: 0 0 12px rgba(224, 95, 83, 0.65);
}

.wave-mini {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 12px;
}

.wave-mini i {
  width: 2px;
  height: 5px;
  border-radius: 1px;
  background: var(--sun);
  animation: wave 900ms ease-in-out infinite alternate;
}

.wave-mini i:nth-child(2) { height: 10px; animation-delay: -420ms; }
.wave-mini i:nth-child(3) { height: 7px; animation-delay: -180ms; }
.wave-mini i:nth-child(4) { height: 3px; animation-delay: -650ms; }

@keyframes wave { to { transform: scaleY(0.45); opacity: 0.5; } }

.cinema-scene {
  position: relative;
  --selection-left: 12%;
  --selection-width: 76%;
  aspect-ratio: 16 / 8.35;
  min-height: 440px;
  overflow: hidden;
  overflow: clip;
  contain: paint;
  isolation: isolate;
  background: #101722;
}

.scene-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.scene-vignette,
.scene-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.scene-vignette {
  z-index: 2;
  background: radial-gradient(ellipse at center, transparent 34%, rgba(3, 6, 10, 0.16) 70%, rgba(2, 4, 7, 0.72) 115%), linear-gradient(180deg, rgba(5, 8, 14, 0.16), transparent 40%, rgba(3, 5, 8, 0.5));
}

.scene-grain {
  z-index: 3;
  opacity: 0.12;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.subtitle-area {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 10%;
  width: min(780px, 76%);
  transform: translateX(-50%);
}

.subtitle-line {
  position: relative;
  z-index: 1;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 2px #000;
  font-size: clamp(14px, 1.7vw, 21px);
  font-weight: 650;
  line-height: 1.4;
}

.subtitle-line--translation {
  color: #f8e6ae;
}

.mask-layer {
  position: absolute;
  z-index: 3;
  left: 0;
  width: 100%;
  height: 46px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 13px;
  background: rgba(23, 28, 35, 0.36);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22), inset 0 1px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  transition: opacity 220ms ease, transform 220ms var(--ease), background 220ms ease, backdrop-filter 220ms ease;
}

.mask-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.1), transparent 75%);
  transform: translateX(-110%);
  animation: glass-sheen 7s ease-in-out infinite;
}

@keyframes glass-sheen { 60%, 100% { transform: translateX(120%); } }

.mask-layer--original { top: 0; }
.mask-layer--translation { top: 46px; }

.mask-layer span {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 12px;
  padding: 3px 7px;
  color: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.22);
  transform: translateY(-50%);
  font-size: 7px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.mask-layer i {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sun);
  transform: translateY(-50%);
  box-shadow: 0 0 10px rgba(231, 197, 107, 0.65);
}

.cinema-frame[data-mode="original"] .mask-layer--translation,
.cinema-frame[data-mode="translation"] .mask-layer--original,
.cinema-frame[data-mode="open"] .mask-layer {
  opacity: 0;
  transform: translateY(5px) scale(0.995);
  pointer-events: none;
}

.cinema-frame[data-material="black"] .mask-layer {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(5, 7, 10, 0.96);
  backdrop-filter: none;
}

.cinema-frame[data-material="dark"] .mask-layer {
  background: rgba(10, 14, 20, 0.72);
  backdrop-filter: blur(22px) saturate(90%);
}

.selection-trace {
  position: absolute;
  z-index: 6;
  left: var(--selection-left);
  bottom: 10%;
  width: 0;
  height: 46px;
  opacity: 0;
  border: 1px dashed rgba(126, 159, 201, 0.92);
  border-radius: 13px;
}

.selection-trace span {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 2px solid var(--blue-bright);
  border-radius: 50%;
  background: #111824;
}

.selection-trace span:nth-child(1) { top: -4px; left: -4px; }
.selection-trace span:nth-child(2) { top: -4px; right: -4px; }
.selection-trace span:nth-child(3) { right: -4px; bottom: -4px; }
.selection-trace span:nth-child(4) { bottom: -4px; left: -4px; }

.cinema-frame[data-phase="select-translation"] .selection-trace {
  animation: trace-selection 1.15s var(--ease) 0.12s both;
}

@keyframes trace-selection {
  0% { width: 0; opacity: 0; }
  14% { opacity: 1; }
  70% { width: var(--selection-width); opacity: 1; }
  100% { width: var(--selection-width); opacity: 0; }
}

.demo-cursor {
  position: absolute;
  z-index: 8;
  right: 11%;
  bottom: 12%;
  opacity: 0;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.55));
}

.demo-cursor svg {
  width: 24px;
  height: 31px;
  fill: #fff;
  stroke: #15191f;
  stroke-width: 1.5;
}

.demo-cursor::after {
  content: "";
  position: absolute;
  top: -9px;
  left: -9px;
  width: 34px;
  height: 34px;
  opacity: 0;
  border: 1px solid rgba(126, 159, 201, 0.9);
  border-radius: 50%;
  transform: scale(0.45);
}

.cinema-frame[data-phase="select-translation"] .demo-cursor {
  right: auto;
  animation: cursor-select-translation 1.15s var(--ease) 0.12s both;
}

@keyframes cursor-select-translation {
  0% { left: calc(var(--selection-left) - 3px); opacity: 0; }
  14% { opacity: 1; }
  70% { left: calc(var(--selection-left) + var(--selection-width) - 3px); opacity: 1; }
  100% { left: calc(var(--selection-left) + var(--selection-width) - 3px); opacity: 0; }
}

.cinema-frame[data-phase="context-menu"] .demo-cursor,
.cinema-frame[data-phase="add-second"] .demo-cursor,
.cinema-frame[data-phase="merge-context-menu"] .demo-cursor,
.cinema-frame[data-phase="merge-action"] .demo-cursor {
  right: 22%;
  bottom: 12%;
  opacity: 1;
  transition: right 320ms var(--ease), bottom 320ms var(--ease), opacity 180ms ease;
}

.cinema-frame[data-phase="context-menu"] .demo-cursor::after,
.cinema-frame[data-phase="merge-context-menu"] .demo-cursor::after {
  animation: right-click-pulse 720ms ease-out 0.18s both;
}

.cinema-frame[data-phase="add-second"] .demo-cursor,
.cinema-frame[data-phase="merge-action"] .demo-cursor {
  right: 24%;
  bottom: 25%;
}

.cinema-frame[data-phase="add-second"] .demo-cursor::after,
.cinema-frame[data-phase="merge-action"] .demo-cursor::after {
  animation: menu-click-pulse 500ms ease-out both;
}

@keyframes right-click-pulse {
  0% { opacity: 0; transform: scale(0.45); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.5); }
}

@keyframes menu-click-pulse {
  0% { opacity: 0.9; transform: scale(0.55); }
  100% { opacity: 0; transform: scale(1.25); }
}

.demo-context-menu {
  position: absolute;
  z-index: 7;
  right: 15%;
  bottom: 23%;
  width: 174px;
  padding: 7px;
  opacity: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px;
  background: rgba(13, 17, 24, 0.94);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
  transform: translateY(7px) scale(0.96);
  transform-origin: right bottom;
  backdrop-filter: blur(14px);
  pointer-events: none;
}

.demo-context-menu__title {
  padding: 4px 7px 6px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.demo-context-menu__item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 6px 8px;
  color: rgba(255, 255, 255, 0.92);
  border: 0;
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 11px;
  font-weight: 650;
  transition: color 160ms ease, background 160ms ease;
}

.demo-context-menu__item[hidden] {
  display: none !important;
}

.demo-context-menu__item:hover,
.demo-context-menu__item:focus-visible {
  color: #fff;
  outline: none;
  background: rgba(126, 159, 201, 0.2);
  box-shadow: inset 0 0 0 1px rgba(126, 159, 201, 0.28);
}

.demo-context-menu__item b {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  color: #10151d;
  border-radius: 5px;
  background: var(--sun);
  font-size: 15px;
  line-height: 1;
}

.cinema-frame[data-phase="context-menu"] .demo-context-menu,
.cinema-frame[data-phase="add-second"] .demo-context-menu,
.cinema-frame[data-phase="merge-context-menu"] .demo-context-menu,
.cinema-frame[data-phase="merge-action"] .demo-context-menu,
.cinema-frame[data-phase="interactive-menu"] .demo-context-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 180ms ease, transform 220ms var(--ease);
}

.cinema-frame[data-phase="interactive-menu"] .demo-context-menu {
  top: var(--demo-menu-top, 20%);
  right: auto;
  bottom: auto;
  left: var(--demo-menu-left, 64%);
  transform-origin: left top;
  pointer-events: auto;
}

.cinema-frame[data-phase="add-second"] .demo-context-menu__item[data-demo-context-action="add"] {
  color: #fff;
  background: rgba(126, 159, 201, 0.24);
  box-shadow: inset 0 0 0 1px rgba(126, 159, 201, 0.3);
}

.cinema-frame[data-phase="merge-action"] .demo-context-menu__item[data-demo-context-action="merge"] {
  color: #fff;
  background: rgba(126, 159, 201, 0.24);
  box-shadow: inset 0 0 0 1px rgba(126, 159, 201, 0.3);
}

.cinema-frame[data-phase="translation-created"] .mask-layer--translation,
.cinema-frame[data-phase="second-created"] .mask-layer--original {
  animation: mask-created 520ms var(--ease) both;
}

@keyframes mask-created {
  0% { filter: brightness(1.6); box-shadow: 0 0 0 1px rgba(126, 159, 201, 0.75), 0 18px 38px rgba(0, 0, 0, 0.3); }
  100% { filter: brightness(1); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22), inset 0 1px rgba(255, 255, 255, 0.12); }
}

.demo-arrow-cue {
  position: absolute;
  z-index: 9;
  top: 26px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 6px 11px 6px 7px;
  opacity: 0;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 12px;
  background: rgba(8, 11, 16, 0.86);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, 7px) scale(0.97);
  backdrop-filter: blur(14px);
  pointer-events: none;
}

.demo-arrow-cue__key {
  display: none;
  width: 30px;
  height: 30px;
  place-items: center;
  padding: 0;
  color: #11161f;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--sun-bright), var(--sun));
  box-shadow: 0 3px 0 rgba(139, 105, 34, 0.78), 0 0 18px rgba(231, 197, 107, 0.22);
  font-family: inherit;
  font-size: 18px;
  font-weight: 850;
  line-height: 1;
}

.demo-arrow-cue__label {
  display: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.cinema-frame[data-phase^="toggle-"] .demo-arrow-cue {
  animation: arrow-cue 1.15s var(--ease) both;
}

.cinema-frame[data-phase="toggle-original-off"] .demo-arrow-cue__key--up,
.cinema-frame[data-phase="toggle-original-on"] .demo-arrow-cue__key--up,
.cinema-frame[data-phase="toggle-translation-off"] .demo-arrow-cue__key--down,
.cinema-frame[data-phase="toggle-translation-on"] .demo-arrow-cue__key--down {
  display: grid;
  animation: arrow-key-press 760ms var(--ease) 0.12s both;
}

.cinema-frame[data-phase="toggle-original-off"] .demo-arrow-cue__label--original-off,
.cinema-frame[data-phase="toggle-translation-off"] .demo-arrow-cue__label--translation-off,
.cinema-frame[data-phase="toggle-original-on"] .demo-arrow-cue__label--original-on,
.cinema-frame[data-phase="toggle-translation-on"] .demo-arrow-cue__label--translation-on {
  display: inline;
}

@keyframes arrow-cue {
  0% { opacity: 0; transform: translate(-50%, 7px) scale(0.97); }
  16%, 74% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -5px) scale(0.985); }
}

@keyframes arrow-key-press {
  0%, 35% { transform: translateY(0); box-shadow: 0 3px 0 rgba(139, 105, 34, 0.78), 0 0 18px rgba(231, 197, 107, 0.22); }
  52%, 70% { transform: translateY(3px); box-shadow: 0 0 0 rgba(139, 105, 34, 0.78), 0 0 24px rgba(231, 197, 107, 0.42); }
  100% { transform: translateY(0); box-shadow: 0 3px 0 rgba(139, 105, 34, 0.78), 0 0 18px rgba(231, 197, 107, 0.22); }
}

.demo-shortcut {
  position: absolute;
  z-index: 8;
  top: 28px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  opacity: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(8, 11, 16, 0.78);
  transform: translate(-50%, 8px);
  backdrop-filter: blur(12px);
}

.demo-shortcut kbd,
.key-combo kbd {
  min-width: 30px;
  padding: 5px 7px;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom-color: rgba(255, 255, 255, 0.25);
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.055));
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.48);
  text-align: center;
  font-family: inherit;
  font-size: 10px;
  font-weight: 750;
}

.cinema-frame[data-phase="shortcut"] .demo-shortcut {
  animation: shortcut-pop 1.2s var(--ease) 0.05s both;
}

@keyframes shortcut-pop {
  0% { opacity: 0; transform: translate(-50%, 8px) scale(0.96); }
  20%, 68% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -8px) scale(0.98); }
}

.cinema-controls {
  min-height: 72px;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.demo-tabs {
  display: flex;
  gap: 4px;
}

.demo-tabs button,
.demo-play {
  min-height: 38px;
  padding: 0 13px;
  color: #969daa;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}

.demo-tabs button:hover,
.demo-tabs button.is-active {
  color: var(--paper);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.07);
}

.demo-tabs button.is-active {
  color: var(--sun-bright);
}

.demo-play {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--paper);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.demo-play .play-icon {
  border-top-width: 4px;
  border-bottom-width: 4px;
  border-left-width: 6px;
}

.stage-caption {
  margin: 18px auto 0;
  color: var(--muted-2);
  text-align: center;
  font-size: 12px;
}

/* Signals */
.signal-strip {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 52px);
  width: min(980px, calc(100% - 48px));
  margin: 14px auto 0;
  padding: 36px 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.signal-item {
  display: flex;
  align-items: baseline;
  gap: 9px;
  white-space: nowrap;
}

.signal-item strong {
  color: var(--paper);
  font-size: 26px;
  letter-spacing: -0.04em;
}

.signal-item span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.signal-line {
  width: 1px;
  height: 20px;
  background: var(--line);
}

/* Shared sections */
.statement,
.practice-modes,
.how,
.features,
.themes,
.shortcuts,
.languages,
.download,
.faq {
  padding-top: clamp(120px, 14vw, 190px);
}

.section-kicker {
  color: var(--muted);
  letter-spacing: 0.1em;
}

.section-kicker > span:first-child {
  display: inline-grid;
  place-items: center;
  width: auto;
  min-width: 30px;
  height: 22px;
  padding-inline: 8px;
  color: var(--sun);
  border: 1px solid rgba(231, 197, 107, 0.25);
  border-radius: 999px;
  font-size: 9px;
  white-space: nowrap;
}

.section-heading {
  margin-bottom: 56px;
}

.section-heading h2,
.statement h2,
.materials h2,
.themes h2,
.languages h2,
.download h2 {
  max-width: 900px;
  margin: 22px 0 0;
  font-family: "Smiley Sans", Inter, sans-serif;
  font-size: clamp(42px, 5.3vw, 68px);
  font-weight: 700;
  letter-spacing: -0.055em;
}

html[data-lang="en"] .section-heading h2,
html[data-lang="en"] .statement h2,
html[data-lang="en"] .materials h2,
html[data-lang="en"] .themes h2,
html[data-lang="en"] .languages h2,
html[data-lang="en"] .download h2 {
  font-family: Inter, ui-sans-serif, sans-serif;
  font-weight: 720;
}

.section-heading--split {
  display: grid;
  grid-template-columns: 1fr 300px;
  align-items: end;
  gap: 60px;
}

.section-heading--split p {
  margin: 0 0 4px;
  color: var(--muted);
  line-height: 1.8;
}

/* Statement */
.statement {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 80px;
  align-items: end;
}

.statement .section-kicker,
.statement h2 {
  grid-column: 1;
}

.statement h2 {
  margin-top: 28px;
}

.statement__copy {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
}

.statement__copy p {
  margin: 0;
  color: #a4aab4;
  font-size: 17px;
  line-height: 1.9;
}

/* Practice mode cards */
.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mode-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  transition: transform 280ms var(--ease), border-color 280ms ease, background 280ms ease;
}

.mode-card::before {
  content: "";
  position: absolute;
  top: -160px;
  left: 50%;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231, 197, 107, 0.1), transparent 68%);
  transform: translateX(-50%);
}

.mode-card:nth-child(2)::before { background: radial-gradient(circle, rgba(96, 127, 168, 0.14), transparent 68%); }
.mode-card:nth-child(3)::before { background: radial-gradient(circle, rgba(136, 119, 165, 0.14), transparent 68%); }

.mode-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.072), rgba(255, 255, 255, 0.023));
}

.mode-card__number {
  position: relative;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.mode-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  height: 185px;
  margin: 20px -6px 26px;
  padding: 36px 24px;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at 74% 26%, rgba(229, 159, 78, 0.52), transparent 25%),
    linear-gradient(150deg, #33465e, #121922 60%, #080c12);
}

.mode-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(1, 4, 8, 0.65));
}

.mode-visual .line {
  position: relative;
  z-index: 2;
  width: 88%;
  height: 28px;
  margin-inline: auto;
  border-radius: 8px;
  background: linear-gradient(90deg, transparent 4%, rgba(255, 255, 255, 0.92) 4% 20%, transparent 20% 23%, rgba(255, 255, 255, 0.92) 23% 45%, transparent 45% 48%, rgba(255, 255, 255, 0.92) 48% 78%, transparent 78%);
  opacity: 0.6;
}

.mode-visual .line--hidden {
  border: 1px solid rgba(255, 255, 255, 0.23);
  background: rgba(19, 24, 31, 0.45);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
  opacity: 1;
  backdrop-filter: blur(13px);
}

.mode-card h3 {
  position: relative;
  margin: 0 0 13px;
  font-size: 22px;
  font-weight: 680;
}

.mode-card p {
  position: relative;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

/* Steps */
.steps {
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 74px 1fr 0.9fr;
  gap: 42px;
  align-items: center;
  min-height: 310px;
  border-bottom: 1px solid var(--line);
}

.step__rail {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step__rail span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-top: 46px;
  color: var(--ink);
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 30px rgba(231, 197, 107, 0.16);
  font-size: 12px;
  font-weight: 800;
}

.step__rail i {
  width: 1px;
  flex: 1;
  margin-top: 12px;
  background: linear-gradient(var(--line-strong), transparent);
}

.step__body {
  padding: 50px 0;
}

.key-combo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}

.key-combo--mouse {
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.key-combo--mouse svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--sun);
  stroke-width: 1.6;
}

.step h3 {
  margin: 22px 0 13px;
  font-size: 28px;
}

.step p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.step__visual {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, #1a2431, #0b1017 70%);
}

.select-visual {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 72% 20%, rgba(231, 197, 107, 0.2), transparent 32%),
    linear-gradient(145deg, #1b293b, #0a0f16 72%);
}

.fake-subtitle {
  color: white;
  font-size: 14px;
  text-shadow: 0 2px 8px #000;
}

.select-box {
  position: absolute;
  width: 75%;
  height: 54px;
  border: 1px dashed var(--blue-bright);
  border-radius: 9px;
}

.select-box i,
.resize-visual i {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 2px solid var(--blue-bright);
  border-radius: 50%;
  background: #101722;
}

.select-box i:nth-child(1), .resize-visual i:nth-child(1) { top: -5px; left: -5px; }
.select-box i:nth-child(2), .resize-visual i:nth-child(2) { top: -5px; right: -5px; }
.select-box i:nth-child(3), .resize-visual i:nth-child(3) { bottom: -5px; left: -5px; }
.select-box i:nth-child(4), .resize-visual i:nth-child(4) { bottom: -5px; right: -5px; }

.switch-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.switch-mask {
  width: 68%;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.055);
  opacity: 0.42;
}

.switch-mask.is-on {
  border-color: rgba(231, 197, 107, 0.42);
  background: rgba(231, 197, 107, 0.12);
  box-shadow: 0 0 22px rgba(231, 197, 107, 0.09);
  opacity: 1;
}

.switch-visual > div {
  display: flex;
  gap: 7px;
}

.switch-visual kbd {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  font-family: inherit;
  font-size: 12px;
}

.resize-visual {
  display: grid;
  place-items: center;
}

.resize-visual::before {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(136, 119, 165, 0.2), transparent 68%);
}

.resize-visual > span {
  position: relative;
  width: 70%;
  height: 64px;
  border: 1px dashed rgba(126, 159, 201, 0.75);
  border-radius: 10px;
  background: rgba(23, 29, 38, 0.62);
  backdrop-filter: blur(10px);
}

/* Feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform 260ms var(--ease), border-color 260ms ease, background 260ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: #141a23;
}

.feature-card--wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 240px;
  gap: 22px;
  align-items: start;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 48px;
  color: var(--sun);
  border: 1px solid rgba(231, 197, 107, 0.18);
  border-radius: 13px;
  background: rgba(231, 197, 107, 0.07);
}

.feature-card--wide .feature-icon {
  margin: 0;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  margin: 0 0 13px;
  font-size: 21px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.dual-mask-visual,
.clickthrough-visual {
  position: relative;
  align-self: stretch;
  min-height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  background: linear-gradient(145deg, #1c2838, #0a0f16 72%);
}

.dual-mask-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  padding: 24px;
}

.dual-mask-visual > span {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px;
  background: rgba(18, 23, 31, 0.42);
  backdrop-filter: blur(12px);
}

.dual-mask-visual i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--ink);
  border-radius: 50%;
  background: var(--sun);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.dual-mask-visual > span:nth-child(2) i {
  color: white;
  background: var(--blue);
}

.clickthrough-visual {
  overflow: hidden;
}

.window-layer {
  position: absolute;
  inset: 22px;
  border-radius: 13px;
  background: linear-gradient(145deg, #2c4057, #17202b);
}

.window-layer::before,
.window-layer::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  height: 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.11);
}

.window-layer::before { top: 26px; }
.window-layer::after { top: 42px; width: 55%; }

.mask-layer-mini {
  position: absolute;
  z-index: 2;
  right: 7px;
  bottom: 34px;
  left: 7px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 11px;
  background: rgba(12, 15, 21, 0.45);
  backdrop-filter: blur(12px);
}

.clickthrough-visual svg {
  position: absolute;
  z-index: 3;
  right: 44px;
  bottom: 24px;
  width: 26px;
  fill: white;
  stroke: #11151b;
  stroke-width: 1.5;
}

/* Materials */
.materials {
  margin-top: clamp(120px, 14vw, 190px);
  padding: clamp(100px, 11vw, 150px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 72% 50%, rgba(96, 127, 168, 0.12), transparent 34%),
    linear-gradient(180deg, #0a0d12, #0c1016 48%, #090c11);
}

.materials__inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
  align-items: center;
}

.materials__copy > p {
  max-width: 470px;
  margin: 26px 0 0;
  color: var(--muted);
  line-height: 1.9;
}

.material-tabs {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  max-width: 360px;
  margin-top: 32px;
}

.material-tabs button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 14px;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}

.material-tabs button:hover,
.material-tabs button.is-active {
  color: var(--paper);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.material-tabs button i {
  width: 17px;
  height: 17px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 5px;
  background: #050609;
}

.material-tabs button[data-material="clear"] i {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(96, 127, 168, 0.35));
}

.material-tabs button[data-material="dark"] i {
  background: #171c24;
}

.material-stage {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 34px;
  background: #0d1219;
  box-shadow: var(--shadow-deep);
}

.material-stage__scene {
  position: relative;
  height: 480px;
  overflow: hidden;
  overflow: clip;
  contain: paint;
  background: linear-gradient(180deg, #33445e 0%, #a06f57 53%, #192431 54%, #081019 100%);
}

.material-stage__scene::after {
  content: "";
  position: absolute;
  z-index: 6;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(3, 6, 9, 0.4));
}

.material-sun {
  position: absolute;
  z-index: 1;
  top: 70px;
  right: 72px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #eca65d;
  box-shadow: 0 0 80px rgba(236, 166, 93, 0.38);
}

.material-hill {
  position: absolute;
  z-index: 2;
  right: -5%;
  bottom: 112px;
  left: -5%;
  height: 230px;
  clip-path: polygon(0 70%, 18% 28%, 36% 63%, 56% 9%, 74% 64%, 89% 33%, 100% 64%, 100% 100%, 0 100%);
  background: #111a25;
}

.material-hill--two {
  z-index: 3;
  bottom: 90px;
  height: 190px;
  background: #090e15;
  clip-path: polygon(0 62%, 17% 24%, 33% 67%, 55% 29%, 73% 76%, 89% 34%, 100% 70%, 100% 100%, 0 100%);
}

.material-water {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  height: 150px;
  background: linear-gradient(180deg, #172231, #071019);
}

.material-subtitle {
  position: absolute;
  z-index: 7;
  right: 12%;
  bottom: 84px;
  left: 12%;
  color: white;
  text-align: center;
  text-shadow: 0 2px 8px #000;
  font-size: 18px;
  font-weight: 650;
}

.material-mask {
  position: absolute;
  z-index: 8;
  right: 9%;
  bottom: 64px;
  left: 9%;
  height: 66px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  background: rgba(25, 30, 38, 0.38);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(130%);
  transition: background 240ms ease, backdrop-filter 240ms ease, border-color 240ms ease;
}

.material-mask::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.12), transparent 68%);
}

.material-mask b {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 14px;
  padding: 4px 8px;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  transform: translateY(-50%);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.material-stage[data-material="black"] .material-mask {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(4, 6, 9, 0.97);
  backdrop-filter: none;
}

.material-stage[data-material="dark"] .material-mask {
  background: rgba(7, 10, 15, 0.72);
  backdrop-filter: blur(23px) saturate(85%);
}

.material-stage__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 66px;
  padding: 0 22px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 11px;
}

.material-stage__label strong {
  color: var(--paper);
  font-size: 12px;
}

/* Color themes */
.themes {
  isolation: isolate;
}

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

.theme-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 84% 8%, rgba(231, 197, 107, 0.08), transparent 30%),
    linear-gradient(150deg, #121821, #0c1016 76%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.theme-card--unified {
  background:
    radial-gradient(circle at 84% 8%, rgba(126, 145, 160, 0.14), transparent 32%),
    linear-gradient(150deg, #121921, #0c1016 76%);
}

.theme-card__head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  min-height: 94px;
}

.theme-card__label {
  color: var(--sun);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.theme-card--unified .theme-card__label {
  color: #a8b7bd;
}

.theme-card h3 {
  max-width: 390px;
  margin: 13px 0 0;
  font-size: 22px;
  letter-spacing: -0.035em;
}

.theme-card__head > strong {
  color: rgba(244, 241, 234, 0.13);
  font-size: clamp(52px, 6vw, 76px);
  font-weight: 760;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.theme-preview {
  position: relative;
  height: 230px;
  margin: 22px 0 20px;
  overflow: hidden;
  overflow: clip;
  contain: paint;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(9, 14, 23, 0) 54%, rgba(5, 8, 13, 0.7)),
    linear-gradient(145deg, #243650, #6f5960 50%, #18202b 72%, #0a0e14);
}

.theme-preview::before,
.theme-preview::after {
  content: "";
  position: absolute;
  right: -4%;
  bottom: 40px;
  left: -4%;
  height: 120px;
  background: #111923;
  clip-path: polygon(0 76%, 17% 38%, 33% 72%, 52% 22%, 70% 69%, 84% 42%, 100% 73%, 100% 100%, 0 100%);
}

.theme-preview::after {
  bottom: 0;
  height: 94px;
  background: #080d14;
  clip-path: polygon(0 66%, 18% 32%, 38% 72%, 56% 36%, 74% 78%, 90% 45%, 100% 70%, 100% 100%, 0 100%);
}

.theme-preview__sun {
  position: absolute;
  top: 30px;
  right: 48px;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #d8a15f;
  box-shadow: 0 0 54px rgba(216, 161, 95, 0.38);
}

.theme-preview__mask {
  position: absolute;
  z-index: 3;
  right: 22px;
  left: 22px;
  display: flex;
  align-items: center;
  height: 42px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 11px;
  background: rgba(13, 18, 25, 0.5);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25), inset 0 1px rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(13px) saturate(115%);
}

.theme-preview__mask--original { bottom: 68px; }
.theme-preview__mask--translation { bottom: 20px; }

.theme-preview__mask i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #292414;
  border-radius: 50%;
  background: #d8be78;
  box-shadow: 0 0 18px rgba(216, 190, 120, 0.22);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.theme-preview__mask--translation i {
  color: #f5f8fb;
  background: #526f87;
  box-shadow: 0 0 18px rgba(82, 111, 135, 0.26);
}

.theme-preview--unified .theme-preview__mask {
  border-color: rgba(158, 173, 153, 0.34);
}

.theme-preview--unified .theme-preview__mask i {
  color: #17191c;
  background: #879783;
  box-shadow: 0 0 18px rgba(135, 151, 131, 0.24);
}

.theme-swatches {
  display: grid;
  gap: 8px;
  margin: 0 2px 22px;
}

.theme-swatches--dual { grid-template-columns: repeat(9, minmax(0, 1fr)); }
.theme-swatches--unified { grid-template-columns: repeat(7, minmax(0, 1fr)); }

.theme-swatch {
  height: 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12);
}

.theme-swatches--dual .theme-swatch {
  background: linear-gradient(90deg, var(--swatch-a) 0 46%, #0d1118 46% 54%, var(--swatch-b) 54% 100%);
}

.theme-swatches--unified .theme-swatch {
  background: var(--swatch-a);
}

.theme-swatch--d01 { --swatch-a: #2563eb; --swatch-b: #ea580c; }
.theme-swatch--d02 { --swatch-a: #e3a8a5; --swatch-b: #9db3c5; }
.theme-swatch--d03 { --swatch-a: #ede3d2; --swatch-b: #1c734b; }
.theme-swatch--d04 { --swatch-a: #aa6875; --swatch-b: #f4eedc; }
.theme-swatch--d05 { --swatch-a: #e8d27d; --swatch-b: #355f78; }
.theme-swatch--d06 { --swatch-a: #ff770f; --swatch-b: #000010; }
.theme-swatch--d07 { --swatch-a: #b5db8a; --swatch-b: #feffaf; }
.theme-swatch--d08 { --swatch-a: #fff4cc; --swatch-b: #ffbe00; }
.theme-swatch--d09 { --swatch-a: #f2e6b3; --swatch-b: #4b2e21; }
.theme-swatch--d10 { --swatch-a: #aef9f5; --swatch-b: #40b8f6; }
.theme-swatch--d11 { --swatch-a: #fce39d; --swatch-b: #40b8f6; }
.theme-swatch--d12 { --swatch-a: #0145f2; --swatch-b: #edf1f5; }
.theme-swatch--d13 { --swatch-a: #a0d2ff; --swatch-b: #3c3c3c; }
.theme-swatch--d14 { --swatch-a: #6478ff; --swatch-b: #ffdafd; }
.theme-swatch--d15 { --swatch-a: #b481f1; --swatch-b: #f9eccd; }
.theme-swatch--d16 { --swatch-a: #f5f2e9; --swatch-b: #86908a; }
.theme-swatch--d17 { --swatch-a: #e3e3e5; --swatch-b: #707899; }
.theme-swatch--d18 { --swatch-a: #d8be78; --swatch-b: #526f87; }

.theme-swatch--u01 { --swatch-a: #484b50; }
.theme-swatch--u02 { --swatch-a: #d1d0cc; }
.theme-swatch--u03 { --swatch-a: #7e91a0; }
.theme-swatch--u04 { --swatch-a: #879783; }
.theme-swatch--u05 { --swatch-a: #7f958d; }
.theme-swatch--u06 { --swatch-a: #ad8b91; }
.theme-swatch--u07 { --swatch-a: #a07e70; }
.theme-swatch--u08 { --swatch-a: #918aa2; }
.theme-swatch--u09 { --swatch-a: #b19f82; }
.theme-swatch--u10 { --swatch-a: #6f8e91; }
.theme-swatch--u11 { --swatch-a: #3e6fa5; }
.theme-swatch--u12 { --swatch-a: #c79a3b; }
.theme-swatch--u13 { --swatch-a: #a9534d; }
.theme-swatch--u14 { --swatch-a: #2f755b; }

.theme-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.themes + .shortcuts,
.shortcuts + .languages,
.languages + .download,
.download + .faq {
  padding-top: clamp(96px, 10vw, 145px);
}

/* Shortcuts */
.shortcut-board {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
}

.shortcut-row {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 74px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.shortcut-row:last-child {
  border-bottom: 0;
}

.shortcut-row--primary {
  min-height: 82px;
  background: rgba(255, 255, 255, 0.018);
}

.shortcut-row strong {
  color: #c9cdd4;
  font-size: 14px;
  font-weight: 580;
}

.shortcut-tag {
  padding: 5px 9px;
  color: var(--sun);
  border: 1px solid rgba(231, 197, 107, 0.18);
  border-radius: 999px;
  background: rgba(231, 197, 107, 0.06);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shortcut-separator {
  height: 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.16);
}

/* Languages */
.languages {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 0.8fr;
  gap: 68px;
  align-items: center;
}

.languages__orb {
  position: relative;
  width: 240px;
  height: 240px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: radial-gradient(circle at 45% 42%, rgba(231, 197, 107, 0.14), transparent 32%), radial-gradient(circle, rgba(96, 127, 168, 0.12), transparent 68%);
  box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.018);
}

.languages__orb::before,
.languages__orb::after {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.languages__orb::after {
  inset: 65px;
}

.languages__orb span {
  position: absolute;
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  color: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(16, 21, 29, 0.78);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
  font-weight: 650;
}

.languages__orb span:nth-child(1) { top: 9px; left: 98px; }
.languages__orb span:nth-child(2) { top: 92px; right: 7px; color: var(--sun); }
.languages__orb span:nth-child(3) { bottom: 8px; left: 96px; color: var(--blue-bright); }
.languages__orb span:nth-child(4) { top: 94px; left: 8px; color: #b9a8d0; }

.languages__copy h2 {
  font-size: clamp(38px, 4.5vw, 58px);
}

.languages__copy p {
  max-width: 580px;
  margin: 24px 0 0;
  color: var(--muted);
  line-height: 1.85;
}

.language-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.language-cloud li {
  padding: 8px 11px;
  color: #b8bdc5;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
}

/* Download */
.download__panel {
  position: relative;
  overflow: hidden;
  padding: 94px 32px 58px;
  border: 1px solid var(--line-strong);
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 0%, rgba(231, 197, 107, 0.12), transparent 32%),
    radial-gradient(circle at 76% 58%, rgba(96, 127, 168, 0.12), transparent 32%),
    linear-gradient(145deg, #131922, #0c1016 64%);
  box-shadow: var(--shadow-deep);
  text-align: center;
}

.download__panel::before,
.download__panel::after {
  content: "";
  position: absolute;
  width: 720px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.13), transparent);
  transform: rotate(-12deg);
}

.download__panel::before { top: 180px; left: -260px; }
.download__panel::after { right: -260px; bottom: 180px; }

.download__halo {
  position: absolute;
  top: 34px;
  left: 50%;
  width: 260px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 171, 77, 0.24), transparent 67%);
  transform: translateX(-50%);
  filter: blur(28px);
}

.download__icon {
  position: relative;
  z-index: 2;
  margin: 0 auto 30px;
  border-radius: 29px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.42);
}

.download h2 {
  max-width: 790px;
  margin-inline: auto;
}

.download__panel > p:not(.download__notice) {
  max-width: 620px;
  margin: 24px auto 30px;
  color: var(--muted);
  font-size: 17px;
}

.download__facts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 650;
}

.download__trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.download__trust-row > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--paper-soft);
  transition: color 150ms ease;
}

.download__trust-row > a:hover {
  color: var(--sun-bright);
}

.beta-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.beta-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 14px rgba(231, 197, 107, 0.34);
}

.download__facts > span + span::before {
  content: "";
  display: inline-block;
  width: 2px;
  height: 2px;
  margin: 0 14px 3px 0;
  border-radius: 50%;
  background: var(--muted-2);
}

.hash-copy {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0;
  color: var(--blue-bright);
  border: 0;
  border-bottom: 1px dotted rgba(126, 159, 201, 0.5);
  background: transparent;
  font-size: inherit;
  cursor: pointer;
}

.download__notice {
  max-width: 720px;
  margin: 26px auto 0;
  padding-top: 22px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.065);
  font-size: 13px;
  line-height: 1.7;
}

/* FAQ */
.faq {
  padding-bottom: clamp(120px, 14vw, 180px);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  min-height: 82px;
  padding: 0 4px;
  color: #d7d9de;
  list-style: none;
  font-size: 17px;
  font-weight: 620;
  cursor: pointer;
}

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

.faq summary i {
  position: relative;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.faq summary i::before,
.faq summary i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  background: var(--muted);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.faq summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq details[open] summary i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq details > div {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 240ms var(--ease);
}

.faq details[open] > div {
  grid-template-rows: 1fr;
}

.faq details > div > p {
  max-width: 780px;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.faq details[open] > div > p {
  padding: 0 0 28px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #080b0f;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(120px, 0.38fr) minmax(470px, 1.3fr);
  gap: 54px;
  padding-top: 72px;
  padding-bottom: 64px;
}

.footer-account-link {
  display: inline-flex;
  width: max-content;
  min-height: 32px;
  align-items: center;
  align-self: start;
  gap: 8px;
  margin-top: 2px;
  color: #d9dbe0;
  font-size: 13px;
  font-weight: 760;
}

.footer-account-link::after {
  color: #a98232;
  content: "→";
  transition: transform 160ms ease;
}

.footer-account-link:hover {
  color: var(--paper);
}

.footer-account-link:hover::after {
  transform: translateX(3px);
}

.download-picker {
  width: min(680px, calc(100% - 32px));
  max-width: none;
  padding: 0;
  color: #f2eee5;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: transparent;
  box-shadow: 0 32px 110px rgba(0, 0, 0, 0.62);
}

.download-picker::backdrop {
  background: rgba(3, 5, 9, 0.78);
  backdrop-filter: blur(12px);
}

.download-picker__surface {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 82% 0%, rgba(194, 151, 69, 0.11), transparent 34%),
    linear-gradient(150deg, rgba(20, 24, 31, 0.99), rgba(10, 13, 18, 0.99));
}

.download-picker__surface::before {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent 8%, rgba(230, 202, 130, 0.7), transparent 92%);
  content: "";
}

.download-picker__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  color: #a4a9b2;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.download-picker__close:hover {
  color: #f2eee5;
  border-color: rgba(255, 255, 255, 0.2);
}

.download-picker__heading {
  padding-right: 48px;
}

.download-picker__heading h2 {
  margin: 0;
  color: #d0aa55;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.download-picker__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.download-picker__option {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  min-height: 98px;
  align-items: center;
  gap: 14px;
  padding: 18px;
  color: #e8e7e3;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.026);
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.download-picker__option:hover {
  color: #fff;
  border-color: rgba(199, 165, 87, 0.42);
  background: rgba(199, 165, 87, 0.07);
  transform: translateY(-2px);
}

.download-picker__platform-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  background: rgba(0, 0, 0, 0.18);
}

.download-picker__platform-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.65);
}

.download-picker__option-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.download-picker__option-copy strong {
  font-size: 16px;
}

.download-picker__option-copy small {
  overflow: hidden;
  color: #888e98;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.download-picker__arrow {
  color: #b8954b;
  font-size: 17px;
}

body:has(.download-picker[open]) {
  overflow: hidden;
}

.brand--footer {
  align-self: start;
}

.brand--footer .brand__name {
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.brand--footer .brand__name strong {
  font-size: 20px;
}

.brand--footer .brand__name small {
  max-width: 250px;
  color: var(--muted-2);
  letter-spacing: 0.03em;
  line-height: 1.4;
  text-transform: none;
}

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

.footer__links > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links strong {
  margin-bottom: 5px;
  color: #d9dbe0;
  font-size: 12px;
}

.footer__links a,
.footer__links button {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  width: max-content;
  padding: 0;
  color: var(--muted);
  border: 0;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
  transition: color 150ms ease;
}

.footer__links a:hover,
.footer__links button:hover {
  color: var(--paper);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  color: var(--muted-2);
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.03em;
}

.toast {
  position: fixed;
  z-index: 1000;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  max-width: min(340px, calc(100% - 40px));
  padding: 12px 16px;
  color: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(15, 20, 27, 0.92);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  backdrop-filter: blur(16px);
  transition: opacity 180ms ease, transform 180ms var(--ease);
  font-size: 12px;
}

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

.clipboard-proxy {
  position: fixed;
  opacity: 0;
  pointer-events: none;
}

/* Reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

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

.js .reveal:focus-within {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal--delay-sm { transition-delay: 80ms; }
.js .reveal--delay { transition-delay: 130ms; }
.js .reveal--delay-lg { transition-delay: 170ms; }

/* Responsive */
@media (max-width: 1080px) {
  :root { --shell: min(100% - 40px, 980px); }

  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav {
    position: absolute;
    top: 78px;
    left: 50%;
    display: flex;
    width: min(520px, calc(100% - 32px));
    padding: 10px;
    flex-direction: column;
    opacity: 0;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(10, 13, 18, 0.96);
    box-shadow: var(--shadow-deep);
    transform: translate(-50%, -8px) scale(0.98);
    visibility: hidden;
    backdrop-filter: blur(24px);
    transition: opacity 180ms ease, transform 180ms var(--ease), visibility 180ms;
  }
  .mobile-nav.is-open { opacity: 1; transform: translate(-50%, 0) scale(1); visibility: visible; }
  .mobile-nav a { padding: 13px 14px; color: #c5c9d0; border-radius: 10px; font-size: 14px; }
  .mobile-nav a:hover { background: rgba(255, 255, 255, 0.055); }
  .mobile-nav a[aria-current="page"] { color: #aa8432; background: rgba(255, 255, 255, 0.055); }
  .mobile-nav a:last-child { margin-top: 5px; color: #15140e; background: var(--sun); font-weight: 750; text-align: center; }

  .cinema-scene { min-height: 0; }
  .statement { grid-template-columns: 1fr 320px; gap: 50px; }
  .materials__inner { gap: 52px; }
  .step { grid-template-columns: 58px 1fr 0.78fr; gap: 28px; }
  .languages { grid-template-columns: 210px 1fr; gap: 46px; }
  .languages__orb { width: 200px; height: 200px; }
  .languages__orb span:nth-child(1) { left: 78px; }
  .languages__orb span:nth-child(3) { left: 76px; }
  .language-cloud { grid-column: 2; }
}

@media (max-width: 1080px) and (scripting: none) {
  .menu-toggle { display: none; }
  .site-header { position: relative; top: 0; padding-top: 8px; }
  .mobile-nav {
    position: static;
    top: auto;
    left: auto;
    width: min(520px, calc(100% - 32px));
    margin: 10px auto 0;
    opacity: 1;
    transform: none;
    visibility: visible;
    transition: none;
  }
  .hero,
  .content-main { padding-top: 64px; }
}

@media (max-width: 820px) {
  :root { --shell: calc(100% - 32px); --header-h: 66px; }

  .site-header { top: max(8px, env(safe-area-inset-top)); padding-left: max(8px, env(safe-area-inset-left)); padding-right: max(8px, env(safe-area-inset-right)); }
  .header-shell { width: calc(100% - 16px); height: 66px; padding-left: 12px; border-radius: 20px; background: rgba(10, 13, 18, 0.68); border-color: var(--line); backdrop-filter: blur(20px); }
  .header-shell .brand__name small { display: none !important; }
  .header-actions > .button,
  .header-pro-link { display: none; }
  .language-toggle { min-width: 54px; }

  .hero { padding-top: 140px; }
  .hero__content { margin-bottom: 48px; }
  .hero__actions { align-items: stretch; }
  .hero__actions .button { flex: 1; }
  .cinema-frame { border-radius: 28px; }
  .cinema-frame__bar { min-height: 50px; }
  .cinema-scene { aspect-ratio: 4 / 3; }
  .subtitle-area { width: 82%; bottom: 12%; }
  .cinema-controls { flex-direction: column; align-items: stretch; gap: 10px; padding-block: 12px; }
  .demo-tabs { display: grid; grid-template-columns: repeat(4, 1fr); }
  .demo-tabs button { padding-inline: 6px; }
  .demo-play { justify-content: center; }

  .signal-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .signal-line { display: none; }
  .signal-item { justify-content: center; }

  .statement { grid-template-columns: 1fr; gap: 28px; }
  .statement__copy { grid-column: 1; grid-row: auto; }

  .mode-grid { grid-template-columns: 1fr; }
  .mode-card { min-height: 0; display: grid; grid-template-columns: 1fr 1.2fr; gap: 8px 22px; align-items: end; }
  .mode-card__number { grid-column: 1; }
  .mode-visual { grid-column: 2; grid-row: 1 / span 3; margin: 0; min-height: 230px; }
  .mode-card h3, .mode-card p { grid-column: 1; }

  .step { grid-template-columns: 52px 1fr; gap: 22px; padding-bottom: 32px; }
  .step__visual { grid-column: 2; height: 210px; margin-bottom: 20px; }

  .section-heading--split { grid-template-columns: 1fr; gap: 22px; }
  .section-heading--split p { max-width: 500px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-card--wide { grid-column: 1 / -1; }
  .theme-showcase { grid-template-columns: 1fr; }

  .materials__inner { grid-template-columns: 1fr; }
  .material-tabs { max-width: none; flex-direction: row; flex-wrap: wrap; }
  .material-tabs button { flex: 1 1 auto; justify-content: center; }

  .shortcut-row { grid-template-columns: 180px 1fr auto; padding-inline: 20px; }
  .languages { grid-template-columns: 180px 1fr; gap: 36px; }
  .languages__orb { width: 170px; height: 170px; }
  .languages__orb span { width: 38px; height: 38px; font-size: 12px; }
  .languages__orb span:nth-child(1) { top: 5px; left: 66px; }
  .languages__orb span:nth-child(2) { top: 65px; right: 4px; }
  .languages__orb span:nth-child(3) { bottom: 5px; left: 66px; }
  .languages__orb span:nth-child(4) { top: 66px; left: 4px; }

  .download__facts { flex-wrap: wrap; }
  .footer__top { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 580px) {
  :root { --shell: calc(100% - 24px); }

  body { font-size: 15px; }
  h1, h2, h3 { text-wrap: balance; }
  p, li, summary { text-wrap: pretty; }
  .grain { display: none; }
  .ambient span { filter: blur(64px); opacity: 0.2; }
  .header-shell { padding-right: 9px; background: rgba(10, 13, 18, 0.96); backdrop-filter: none; }
  .brand { gap: 9px; }
  .brand img { width: 36px; height: 36px; border-radius: 10px; }
  .brand__name strong { font-size: 16px; }
  .language-toggle { height: 40px; min-width: 49px; padding-inline: 8px; }
  .menu-toggle { width: 40px; height: 40px; }

  .hero { padding-top: 126px; padding-bottom: 52px; }
  .eyebrow { font-size: 9px; letter-spacing: 0.08em; }
  .hero h1 { margin-top: 24px; font-size: clamp(44px, 13.7vw, 62px); }
  html[data-lang="en"] .hero h1 { font-size: clamp(40px, 11.6vw, 54px); }
  .hero__lead { font-size: 16px; line-height: 1.7; }
  .hero__actions { flex-direction: column; }
  .hero__meta { flex-wrap: wrap; gap: 8px 13px; }
  .hero__meta li + li::before { margin-right: 4px; }

  .cinema-frame { border-radius: 21px; }
  .cinema-frame__bar { padding-inline: 15px; }
  .session-label, .session-timer { font-size: 10px; }
  .cinema-scene { --selection-left: 6%; --selection-width: 88%; aspect-ratio: 1 / 1.08; }
  .subtitle-area { bottom: 14%; width: 88%; }
  .subtitle-line { min-height: 38px; padding-inline: 9px; font-size: 12px; }
  .mask-layer { height: 38px; border-radius: 10px; }
  .mask-layer--translation { top: 38px; }
  .selection-trace { bottom: 14%; height: 38px; }
  .demo-context-menu { right: 8%; bottom: 22%; width: 158px; }
  .demo-arrow-cue { top: 16px; }
  .demo-arrow-cue__label { font-size: 9px; }
  .mask-layer span { display: none; }
  .demo-tabs { grid-template-columns: 1fr 1fr; }
  .stage-caption { padding-inline: 10px; }

  .signal-strip { width: var(--shell); padding-inline: 0; }
  .signal-item { flex-direction: column; align-items: center; gap: 0; }
  .signal-item strong { font-size: 23px; }

  .statement, .practice-modes, .how, .features, .themes, .shortcuts, .languages, .download, .faq { padding-top: 106px; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2, .statement h2, .materials h2, .themes h2, .languages h2, .download h2 { font-size: clamp(38px, 11vw, 50px); }
  .statement__copy p { font-size: 15px; }

  .mode-card { display: block; padding: 22px; }
  .mode-card__number { margin-bottom: 14px; }
  .mode-visual { height: 175px; min-height: 0; margin: 0 0 24px; }

  .step { grid-template-columns: 38px 1fr; gap: 14px; }
  .step__rail span { width: 32px; height: 32px; margin-top: 36px; }
  .step__body { padding: 38px 0 24px; }
  .step h3 { font-size: 24px; }
  .step__visual { grid-column: 1 / -1; margin-left: 52px; width: calc(100% - 52px); }

  .feature-grid { grid-template-columns: 1fr; }
  .feature-card, .feature-card--wide { grid-column: 1; display: block; min-height: 0; padding: 24px; }
  .feature-card .feature-icon { margin: 0 0 34px; }
  .feature-card--wide .feature-icon { margin-bottom: 28px; }
  .dual-mask-visual, .clickthrough-visual { min-height: 180px; margin-top: 26px; }

  .materials { margin-top: 106px; padding-block: 90px; }
  .material-tabs { display: grid; grid-template-columns: 1fr; }
  .material-tabs button { justify-content: flex-start; }
  .material-stage__scene { height: 390px; }
  .material-sun { top: 64px; right: 46px; width: 96px; height: 96px; }
  .material-subtitle { font-size: 14px; }

  .theme-card { padding: 22px; }
  .theme-card__head { min-height: 86px; }
  .theme-card h3 { font-size: 20px; }
  .theme-preview { height: 198px; margin-top: 16px; }
  .theme-preview__sun { top: 25px; right: 36px; width: 58px; height: 58px; }
  .theme-swatches--dual { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .theme-swatches--unified { grid-template-columns: repeat(7, minmax(0, 1fr)); }

  .shortcut-row { grid-template-columns: 1fr auto; gap: 10px; min-height: 90px; padding: 16px; }
  .shortcut-row .key-combo { grid-column: 1; }
  .shortcut-row strong { grid-column: 1 / -1; grid-row: 2; font-size: 13px; }
  .shortcut-tag { grid-column: 2; grid-row: 1; }

  .languages { grid-template-columns: 1fr; text-align: center; }
  .languages__orb { margin-inline: auto; }
  .languages__copy p { margin-inline: auto; }
  .language-cloud { grid-column: 1; justify-content: center; }

  .download__panel { padding: 72px 18px 36px; border-radius: 28px; }
  .download__icon { width: 104px; height: 104px; border-radius: 23px; }
  .download .button--large { max-width: 100%; padding-inline: 16px; }
  .download .button--large small { max-width: 230px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .download__facts { flex-direction: column; gap: 5px; }
  .download__facts > span + span::before { display: none; }
  .download__trust-row { flex-wrap: wrap; gap: 10px 16px; }

  .faq summary { min-height: 74px; font-size: 15px; }
  .footer__links { grid-template-columns: 1fr 1fr; gap: 38px 24px; }
  .footer__bottom { flex-wrap: wrap; justify-content: center; gap: 9px 18px; padding-block: 18px; text-align: center; }
  .download-picker__surface { padding: 28px 20px 22px; }
  .download-picker__heading { padding-right: 38px; }
  .download-picker__options { grid-template-columns: 1fr; margin-top: 22px; }
  .download-picker__option { min-height: 82px; padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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

@media (prefers-contrast: more) {
  :root { --line: rgba(255, 255, 255, 0.24); --muted: #b9bec7; }
  .button--primary { background: #f2d27b; }
}

/* Secondary content pages */
.content-page {
  min-height: 100vh;
}

.content-page .site-header {
  position: sticky;
  top: 0;
  padding-top: 10px;
  background: linear-gradient(180deg, rgba(7, 9, 13, 0.96), rgba(7, 9, 13, 0));
}

.content-page .header-shell {
  height: 66px;
  background: rgba(10, 13, 18, 0.76);
  border-color: var(--line);
  backdrop-filter: blur(22px);
}

.content-main {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100% - 40px));
  margin-inline: auto;
  padding: 110px 0 150px;
}

.content-hero {
  padding-bottom: 58px;
  border-bottom: 1px solid var(--line);
}

.content-hero h1 {
  margin: 22px 0 18px;
  font-family: "Smiley Sans", Inter, sans-serif;
  font-size: clamp(48px, 7vw, 76px);
  font-weight: 700;
  letter-spacing: -0.055em;
}

html[data-lang="en"] .content-hero h1 {
  font-family: Inter, sans-serif;
}

html[data-lang="en"] .not-found h1 {
  font-family: Inter, ui-sans-serif, sans-serif;
}

.content-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.content-article {
  padding-top: 64px;
}

.content-article section {
  margin-bottom: 62px;
}

.content-article h2 {
  margin: 0 0 18px;
  color: var(--paper);
  font-size: 27px;
  letter-spacing: -0.035em;
}

.content-article h3 {
  margin: 28px 0 12px;
  color: #d7d9de;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.content-article p,
.content-article li {
  color: #a2a8b2;
  line-height: 1.9;
}

.content-article ul,
.content-article ol {
  padding-left: 22px;
}

.content-article li + li {
  margin-top: 9px;
}

.content-article a {
  color: var(--sun-bright);
  border-bottom: 1px solid rgba(231, 197, 107, 0.28);
}

.content-article code {
  padding: 3px 7px;
  color: #d9dfeb;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.86em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.content-note {
  margin: 26px 0;
  padding: 20px 22px;
  color: #b8bdc5;
  border: 1px solid rgba(231, 197, 107, 0.2);
  border-radius: 15px;
  background: rgba(231, 197, 107, 0.055);
  line-height: 1.8;
}

.guide-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: guide;
}

.guide-step {
  position: relative;
  padding: 26px 26px 26px 76px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--surface);
  counter-increment: guide;
}

.guide-step::before {
  content: counter(guide);
  position: absolute;
  top: 24px;
  left: 24px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--ink);
  border-radius: 50%;
  background: var(--sun);
  font-size: 11px;
  font-weight: 800;
}

.guide-step h3 {
  margin-top: 0;
}

.guide-step p:last-child {
  margin-bottom: 0;
}

.release-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.release-card + .release-card {
  margin-top: 14px;
}

.release-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}

.release-card__head h2 {
  margin: 0;
}

.release-badge {
  padding: 5px 9px;
  color: var(--sun);
  border: 1px solid rgba(231, 197, 107, 0.2);
  border-radius: 99px;
  background: rgba(231, 197, 107, 0.06);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.not-found {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 30px;
  text-align: center;
}

.not-found__inner {
  max-width: 650px;
}

.not-found img {
  width: 108px;
  margin: 0 auto 28px;
  border-radius: 24px;
}

.not-found strong {
  display: block;
  color: var(--sun);
  font-size: 12px;
  letter-spacing: 0.15em;
}

.not-found h1 {
  margin: 18px 0;
  font-family: "Smiley Sans", Inter, sans-serif;
  font-size: clamp(44px, 8vw, 76px);
}

.not-found p {
  margin-bottom: 28px;
  color: var(--muted);
}

.not-found__actions {
  justify-content: center;
}

.not-found__language {
  margin: 24px auto 0;
}

@media (max-width: 580px) {
  .content-main { width: calc(100% - 28px); padding-top: 80px; }
  .content-hero { padding-bottom: 40px; }
  .content-hero h1 { font-size: 44px; }
  .content-article { padding-top: 44px; }
  .guide-step { padding: 68px 20px 22px; }
  .release-card__head { align-items: flex-start; flex-direction: column; }
}

/* 2026 homepage architecture refresh */
.hero-brand-lockup {
  order: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: clamp(20px, 2.6vw, 32px);
  width: 100%;
  margin: 0 auto clamp(30px, 3.5vw, 44px);
}

.hero-brand-lockup img {
  width: clamp(116px, 11vw, 168px);
  height: auto;
  filter: drop-shadow(0 24px 46px rgba(0, 0, 0, 0.46));
}

.hero-brand-lockup > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(10px, 1.1vw, 15px);
  min-height: clamp(116px, 11vw, 168px);
  text-align: left;
}

.hero .hero-brand-lockup__name {
  order: 0;
  display: inline-block;
  width: auto;
  max-width: none;
  margin: 0;
  color: var(--paper);
  font-family: "Naikai Muvail", "Microsoft YaHei UI", sans-serif;
  font-size: clamp(58px, 7vw, 102px);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 0.9;
  font-synthesis: none;
  transform: none;
  transform-origin: center;
}

html[data-lang="en"] .hero-brand-lockup__name {
  font-family: Inter, ui-sans-serif, sans-serif;
  font-weight: 760;
  letter-spacing: -0.045em;
  transform: none;
}

.hero-brand-lockup__roman {
  color: var(--sun);
  font-size: clamp(11px, 1.1vw, 14px);
  font-weight: 760;
  letter-spacing: 0.42em;
}

html[data-lang="zh"] .hero-brand-lockup__roman {
  display: none;
}

/* The language selector is a persistent bottom-right control on every page. */
.language-toggle,
[data-language-toggle-footer] {
  display: none !important;
}

.language-dock {
  position: fixed;
  z-index: 120;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  font-family: Inter, "Microsoft YaHei UI", sans-serif;
}

.language-dock__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(12, 15, 21, 0.9);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.language-dock__toggle:hover,
.language-dock.is-open .language-dock__toggle {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(21, 25, 33, 0.96);
}

.language-dock__toggle:active {
  transform: translateY(1px);
}

.language-dock__toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-dock__toggle .language-dock__chevron {
  width: 12px;
  height: 12px;
  color: var(--muted);
  transition: transform 180ms ease;
}

.language-dock.is-open .language-dock__chevron {
  transform: rotate(180deg);
}

.language-dock__current {
  font-size: 12px;
  font-weight: 650;
}

.language-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  width: 238px;
  max-height: min(72vh, 560px);
  overflow: auto;
  padding: 8px;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(24, 27, 33, 0.97);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.language-menu[hidden] {
  display: none;
}

.language-menu__heading {
  padding: 7px 9px 9px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.language-menu__option {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 34px;
  padding: 6px 30px 6px 9px;
  color: #f0f1f3;
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: color 140ms ease, background 140ms ease;
}

.language-menu__option:hover:not(:disabled),
.language-menu__option:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.075);
  outline: none;
}

.language-menu__option[aria-checked="true"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
}

.language-menu__option[aria-checked="true"]::after {
  content: "";
  position: absolute;
  right: 11px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  transform: translateY(-50%);
  box-shadow: 0 0 11px rgba(86, 217, 139, 0.72);
}

.language-menu__option:disabled {
  color: #747983;
  cursor: default;
}

.language-menu__divider {
  height: 1px;
  margin: 6px 7px;
  background: rgba(255, 255, 255, 0.09);
}

.language-menu__note {
  margin: 7px 9px 5px;
  color: #707680;
  font-size: 9px;
  line-height: 1.5;
}

.home-page .statement,
.home-page .how,
.home-page .features,
.home-page .materials,
.home-page .themes,
.home-page .shortcuts,
.home-page .languages,
.home-page .faq {
  display: none;
}

.whats-in__lead {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.whats-in__cta {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.plan-comparison {
  padding: 110px 0 126px;
}

.comparison-card {
  overflow: hidden;
  margin-top: 42px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(21, 26, 36, 0.94), rgba(11, 14, 20, 0.9));
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.28);
}

.comparison-head,
.comparison-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px 190px;
  align-items: center;
}

.comparison-head {
  min-height: 72px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.045);
}

.comparison-head > *,
.comparison-row > * {
  height: 100%;
  padding: 20px 26px;
}

.comparison-head > * + *,
.comparison-row > * + * {
  border-left: 1px solid var(--line);
  text-align: center;
}

.comparison-head small {
  display: block;
  margin-top: 5px;
  color: #b995ff;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-row {
  min-height: 66px;
  color: #c8ccd3;
  border-top: 1px solid var(--line);
}

.comparison-row b {
  color: #79d69a;
  font-size: 18px;
}

.comparison-row--pro {
  background: linear-gradient(90deg, transparent, rgba(139, 102, 221, 0.09));
}

.comparison-row--pro b:last-child {
  font-size: 12px;
  font-weight: 800;
}

.comparison-row--pro b:nth-child(2) {
  color: #5f6570;
}

.comparison-note {
  margin: 18px 0 0;
  color: #777d87;
  font-size: 12px;
  text-align: right;
}

.features-page .hero,
.features-page .signal-strip,
.features-page .statement,
.features-page .practice-modes,
.features-page .plan-comparison,
.features-page .download,
.features-page .faq {
  display: none;
}

.features-page .features-intro {
  display: grid;
}

.features-intro {
  min-height: 72vh;
  place-items: center;
  padding: 190px 24px 100px;
  text-align: center;
}

.features-intro__inner {
  width: min(920px, 100%);
}

.features-intro img {
  width: clamp(112px, 13vw, 176px);
  margin: 0 auto 28px;
  filter: drop-shadow(0 28px 55px rgba(0, 0, 0, 0.5));
}

.features-intro .section-kicker {
  margin-bottom: 24px;
}

.features-intro h1 {
  margin: 0;
  font-family: "Smiley Sans", Inter, sans-serif;
  font-size: clamp(58px, 8vw, 108px);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.features-intro h1 em {
  color: var(--sun);
  font-style: normal;
}

.features-intro p {
  max-width: 680px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

html.cms-preview-mode [data-site-content-key] {
  cursor: text !important;
  outline: 1px dashed rgba(239, 209, 117, .42);
  outline-offset: 3px;
  transition: outline-color .16s ease, box-shadow .16s ease;
}

html.cms-preview-mode img[data-site-content-key] {
  cursor: pointer !important;
}

html.cms-preview-mode [data-site-content-key]:hover {
  outline: 2px solid #efd175;
  outline-offset: 4px;
  box-shadow: 0 0 0 7px rgba(239, 209, 117, .1);
}

.cms-managed-card__media {
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  min-height: 180px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  background: #070a0f;
  color: var(--muted);
}

.cms-managed-card__media--mode {
  height: 185px;
  margin: 20px -6px 26px;
  width: calc(100% + 12px);
}

.cms-managed-card__media--step { height: 190px; }
.cms-managed-card__media--feature { height: 190px; margin-bottom: 26px; }

.cms-managed-card__media img,
.cms-managed-card__media video {
  display: block;
  width: 100%;
  height: 100%;
}

.cms-managed-card__media--contain img,
.cms-managed-card__media--contain video { object-fit: contain; }
.cms-managed-card__media--cover img,
.cms-managed-card__media--cover video { object-fit: cover; }

.mode-card.cms-managed-card-size-wide,
.feature-card.cms-managed-card-size-wide { grid-column: span 2; }

.feature-card.cms-managed-card-has-media {
  display: block;
}

.cms-card-title-small h3 { font-size: clamp(17px, 1.7vw, 21px) !important; }
.cms-card-title-large h3 { font-size: clamp(27px, 3vw, 38px) !important; }
.cms-card-body-small p { font-size: clamp(12px, 1.1vw, 14px) !important; }
.cms-card-body-large p { font-size: clamp(17px, 1.8vw, 21px) !important; }

html.cms-preview-mode [data-cms-managed-card],
html.cms-preview-mode [data-cms-managed-section] {
  position: relative;
}

.cms-card-editor-trigger,
.cms-section-editor-trigger {
  position: absolute;
  z-index: 40;
  top: 10px;
  right: 10px;
  min-height: 32px;
  padding: 6px 10px;
  color: #161208;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  background: #efd175;
  box-shadow: 0 9px 26px rgba(0, 0, 0, .35);
  font-family: Inter, "Microsoft YaHei UI", sans-serif;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.cms-section-editor-trigger {
  top: 18px;
  right: 18px;
  color: var(--paper);
  border-color: rgba(239, 209, 117, .52);
  background: rgba(19, 23, 31, .94);
}

html.cms-preview-mode [data-cms-card-hidden="true"] {
  min-height: 120px;
  outline: 2px dashed rgba(255, 124, 115, .88);
  outline-offset: 4px;
}

html.cms-preview-mode [data-cms-section-hidden="true"] {
  min-height: 130px;
  outline: 2px dashed rgba(255, 124, 115, .88);
  outline-offset: -2px;
}

html.cms-preview-mode [data-cms-card-hidden="true"] > :not(.cms-card-editor-trigger),
html.cms-preview-mode [data-cms-section-hidden="true"] > :not(.cms-section-editor-trigger) { opacity: .28; }

.cms-content-blocks {
  width: 100%;
  display: grid;
  margin: 48px auto;
}

.cms-content-block {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  scroll-margin-top: 110px;
}

.cms-width-narrow { width: min(760px, calc(100% - 48px)); }
.cms-width-standard { width: min(980px, calc(100% - 48px)); }
.cms-width-wide { width: min(1180px, calc(100% - 48px)); }
.cms-width-full { width: calc(100% - 24px); }

.cms-spacing-compact { padding-block: 20px; }
.cms-spacing-normal { padding-block: 44px; }
.cms-spacing-airy { padding-block: 76px; }

.cms-content-block__card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 48px);
  border: 1px solid transparent;
  border-radius: 28px;
}

.cms-background-none .cms-content-block__card {
  background: transparent;
}

.cms-background-panel .cms-content-block__card {
  border-color: var(--line);
  background: rgba(16, 21, 30, .78);
  box-shadow: 0 28px 76px rgba(0, 0, 0, .25);
}

.cms-background-glow .cms-content-block__card {
  border-color: rgba(239, 209, 117, .18);
  background:
    radial-gradient(circle at 80% 0%, rgba(239, 209, 117, .1), transparent 24rem),
    rgba(16, 21, 30, .78);
  box-shadow: 0 28px 76px rgba(0, 0, 0, .25);
}

.cms-auto-align-on .cms-content-block__card {
  align-items: center;
}

.cms-auto-align-off .cms-content-block__card {
  align-items: start;
}

.cms-layout-media-left,
.cms-layout-media-right {
  display: grid;
  gap: clamp(26px, 5vw, 68px);
}

.cms-layout-media-left.cms-split-40 { grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); }
.cms-layout-media-left.cms-split-50 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cms-layout-media-left.cms-split-60 { grid-template-columns: minmax(0, 60fr) minmax(0, 40fr); }
.cms-layout-media-right.cms-split-40 { grid-template-columns: minmax(0, 60fr) minmax(0, 40fr); }
.cms-layout-media-right.cms-split-50 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cms-layout-media-right.cms-split-60 { grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); }
.cms-layout-media-right .cms-content-block__media { order: 2; }
.cms-layout-media-right .cms-content-block__copy { order: 1; }

.cms-content-block__media {
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  background: #05070a;
}

.cms-content-block video,
.cms-content-block img {
  width: 100%;
  height: 100%;
  max-height: min(72vh, 760px);
  display: block;
}

.cms-fit-contain video,
.cms-fit-contain img { object-fit: contain; }
.cms-fit-cover video,
.cms-fit-cover img { object-fit: cover; }

.cms-ratio-16-9 .cms-content-block__media { aspect-ratio: 16 / 9; }
.cms-ratio-4-3 .cms-content-block__media { aspect-ratio: 4 / 3; }
.cms-ratio-1-1 .cms-content-block__media { aspect-ratio: 1; }
.cms-ratio-9-16 .cms-content-block__media {
  width: min(100%, 520px);
  aspect-ratio: 9 / 16;
  justify-self: center;
}

.cms-content-block__empty {
  min-height: inherit;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 32px;
  border: 1px dashed rgba(239, 209, 117, .38);
  color: var(--muted);
  text-align: center;
}

.cms-content-block__copy {
  max-width: 820px;
  margin: 26px auto 0;
}

.cms-layout-media-left .cms-content-block__copy,
.cms-layout-media-right .cms-content-block__copy { margin: 0; }
.cms-content-block--text .cms-content-block__copy { margin-top: 0; }
.cms-align-left .cms-content-block__copy { margin-inline: 0 auto; text-align: left; }
.cms-align-center .cms-content-block__copy { margin-inline: auto; text-align: center; }
.cms-align-right .cms-content-block__copy { margin-inline: auto 0; text-align: right; }

.cms-content-block__copy h2 {
  margin: 0;
  font-family: "Smiley Sans", Inter, sans-serif;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.cms-title-small .cms-content-block__copy h2 { font-size: clamp(26px, 3vw, 34px); }
.cms-title-medium .cms-content-block__copy h2 { font-size: clamp(32px, 4vw, 46px); }
.cms-title-large .cms-content-block__copy h2 { font-size: clamp(40px, 5vw, 64px); }
.cms-title-hero .cms-content-block__copy h2 { font-size: clamp(52px, 7vw, 92px); }

.cms-content-block__copy p {
  margin: 16px auto 0;
  color: var(--muted);
  line-height: 1.8;
  white-space: pre-line;
}

.cms-body-small .cms-content-block__copy p { font-size: clamp(13px, 1.2vw, 15px); }
.cms-body-medium .cms-content-block__copy p { font-size: clamp(15px, 1.5vw, 18px); }
.cms-body-large .cms-content-block__copy p { font-size: clamp(18px, 2vw, 23px); }

.cms-layout-cinema {
  min-height: clamp(440px, 65vw, 760px);
  display: grid;
  align-items: end !important;
  isolation: isolate;
}

.cms-layout-cinema::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 6, 10, .9), rgba(4, 6, 10, .25) 70%, rgba(4, 6, 10, .5));
  content: "";
}

.cms-layout-cinema .cms-content-block__media {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
}

.cms-layout-cinema .cms-content-block__copy {
  width: min(760px, 80%);
  margin: 0;
  color: #fff;
}

.cms-layout-cinema .cms-content-block__copy p { color: rgba(255, 255, 255, .74); }

html.cms-preview-mode [data-site-content-block] {
  cursor: pointer;
  outline: 1px dashed rgba(239, 209, 117, .55);
  outline-offset: 5px;
}

html.cms-preview-mode [data-site-content-block]:hover {
  outline: 2px solid #efd175;
  box-shadow: 0 0 0 8px rgba(239, 209, 117, .1);
}

html:not(.cms-preview-mode) [data-cms-hidden="true"] {
  display: none !important;
}

html.cms-preview-mode [data-cms-hidden="true"] {
  min-width: 90px;
  min-height: 34px;
  opacity: .45;
  outline-color: rgba(255, 124, 115, .9);
  filter: grayscale(.8);
}

@media (max-width: 760px) {
  .hero-brand-lockup {
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
  }
  .hero-brand-lockup img { width: 94px; }
  .hero-brand-lockup > div { min-height: 94px; gap: 8px; }
  .hero-brand-lockup__name { font-size: 56px; }
  .hero-brand-lockup__roman { font-size: 9px; letter-spacing: 0.3em; }
  .language-dock {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
  }
  .language-dock__toggle { min-height: 40px; padding-inline: 12px; }
  .language-menu { width: min(238px, calc(100vw - 24px)); max-height: 68vh; }
  .plan-comparison { padding: 76px 0 86px; }
  .comparison-card { overflow-x: auto; border-radius: 18px; }
  .comparison-head,
  .comparison-row { min-width: 650px; grid-template-columns: minmax(280px, 1fr) 120px 150px; }
  .comparison-head > *,
  .comparison-row > * { padding: 17px 20px; }
  .comparison-note { text-align: left; }
  .features-intro { min-height: 62vh; padding-top: 150px; }
  .cms-content-blocks { width: 100%; margin-block: 36px; }
  .cms-content-block { width: calc(100% - 24px); }
  .cms-spacing-compact { padding-block: 14px; }
  .cms-spacing-normal { padding-block: 28px; }
  .cms-spacing-airy { padding-block: 44px; }
  .cms-content-block__card { border-radius: 20px; }
  .cms-layout-media-left,
  .cms-layout-media-right { display: grid; grid-template-columns: 1fr; gap: 24px; }
  .cms-layout-media-right .cms-content-block__media,
  .cms-layout-media-right .cms-content-block__copy { order: initial; }
  .cms-layout-media-left .cms-content-block__copy,
  .cms-layout-media-right .cms-content-block__copy { margin-top: 0; }
  .cms-layout-cinema { min-height: 520px; }
  .cms-layout-cinema .cms-content-block__copy { width: 100%; }
}

/* 2026-07-24 homepage and feature-story rebuild */
.cms-index-reservation {
  display: none !important;
}

.header-pro-link > span {
  color: #d5d9e1;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: currentColor;
  font-weight: 680;
}

.home-page .hero {
  padding-bottom: 34px;
}

.home-page .hero__content {
  margin-bottom: 46px;
}

.home-page .hero-brand-lockup {
  margin-bottom: 46px;
}

.home-page .hero__stage {
  width: min(1040px, 100%);
}

.home-promise {
  padding: 54px 0 66px;
  text-align: center;
}

.home-promise__eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
}

.home-promise h2 {
  max-width: 920px;
  margin: 0 auto;
  font-family: "Smiley Sans", Inter, sans-serif;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: -.05em;
}

html[data-lang="en"] .home-promise h2 {
  font-family: Inter, ui-sans-serif, sans-serif;
  font-weight: 720;
  letter-spacing: -.045em;
}

.home-values {
  padding: 30px 0 112px;
}

.home-values__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value-mark {
  position: relative;
  min-height: 218px;
  padding: 34px 28px 30px;
}

.value-mark + .value-mark {
  border-left: 1px solid var(--line);
}

.value-mark::before,
.value-mark::after {
  content: "";
  position: absolute;
  top: 31px;
  width: 20px;
  height: 42px;
  border: 1px solid rgba(231, 197, 107, .22);
  opacity: .8;
}

.value-mark::before {
  right: 36px;
  border-width: 0 1px 1px 0;
  border-radius: 0 0 100% 0;
  transform: rotate(-16deg);
}

.value-mark::after {
  right: 14px;
  border-width: 0 0 1px 1px;
  border-radius: 0 0 0 100%;
  transform: rotate(16deg);
}

.value-mark__index {
  color: var(--sun);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
}

.value-mark strong {
  display: block;
  margin-top: 40px;
  color: var(--paper);
  font-size: 20px;
}

.value-mark p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.platform-showcase {
  padding-bottom: 150px;
}

.platform-showcase__heading {
  max-width: 820px;
  margin: 0 auto 54px;
  text-align: center;
}

.platform-showcase__heading .section-kicker {
  justify-content: center;
}

.platform-showcase__heading h2 {
  margin: 20px 0 0;
  font-family: "Smiley Sans", Inter, sans-serif;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 1;
  letter-spacing: -.055em;
}

html[data-lang="en"] .platform-showcase__heading h2 {
  font-family: Inter, ui-sans-serif, sans-serif;
  font-weight: 720;
  letter-spacing: -.05em;
}

.platform-showcase__heading > p {
  max-width: 660px;
  margin: 20px auto 0;
  color: var(--muted);
  line-height: 1.8;
}

.platform-stack {
  display: grid;
  gap: 28px;
}

.platform-panel {
  position: relative;
  overflow: hidden;
  padding: 28px 28px 38px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% -10%, rgba(103, 131, 177, .16), transparent 34rem),
    radial-gradient(circle at 16% 0%, rgba(231, 197, 107, .1), transparent 26rem),
    linear-gradient(145deg, rgba(22, 27, 38, .96), rgba(11, 14, 21, .98));
  box-shadow: 0 36px 90px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .04);
}

.platform-panel:nth-child(2) {
  background:
    radial-gradient(circle at 84% -12%, rgba(142, 124, 170, .18), transparent 36rem),
    radial-gradient(circle at 15% 0%, rgba(231, 197, 107, .08), transparent 26rem),
    linear-gradient(145deg, rgba(21, 25, 36, .96), rgba(10, 13, 20, .98));
}

.platform-panel__header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 56px;
  margin-bottom: 18px;
}

.platform-panel__header > div {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.platform-panel__header strong {
  color: var(--paper);
  font-size: 22px;
  letter-spacing: -.02em;
}

.platform-panel__header small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.platform-mark {
  position: relative;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
}

.platform-mark--windows {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  transform: skewY(-4deg);
}

.platform-mark--windows i {
  background: linear-gradient(145deg, #f5f5f2, #a9b4c6);
  box-shadow: 0 0 16px rgba(194, 212, 243, .15);
}

.platform-mark--mac::before {
  content: "";
  position: absolute;
  inset: 7px 4px 2px;
  border-radius: 48% 48% 44% 44% / 56% 56% 42% 42%;
  background: linear-gradient(145deg, #f5f5f2, #a9b4c6);
  transform: rotate(-4deg);
}

.platform-mark--mac::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 15px;
  width: 8px;
  height: 10px;
  border-radius: 100% 0 100% 0;
  background: #dfe4ec;
  transform: rotate(-26deg);
}

.platform-shelf {
  position: relative;
  z-index: 2;
  margin-top: 18px;
}

.platform-shelf--video {
  margin-top: 32px;
}

.platform-shelf__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 2px 12px;
  color: #d9dce2;
  font-size: 12px;
  font-weight: 750;
}

.platform-shelf__head small {
  color: #747b87;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .06em;
}

.platform-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(390px, 55%);
  gap: 16px;
  overflow-x: auto;
  padding: 0 1px 14px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(193, 205, 229, .42) rgba(255, 255, 255, .035);
}

.platform-track::-webkit-scrollbar {
  height: 6px;
}

.platform-track::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
}

.platform-track::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(193, 205, 229, .38);
}

.platform-media-card {
  min-width: 0;
  margin: 0;
  scroll-snap-align: start;
}

.platform-media-slot {
  position: relative;
  display: grid;
  min-height: 230px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  background:
    linear-gradient(125deg, rgba(78, 105, 145, .28), rgba(53, 59, 91, .12)),
    radial-gradient(circle at 78% 18%, rgba(231, 171, 91, .28), transparent 28%),
    #0b111a;
  box-shadow: inset 0 1px rgba(255, 255, 255, .055);
}

.platform-media-slot--video {
  background:
    linear-gradient(135deg, rgba(82, 68, 118, .18), rgba(20, 28, 43, .25)),
    radial-gradient(circle at 24% 28%, rgba(89, 123, 169, .22), transparent 35%),
    #080d15;
}

.platform-media-slot img,
.platform-media-slot video {
  width: 100%;
  height: 100%;
  min-height: 230px;
  display: block;
  object-fit: cover;
}

.platform-media-placeholder {
  display: grid;
  justify-items: center;
  gap: 13px;
  max-width: 250px;
  padding: 26px;
  color: #aeb5c0;
  text-align: center;
}

.platform-media-placeholder > span:first-child {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--sun);
  border: 1px solid rgba(231, 197, 107, .25);
  border-radius: 50%;
  background: rgba(231, 197, 107, .05);
  font-size: 10px;
  font-weight: 800;
}

.platform-media-placeholder .platform-play {
  padding-left: 2px;
}

.platform-media-placeholder strong {
  font-size: 13px;
  font-weight: 650;
}

.platform-media-card figcaption {
  padding: 10px 4px 0;
  color: #858c98;
  font-size: 11px;
}

.platform-panel__fade {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 150px;
  background: linear-gradient(transparent, rgba(5, 7, 11, .58));
  pointer-events: none;
}

.platform-showcase__cta {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.features-page .feature-steps {
  padding-top: 132px;
}

.features-page .feature-steps .steps {
  border-top-color: rgba(255, 255, 255, .12);
}

.features-page .features,
.features-page .materials,
.features-page .themes,
.features-page .languages,
.features-page .download,
.features-page .faq {
  display: block;
}

.features-page .features {
  padding-top: 130px;
}

.mouse-dot {
  width: 12px;
  height: 16px;
  border: 1px solid var(--sun);
  border-radius: 7px;
}

.feature-icon--material {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.feature-icon--material i {
  width: 11px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}

.feature-icon--material i:nth-child(2) {
  background: rgba(202, 218, 238, .28);
  backdrop-filter: blur(6px);
}

.feature-icon--material i:nth-child(3) {
  background: rgba(6, 9, 14, .82);
}

.feature-icon--merge,
.feature-icon--display,
.feature-icon--window {
  position: relative;
}

.feature-icon--merge i {
  position: absolute;
  width: 21px;
  height: 14px;
  border: 1px solid currentColor;
  border-radius: 5px;
}

.feature-icon--merge i:first-child {
  transform: translate(-5px, -4px);
}

.feature-icon--merge i:last-child {
  transform: translate(5px, 4px);
}

.feature-icon--display i {
  position: absolute;
  width: 23px;
  height: 16px;
  border: 1px solid currentColor;
  border-radius: 4px;
}

.feature-icon--display i:first-child {
  transform: translate(-7px, -3px);
}

.feature-icon--display i:last-child {
  transform: translate(7px, 3px);
}

.feature-icon--window {
  display: flex;
  gap: 3px;
  align-items: center;
  justify-content: center;
}

.feature-icon--window i {
  width: 8px;
  height: 23px;
  border-radius: 3px;
  background: currentColor;
  opacity: .45;
}

.feature-icon--window i:nth-child(2) {
  height: 31px;
  opacity: .8;
}

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

.palette-orbit-card {
  min-height: 330px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 82% 4%, rgba(231, 197, 107, .08), transparent 22rem),
    linear-gradient(150deg, #121821, #0c1016 76%);
}

.palette-orbit-card + .palette-orbit-card {
  background:
    radial-gradient(circle at 82% 4%, rgba(126, 145, 160, .14), transparent 22rem),
    linear-gradient(150deg, #121921, #0c1016 76%);
}

.palette-orbit-card header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  color: var(--paper);
  font-size: 18px;
  font-weight: 700;
}

.palette-orbit-card header strong {
  color: rgba(244, 241, 234, .13);
  font-size: 60px;
  line-height: 1;
  letter-spacing: -.07em;
}

.palette-orbit-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px 12px;
  margin-top: 34px;
}

.palette-orbit-grid i {
  position: relative;
  display: block;
  width: 48px;
  height: 30px;
  margin: auto;
}

.palette-orbit-grid i::before,
.palette-orbit-grid i::after {
  content: "";
  position: absolute;
  top: 2px;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  box-shadow: inset 0 1px rgba(255, 255, 255, .13), 0 6px 16px rgba(0, 0, 0, .18);
}

.palette-orbit-grid i::before {
  left: 2px;
  background: var(--swatch-a);
}

.palette-orbit-grid i::after {
  right: 2px;
  background: var(--swatch-b, var(--swatch-a));
}

.palette-orbit-grid--unified i::before {
  filter: brightness(.86);
}

.palette-orbit-grid--unified i::after {
  filter: brightness(1.08);
}

.desktop-fit {
  padding-top: clamp(110px, 12vw, 168px);
}

.desktop-fit__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.desktop-fit__grid article {
  min-height: 210px;
  padding: 28px 24px;
}

.desktop-fit__grid article + article {
  border-left: 1px solid var(--line);
}

.desktop-fit__grid article > span {
  color: var(--sun);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}

.desktop-fit__grid strong {
  display: block;
  margin-top: 38px;
  color: var(--paper);
  font-size: 18px;
}

.desktop-fit__grid p {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

html.cms-preview-mode .platform-media-slot[data-site-content-key] {
  cursor: pointer !important;
}

html.cms-preview-mode .platform-media-slot[data-site-content-key]:hover {
  box-shadow: 0 0 0 3px rgba(239, 209, 117, .18), inset 0 1px rgba(255, 255, 255, .08);
}

@media (max-width: 900px) {
  .home-values__grid,
  .desktop-fit__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-mark:nth-child(3),
  .desktop-fit__grid article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .value-mark:nth-child(4),
  .desktop-fit__grid article:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .platform-track {
    grid-auto-columns: minmax(330px, 74%);
  }

  .palette-orbits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .home-page .hero {
    padding-top: 104px;
  }

  .home-promise {
    padding: 38px 0 52px;
  }

  .home-values {
    padding-bottom: 86px;
  }

  .home-values__grid,
  .desktop-fit__grid {
    grid-template-columns: 1fr;
  }

  .value-mark,
  .desktop-fit__grid article {
    min-height: 176px;
    padding: 26px 22px;
  }

  .value-mark + .value-mark,
  .desktop-fit__grid article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .value-mark strong,
  .desktop-fit__grid strong {
    margin-top: 26px;
  }

  .platform-showcase {
    padding-bottom: 110px;
  }

  .platform-showcase__heading {
    margin-bottom: 34px;
  }

  .platform-panel {
    padding: 20px 16px 30px;
    border-radius: 23px;
  }

  .platform-track {
    grid-auto-columns: minmax(270px, 88%);
    gap: 12px;
  }

  .platform-media-slot,
  .platform-media-slot img,
  .platform-media-slot video {
    min-height: 178px;
  }

  .features-page .feature-steps {
    padding-top: 100px;
  }

  .palette-orbit-card {
    padding: 22px 18px;
  }

  .palette-orbit-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 8px;
  }

  .palette-orbit-grid i {
    transform: scale(.92);
  }
}
