@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/manrope-cyrillic-400.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/manrope-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/manrope-cyrillic-600.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/manrope-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-cyrillic-800.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-latin-800.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/unbounded-cyrillic-700.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/unbounded-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-cyrillic-500.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-latin-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #06070e;
  --bg-soft: #090c16;
  --bg-raised: #0d111d;
  --surface: rgba(17, 23, 40, 0.66);
  --surface-2: rgba(255, 255, 255, 0.035);
  --surface-3: rgba(255, 255, 255, 0.06);
  --line: rgba(148, 163, 200, 0.15);
  --line-strong: rgba(148, 163, 200, 0.28);
  --text: #eef2ff;
  --muted: #9aa6c2;
  --muted-2: #77839f;
  --cyan: #67e8f9;
  --cyan-strong: #22d3ee;
  --cyan-deep: #0891b2;
  --crimson: #fb7185;
  --violet: #a78bfa;
  --green: #34d399;
  --amber: #fbbf24;
  --radius: 20px;
  --radius-sm: 12px;
  --font-body: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Unbounded', 'Manrope', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Cascadia Code', 'Consolas', monospace;
  --header-h: 72px;
  --container: 1180px;
  --shadow-lg: 0 40px 90px -40px rgba(0, 0, 0, 0.85);
  --shadow-md: 0 24px 60px -32px rgba(0, 0, 0, 0.8);
  --ease: cubic-bezier(0.22, 0.68, 0.24, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

html.i18n-pending body {
  visibility: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 620px at 88% -120px, rgba(34, 211, 238, 0.09), transparent 62%),
    radial-gradient(900px 580px at -12% 8%, rgba(167, 139, 250, 0.07), transparent 62%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-locked {
  overflow: hidden;
}

::selection {
  color: #04121a;
  background: rgba(103, 232, 249, 0.9);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.14;
}

p {
  margin: 0;
}

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
}

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

img {
  height: auto;
}

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

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

button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

summary {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-track {
  background: #080a12;
}

::-webkit-scrollbar-thumb {
  border: 3px solid #080a12;
  border-radius: 999px;
  background: #26304a;
}

::-webkit-scrollbar-thumb:hover {
  background: #35425f;
}

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

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--cyan);
  color: #04121a;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

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

/* ============ Header ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(6, 7, 14, 0.55);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
}

.site-header.is-scrolled,
.site-header.nav-open {
  border-bottom-color: var(--line);
  background: rgba(6, 8, 15, 0.88);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: var(--header-h);
}

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

.brand img {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  box-shadow: 0 8px 22px -10px rgba(34, 211, 238, 0.55);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.brand-sub {
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 20px;
}

.site-nav a {
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.site-nav a[aria-current='page'] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.site-nav .nav-auth {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 1px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

.lang-btn {
  min-width: 31px;
  padding: 5px 6px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  transition: color 0.2s, background 0.2s;
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn.is-active {
  color: #c7f8ff;
  background: rgba(103, 232, 249, 0.13);
  box-shadow: inset 0 0 0 1px rgba(103, 232, 249, 0.22);
}

.header-auth {
  padding: 9px 13px;
  font-size: 13px;
}

.header-auth .icon {
  width: 17px;
  height: 17px;
}

.header-cta {
  padding: 10px 16px;
  font-size: 13px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.menu-toggle .icon {
  width: 19px;
  height: 19px;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(2, 4, 9, 0.62);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.nav-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

/* ============ Buttons & common ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.002em;
  white-space: nowrap;
  transition: transform 0.22s var(--ease), background 0.22s, border-color 0.22s, box-shadow 0.22s,
    color 0.22s;
}

.btn .icon {
  width: 17px;
  height: 17px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn[disabled],
.btn.is-disabled {
  opacity: 0.55;
  pointer-events: none;
  transform: none;
}

.btn-primary {
  color: #031018;
  background: linear-gradient(135deg, #a5f3fc 0%, #67e8f9 38%, #22d3ee 100%);
  box-shadow: 0 12px 34px -14px rgba(34, 211, 238, 0.8);
}

.btn-primary:hover {
  box-shadow: 0 16px 42px -12px rgba(34, 211, 238, 0.9);
}

.btn-outline {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.028);
}

.btn-outline:hover {
  border-color: rgba(103, 232, 249, 0.4);
  background: rgba(103, 232, 249, 0.06);
}

.btn-ghost {
  color: var(--muted);
}

.btn-ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.btn-sm {
  padding: 9px 14px;
  font-size: 12.5px;
}

.btn-lg {
  padding: 15px 25px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

.btn-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.btn-icon:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.07);
}

.btn-icon .icon {
  width: 18px;
  height: 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--cyan);
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}

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

.section--tight {
  padding: 70px 0;
}

.section-head {
  max-width: 740px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.1vw, 2.55rem);
  margin-bottom: 16px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head--center .eyebrow::before {
  display: none;
}

.lead {
  max-width: 660px;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--muted);
}

.section-head--center .lead {
  margin-inline: auto;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 13px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  box-shadow: var(--shadow-md);
}

.inline-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px 16px;
  border: 1px solid rgba(103, 232, 249, 0.18);
  border-radius: 14px;
  background: rgba(103, 232, 249, 0.045);
  font-size: 13px;
  line-height: 1.65;
  color: #b9dbe4;
}

.inline-note .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--cyan);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  color: var(--cyan);
  transition: gap 0.2s, color 0.2s;
}

.text-link:hover {
  gap: 11px;
  color: #a5f3fc;
}

.text-link .icon {
  width: 15px;
  height: 15px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.check-list {
  display: grid;
  gap: 11px;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.check-list .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--cyan);
}

/* ============ Hero ============ */

.hero {
  position: relative;
  isolation: isolate;
  padding: 68px 0 104px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('/assets/img/cosmos.svg') center / cover no-repeat;
  opacity: 0.9;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(6, 7, 14, 0.32) 0%,
    rgba(6, 7, 14, 0.62) 55%,
    var(--bg) 98%
  );
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(0, 1.07fr);
  gap: 58px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border: 1px solid rgba(103, 232, 249, 0.26);
  border-radius: 999px;
  background: rgba(6, 20, 27, 0.45);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 600;
  color: #c9f7ff;
}

.badge:hover {
  border-color: rgba(103, 232, 249, 0.45);
}

.badge-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(103, 232, 249, 0.9);
}

.badge-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(103, 232, 249, 0.45);
  border-radius: 50%;
  animation: pulse-ring 2.6s ease-out infinite;
}

.hero-title {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: clamp(2.15rem, 4.2vw, 3.7rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.hero-title .accent {
  color: transparent;
  background: linear-gradient(100deg, #a5f3fc 5%, #67e8f9 38%, #c4b5fd 96%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lead {
  max-width: 530px;
  margin: 22px 0 0;
  font-size: 16.5px;
  line-height: 1.75;
  color: #aab5ce;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 30px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted-2);
}

.hero-note .icon {
  width: 15px;
  height: 15px;
  color: var(--green);
}

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero-stat-label {
  max-width: 120px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--muted-2);
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 10% -6% -6% 8%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(34, 211, 238, 0.18), transparent 72%);
  filter: blur(28px);
}

.hero-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: #0a0d17;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.95), 0 0 70px -30px rgba(34, 211, 238, 0.35);
  transform: perspective(1600px) rotateY(-2deg) rotateX(0.8deg);
  transition: transform 0.6s var(--ease), border-color 0.4s;
}

.hero-frame:hover {
  transform: perspective(1600px) rotateY(0deg) rotateX(0deg);
  border-color: rgba(103, 232, 249, 0.32);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  font-size: 10.5px;
  color: var(--muted-2);
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3a4256;
}

.window-dots i:nth-child(1) {
  background: #fb7185;
}

.window-dots i:nth-child(2) {
  background: #fbbf24;
}

.window-dots i:nth-child(3) {
  background: #34d399;
}

.window-bar img {
  width: 15px;
  height: 15px;
  margin-left: 4px;
  border-radius: 4px;
}

.window-title {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.window-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: #94e9d4;
}

.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.9);
}

.hero-shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  background: none;
  cursor: zoom-in;
}

.hero-shot > img {
  width: 100%;
  height: auto;
}

.shot-expand {
  position: absolute;
  right: 13px;
  bottom: 13px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  color: var(--text);
  background: rgba(4, 7, 13, 0.7);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s, transform 0.25s;
}

.hero-shot:hover .shot-expand,
.hero-shot:focus-visible .shot-expand {
  opacity: 1;
  transform: none;
}

.shot-expand .icon {
  width: 15px;
  height: 15px;
}

.hero-float {
  position: absolute;
  right: -14px;
  bottom: -42px;
  width: 47%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 13px;
  background: var(--bg-soft);
  box-shadow: 0 34px 60px -24px rgba(0, 0, 0, 0.95);
  transform: rotate(1.6deg);
}

.hero-float img {
  width: 100%;
  height: auto;
}

.hero-float figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-top: 1px solid var(--line);
  font-size: 9.5px;
  color: var(--muted);
  background: rgba(8, 11, 20, 0.94);
}

.hero-float .float-label {
  padding: 2px 6px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.1);
}

.hero-chips {
  position: absolute;
  top: 30px;
  left: -18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(6, 9, 17, 0.72);
  backdrop-filter: blur(10px);
  font-size: 10.5px;
  font-weight: 600;
  color: #d7e2f8;
  box-shadow: 0 10px 26px -14px rgba(0, 0, 0, 0.9);
}

.chip .icon {
  width: 14px;
  height: 14px;
  color: var(--cyan);
}

.chip--pink .icon {
  color: var(--crimson);
}

.chip--violet .icon {
  color: var(--violet);
}

/* ============ Marquee ============ */

.marquee {
  position: relative;
  padding: 22px 0;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.016);
  overflow: hidden;
}

.marquee-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 17px;
}

.marquee-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.marquee-more {
  font-size: 11.5px;
  color: var(--muted-2);
}

.marquee-viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 46s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 38px;
  padding-right: 38px;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: rgba(238, 242, 255, 0.68);
}

.dot--tg {
  background: #2aabee;
}
.dot--discord {
  background: #5865f2;
}
.dot--vk {
  background: #4c75a3;
}
.dot--youtube {
  background: #ff0033;
}
.dot--music {
  background: #ffcc00;
}
.dot--kino {
  background: #ff5500;
}
.dot--anime {
  background: #e5484d;
}
.dot--kinogo {
  background: #f97316;
}
.dot--chatgpt {
  background: #10a37f;
}
.dot--gemini {
  background: #8ab4f8;
}
.dot--claude {
  background: #d97757;
}
.dot--deepseek {
  background: #4d6bfe;
}

/* ============ Plain / compare ============ */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.96fr);
  gap: 64px;
  align-items: start;
}

.split-copy h2 {
  font-size: clamp(1.75rem, 3.1vw, 2.5rem);
  margin-bottom: 18px;
}

.split-copy p + p {
  margin-top: 14px;
}

.split-copy .inline-note {
  margin-top: 24px;
}

.plain-cards {
  display: grid;
  gap: 12px;
}

.step-card {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  transition: border-color 0.25s, transform 0.25s var(--ease), background 0.25s;
}

.step-card:hover {
  transform: translateY(-2px);
  border-color: rgba(103, 232, 249, 0.26);
  background: linear-gradient(150deg, rgba(103, 232, 249, 0.055), rgba(255, 255, 255, 0.015));
}

.step-num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(103, 232, 249, 0.22);
  border-radius: 13px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.055);
}

.step-card-label {
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.step-card h3 {
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.step-card p {
  font-size: 13px;
  line-height: 1.62;
  color: var(--muted);
}

.compare-block {
  margin-top: 68px;
}

.compare-head {
  margin-bottom: 22px;
}

.compare-head h3 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.compare-head p {
  font-size: 14px;
  color: var(--muted-2);
}

.table-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(10, 13, 23, 0.58);
  box-shadow: var(--shadow-md);
}

.table-scroll {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
}

.compare-table thead th {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid var(--line);
}

.compare-table thead th:nth-child(2) {
  width: 36%;
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.045);
}

.compare-table thead th:nth-child(3) {
  width: 32%;
}

.compare-table tbody tr + tr {
  border-top: 1px solid var(--line);
}

.compare-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.018);
}

.compare-table td:first-child {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.compare-table td {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

.compare-table td:nth-child(2) {
  position: relative;
  color: #c9dcf2;
  background: rgba(103, 232, 249, 0.032);
}

.cell-browser,
.cell-webhub {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.cell-browser .icon {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  color: #5d6884;
}

.cell-webhub .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--cyan);
}

/* ============ Features ============ */

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

.feature-card {
  position: relative;
  padding: 24px 22px 25px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.014));
  transition: transform 0.28s var(--ease), border-color 0.28s, background 0.28s;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: -60px;
  left: -20px;
  width: 170px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(34, 211, 238, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(103, 232, 249, 0.28);
  background: linear-gradient(160deg, rgba(103, 232, 249, 0.06), rgba(255, 255, 255, 0.014));
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border: 1px solid rgba(103, 232, 249, 0.18);
  border-radius: 13px;
  color: var(--cyan);
  background: linear-gradient(145deg, rgba(103, 232, 249, 0.11), rgba(167, 139, 250, 0.05));
}

.feature-icon .icon {
  width: 21px;
  height: 21px;
}

.feature-card h3 {
  margin-bottom: 7px;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.feature-card p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.features-foot {
  margin-top: 24px;
}

/* ============ Gallery ============ */

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

.gallery-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(12, 16, 28, 0.7);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.gallery-card:hover {
  transform: translateY(-3px);
  border-color: rgba(103, 232, 249, 0.34);
  box-shadow: 0 26px 50px -30px rgba(0, 0, 0, 0.9);
}

.gallery-card--wide {
  grid-column: span 2;
}

.gallery-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #070a12;
}

.gallery-card--wide .gallery-media {
  aspect-ratio: 16 / 9;
}

.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s var(--ease), filter 0.4s;
}

.gallery-card:hover .gallery-media img {
  transform: scale(1.028);
  filter: brightness(1.06);
}

.gallery-zoom {
  position: absolute;
  top: 11px;
  right: 11px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  color: #fff;
  background: rgba(4, 7, 13, 0.62);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 0.25s, transform 0.25s;
}

.gallery-card:hover .gallery-zoom,
.gallery-card:focus-visible .gallery-zoom {
  opacity: 1;
  transform: none;
}

.gallery-zoom .icon {
  width: 14px;
  height: 14px;
}

.gallery-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 13px 15px 15px;
  border-top: 1px solid var(--line);
}

.gallery-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.gallery-desc {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted-2);
}

.gallery-hint {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-size: 11.5px;
  color: var(--muted-2);
}

.gallery-hint .icon {
  width: 14px;
  height: 14px;
}

/* ============ How ============ */

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  counter-reset: how;
}

.how-step {
  position: relative;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
  counter-increment: how;
}

.how-step::before {
  content: '0' counter(how);
  position: absolute;
  top: 20px;
  right: 0;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.055);
}

.how-step-label {
  display: block;
  margin-bottom: 38px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.how-step h3 {
  max-width: 250px;
  margin-bottom: 10px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.how-step p {
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--muted);
}

.how-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 14px;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 11.5px;
  line-height: 1.55;
  color: #c5b27f;
  background: rgba(251, 191, 36, 0.06);
  border: 1px solid rgba(251, 191, 36, 0.16);
}

.how-note .icon {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: var(--amber);
}

.how-requirements {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
  padding: 16px 19px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.how-requirements .icon {
  width: 19px;
  height: 19px;
  color: var(--cyan);
}

.how-requirements p {
  font-size: 12.5px;
  color: var(--muted);
}

.how-requirements strong {
  margin-right: 4px;
  font-weight: 800;
  color: var(--text);
}

.how-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 22px;
}

/* ============ Guide teaser ============ */

.teaser-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(15, 21, 36, 0.92), rgba(9, 12, 21, 0.85));
  box-shadow: var(--shadow-lg);
}

.teaser-media {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: #080b14;
}

.teaser-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
}

.teaser-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(10, 13, 23, 0.55));
}

.teaser-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(5, 8, 15, 0.66);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: #dbe6fa;
}

.teaser-badge .icon {
  width: 13px;
  height: 13px;
  color: var(--cyan);
}

.teaser-copy {
  padding: 44px 42px;
}

.teaser-copy h2 {
  font-size: clamp(1.55rem, 2.7vw, 2.15rem);
  margin-bottom: 15px;
}

.teaser-copy > p {
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--muted);
}

.teaser-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 20px;
  margin: 22px 0 26px;
  list-style: none;
}

.teaser-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #c3cee5;
}

.teaser-list .icon {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: var(--cyan);
}

.teaser-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.teaser-time {
  font-size: 11.5px;
  color: var(--muted-2);
}

/* ============ Pricing ============ */

.pricing-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.pricing-head .section-head {
  margin-bottom: 0;
}

.pricing-toggle {
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.028);
}

.toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.toggle-btn:hover {
  color: var(--text);
}

.toggle-btn.is-active {
  color: #d6faff;
  background: rgba(103, 232, 249, 0.12);
  box-shadow: inset 0 0 0 1px rgba(103, 232, 249, 0.22);
}

.discount-pill {
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #6ee7b7;
  background: rgba(52, 211, 153, 0.12);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 920px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
}

.price-card--premium {
  border-color: rgba(103, 232, 249, 0.3);
  background: radial-gradient(700px 300px at 90% -10%, rgba(34, 211, 238, 0.13), transparent 65%),
    linear-gradient(160deg, rgba(103, 232, 249, 0.055), rgba(167, 139, 250, 0.025) 60%, rgba(255, 255, 255, 0.012));
  box-shadow: 0 0 80px -42px rgba(34, 211, 238, 0.6);
}

.price-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.price-plan-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.price-plan-name .icon {
  width: 19px;
  height: 19px;
  color: var(--cyan);
}

.price-card--free .price-plan-name .icon {
  color: var(--muted);
}

.demo-tag {
  padding: 4px 9px;
  border: 1px solid rgba(251, 113, 133, 0.26);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fda4af;
  background: rgba(251, 113, 133, 0.08);
}

.price-amount {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 54px;
}

.price-value {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.price-period {
  font-size: 13px;
  color: var(--muted-2);
}

.price-desc {
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.price-equivalent {
  margin-top: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--cyan);
}

.price-features {
  display: grid;
  gap: 10px;
  margin: 22px 0 26px;
  list-style: none;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.price-features .icon {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: var(--cyan);
}

.price-card--free .price-features .icon {
  color: #7f8ba6;
}

.price-cta {
  margin-top: auto;
}

.pricing-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 920px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(251, 191, 36, 0.16);
  border-radius: 13px;
  font-size: 12px;
  line-height: 1.6;
  color: #c9b784;
  background: rgba(251, 191, 36, 0.05);
}

.pricing-note .icon {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: var(--amber);
}

.pricing-login-note {
  margin-top: 9px;
  font-size: 11.5px;
  color: var(--muted-2);
  text-align: center;
}

/* ============ FAQ ============ */

.faq-wrap {
  max-width: 820px;
}

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

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

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 2px;
  list-style: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

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

.faq-item summary:hover {
  color: var(--cyan);
}

.faq-item summary .icon {
  width: 18px;
  height: 18px;
  color: var(--muted-2);
  transition: transform 0.28s var(--ease), color 0.2s;
}

.faq-item[open] summary {
  color: #d9fbff;
}

.faq-item[open] summary .icon {
  transform: rotate(180deg);
  color: var(--cyan);
}

.faq-answer {
  max-width: 700px;
  padding: 0 2px 22px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
}

.faq-more {
  margin-top: 26px;
}

/* ============ CTA panel ============ */

.cta-section {
  padding: 20px 0 92px;
}

.cta-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 62px 36px;
  border: 1px solid rgba(103, 232, 249, 0.18);
  border-radius: 28px;
  text-align: center;
  background: #080b14;
  box-shadow: 0 40px 100px -50px rgba(34, 211, 238, 0.4);
}

.cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('/assets/img/cosmos.svg') center / cover no-repeat;
  opacity: 0.55;
}

.cta-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(600px 280px at 50% 120%, rgba(34, 211, 238, 0.2), transparent 70%),
    linear-gradient(180deg, rgba(6, 8, 15, 0.6), rgba(6, 8, 15, 0.9));
}

.cta-panel .eyebrow {
  justify-content: center;
}

.cta-panel h2 {
  max-width: 700px;
  margin: 0 auto 15px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.cta-panel > p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.7;
  color: #aeb9d0;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 11px;
  margin-top: 26px;
}

.cta-note {
  margin-top: 17px !important;
  font-family: var(--font-mono);
  font-size: 10px !important;
  letter-spacing: 0.08em;
  color: var(--muted-2) !important;
}

/* ============ Footer ============ */

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(5, 7, 12, 0.8);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.7fr));
  gap: 42px;
  padding: 56px 0 42px;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-tagline {
  max-width: 300px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted-2);
}

.footer-demo {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 335px;
  margin-top: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(251, 191, 36, 0.14);
  border-radius: 10px;
  font-size: 10.5px;
  line-height: 1.55;
  color: #bfae83;
  background: rgba(251, 191, 36, 0.04);
}

.footer-demo .icon {
  width: 14px;
  height: 14px;
  margin-top: 1px;
  color: var(--amber);
}

.footer-col h4 {
  margin: 5px 0 15px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.footer-col ul {
  display: grid;
  gap: 9px;
  list-style: none;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-col a .icon {
  width: 12px;
  height: 12px;
  opacity: 0.7;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0 26px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted-2);
}

.footer-bottom p {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom .dot-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted-2);
}

.footer-version {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
}

/* ============ Page hero (inner pages) ============ */

.page-hero {
  position: relative;
  padding: 58px 0 40px;
  background: radial-gradient(900px 380px at 20% -40%, rgba(34, 211, 238, 0.09), transparent 65%);
}

.page-hero--guide {
  padding-bottom: 24px;
}

.page-hero h1 {
  max-width: 820px;
  font-size: clamp(2rem, 3.9vw, 3.15rem);
  line-height: 1.12;
}

.page-hero .lead {
  margin-top: 18px;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

.page-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--muted-2);
}

.page-meta-item .icon {
  width: 15px;
  height: 15px;
  color: var(--cyan);
}

.page-meta .btn {
  margin-left: 4px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 20px;
  font-size: 11.5px;
  color: var(--muted-2);
}

.breadcrumbs a {
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: var(--cyan);
}

.breadcrumbs .icon {
  width: 12px;
  height: 12px;
  opacity: 0.55;
}

/* ============ Guide ============ */

.guide-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 110;
  width: 100%;
  height: 2px;
  background: transparent;
  pointer-events: none;
}

.guide-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-strong), var(--violet));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.12s linear;
}

.guide-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 58px;
  padding-top: 34px;
  padding-bottom: 80px;
  align-items: start;
}

.guide-toc {
  position: sticky;
  top: calc(var(--header-h) + 22px);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(11, 15, 26, 0.72);
  backdrop-filter: blur(12px);
}

.toc-title {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.toc-list {
  display: grid;
  gap: 1px;
  list-style: none;
  counter-reset: toc;
}

.toc-list a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 8px;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
  counter-increment: toc;
}

.toc-list a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 8.5px;
  color: var(--muted-2);
}

.toc-list a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.toc-list a.is-active {
  color: #d6faff;
  background: rgba(103, 232, 249, 0.07);
}

.toc-list a.is-active::before {
  color: var(--cyan);
}

.toc-help {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  line-height: 1.55;
  color: var(--muted-2);
}

.toc-help a {
  color: var(--cyan);
}

.guide-content {
  min-width: 0;
}

.guide-section {
  padding: 40px 0 46px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.guide-section:first-child {
  padding-top: 3px;
}

.guide-section:last-child {
  border-bottom: 0;
}

.section-num {
  display: block;
  margin-bottom: 11px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--cyan);
}

.guide-section h2 {
  margin-bottom: 14px;
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
}

.guide-section > p {
  max-width: 730px;
  margin-bottom: 14px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}

.guide-section a:not(.btn):not(.text-link) {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-color: rgba(103, 232, 249, 0.35);
  text-underline-offset: 3px;
}

.guide-section a:not(.btn):not(.text-link):hover {
  text-decoration-color: var(--cyan);
}

.guide-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.guide-chip {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
}

.guide-steps {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  list-style: none;
  counter-reset: gstep;
}

.guide-step {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 14px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.022);
  counter-increment: gstep;
}

.guide-step::before {
  content: counter(gstep);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(103, 232, 249, 0.22);
  border-radius: 9px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.05);
}

.guide-step h3 {
  margin-bottom: 4px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.guide-step p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.guide-step code,
.guide-section code {
  padding: 1.5px 5px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 0.88em;
  color: #c9f7ff;
  background: rgba(103, 232, 249, 0.055);
  overflow-wrap: anywhere;
}

.callout {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 18px 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.022);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}

.callout .icon {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  flex: 0 0 auto;
}

.callout strong {
  font-weight: 800;
  color: var(--text);
}

.callout--info {
  border-color: rgba(103, 232, 249, 0.18);
  background: rgba(103, 232, 249, 0.04);
  color: #b6d8e2;
}

.callout--info .icon {
  color: var(--cyan);
}

.callout--warn {
  border-color: rgba(251, 191, 36, 0.18);
  background: rgba(251, 191, 36, 0.045);
  color: #c9b784;
}

.callout--warn .icon {
  color: var(--amber);
}

.callout--danger {
  border-color: rgba(251, 113, 133, 0.2);
  background: rgba(251, 113, 133, 0.045);
  color: #d9a8ae;
}

.callout--danger .icon {
  color: var(--crimson);
}

.guide-figure {
  margin: 22px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #080b14;
  box-shadow: var(--shadow-md);
}

.guide-figure img {
  width: 100%;
  height: auto;
}

.guide-figure figcaption {
  padding: 11px 15px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--muted-2);
  background: rgba(255, 255, 255, 0.018);
}

.guide-figure figcaption strong {
  color: var(--muted);
  font-weight: 700;
}

.annotated {
  position: relative;
}

.marker {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: #03121a;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.22), 0 6px 18px rgba(0, 0, 0, 0.55);
}

.marker--1 {
  top: 3.2%;
  left: 2.6%;
}

.marker--2 {
  top: 46%;
  left: 27%;
}

.marker--3 {
  top: 21%;
  left: 63%;
}

.marker--4 {
  top: 92%;
  left: 49%;
}

.interface-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 16px;
}

.interface-note {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.022);
}

.interface-num {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #03121a;
  background: var(--cyan);
}

.interface-note h3 {
  margin-bottom: 3px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 800;
}

.interface-note p {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--muted);
}

.gesture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 20px 0;
  list-style: none;
}

.gesture-card {
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.022);
}

.gesture-card .icon {
  width: 18px;
  height: 18px;
  margin-bottom: 10px;
  color: var(--cyan);
}

.gesture-card h3 {
  margin-bottom: 4px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 800;
}

.gesture-card p {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--muted);
}

.hotkeys-table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.018);
}

.hotkeys-table th {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-align: left;
  text-transform: uppercase;
  color: var(--muted-2);
  background: rgba(255, 255, 255, 0.022);
}

.hotkeys-table td {
  padding: 11px 14px;
  border-top: 1px solid rgba(148, 163, 200, 0.08);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  vertical-align: middle;
}

.hotkeys-table tr:first-child td {
  border-top: 0;
}

.hotkeys-table td:first-child {
  width: 38%;
  white-space: nowrap;
}

kbd {
  display: inline-block;
  min-width: 24px;
  padding: 3px 7px;
  border: 1px solid rgba(148, 163, 200, 0.3);
  border-bottom-width: 2px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.4;
  text-align: center;
  color: #e2ecff;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

kbd + kbd {
  margin-left: 3px;
}

.trouble-list {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.trouble-list .faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

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

.trouble-list .faq-item summary {
  padding: 14px 16px;
  font-size: 13px;
}

.trouble-list .faq-answer {
  padding: 0 16px 16px;
  font-size: 12.5px;
}

.support-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  padding: 22px 24px;
  border: 1px solid rgba(103, 232, 249, 0.18);
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(103, 232, 249, 0.06), rgba(167, 139, 250, 0.03));
}

.support-panel h3 {
  margin-bottom: 5px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
}

.support-panel p {
  max-width: 520px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.guide-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 30px;
}

.guide-end h3 {
  margin-bottom: 7px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 800;
}

.guide-end p {
  font-size: 12.5px;
  color: var(--muted);
}

.guide-end-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

/* ============ Auth ============ */

.auth-section {
  position: relative;
  padding: 58px 0 92px;
  overflow: hidden;
}

.auth-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(34, 211, 238, 0.1), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.auth-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  gap: 72px;
  align-items: start;
}

.auth-aside {
  padding-top: 12px;
}

.auth-aside h1 {
  max-width: 480px;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.12;
}

.auth-aside > .lead {
  max-width: 440px;
  margin-top: 17px;
}

.auth-features {
  display: grid;
  gap: 12px;
  margin: 30px 0 26px;
  list-style: none;
}

.auth-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #c3cee5;
}

.auth-feature-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border: 1px solid rgba(103, 232, 249, 0.16);
  border-radius: 9px;
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.05);
}

.auth-feature-icon .icon {
  width: 16px;
  height: 16px;
}

.auth-preview {
  position: relative;
  max-width: 360px;
  overflow: hidden;
  border: 1px solid rgba(103, 232, 249, 0.2);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(103, 232, 249, 0.09), rgba(167, 139, 250, 0.05) 55%, rgba(255, 255, 255, 0.02));
  box-shadow: 0 30px 60px -35px rgba(34, 211, 238, 0.4);
}

.auth-preview-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
}

.auth-preview-head img {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 9px;
}

.auth-preview-title {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.auth-preview-title strong {
  font-size: 12.5px;
  font-weight: 800;
}

.auth-preview-title span {
  font-size: 10px;
  color: var(--muted-2);
}

.auth-preview-head .demo-tag {
  margin-left: auto;
}

.auth-preview-body {
  padding: 13px 16px 15px;
}

.auth-preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  font-size: 11px;
  color: var(--muted);
}

.auth-preview-row strong {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--cyan);
}

.auth-preview-bar {
  height: 5px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.auth-preview-bar span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.auth-download-note {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 400px;
  margin-top: 24px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted-2);
}

.auth-download-note .icon {
  width: 15px;
  height: 15px;
  color: var(--muted);
}

.auth-download-note a {
  color: var(--cyan);
  white-space: nowrap;
}

.auth-card {
  padding: 26px;
  background: linear-gradient(165deg, rgba(18, 24, 40, 0.9), rgba(10, 14, 24, 0.88));
  backdrop-filter: blur(16px);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
}

.auth-tab {
  padding: 9px 10px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}

.auth-tab:hover {
  color: var(--text);
}

.auth-tab[aria-selected='true'] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 4px 12px -6px rgba(0, 0, 0, 0.6);
}

.auth-form-head {
  margin: 24px 0 18px;
}

.auth-form-head h2 {
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.auth-form-head p {
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted-2);
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.field label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #c3cee5;
}

.input-shell {
  position: relative;
  display: flex;
  align-items: center;
}

.input-shell > .icon {
  position: absolute;
  left: 13px;
  width: 16px;
  height: 16px;
  color: var(--muted-2);
  pointer-events: none;
  transition: color 0.2s;
}

.input-shell input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 39px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  outline: none;
}

.input-shell input::placeholder {
  color: #5e6a84;
}

.input-shell input:hover {
  border-color: var(--line-strong);
}

.input-shell input:focus {
  border-color: rgba(103, 232, 249, 0.55);
  background: rgba(103, 232, 249, 0.035);
  box-shadow: 0 0 0 3px rgba(103, 232, 249, 0.09);
}

.input-shell input:focus + .icon,
.input-shell:focus-within > .icon {
  color: var(--cyan);
}

.input-shell--password input {
  padding-right: 44px;
}

.reveal-password {
  position: absolute;
  right: 5px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: var(--muted-2);
  transition: color 0.2s, background 0.2s;
}

.reveal-password:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.reveal-password .icon {
  width: 17px;
  height: 17px;
}

.field-hint {
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--muted-2);
}

.field-error {
  display: none;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #fda4af;
}

.field-error.is-visible {
  display: flex;
}

.field-error .icon {
  width: 13px;
  height: 13px;
}

.field.has-error input {
  border-color: rgba(251, 113, 133, 0.55);
  box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.08);
}

.strength {
  display: grid;
  gap: 5px;
  margin-top: 3px;
}

.strength-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.strength-bars i {
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  transition: background 0.3s;
}

.strength-label {
  font-size: 9.5px;
  color: var(--muted-2);
  transition: color 0.3s;
}

.strength.s1 .strength-bars i:nth-child(1) {
  background: var(--crimson);
}
.strength.s1 .strength-label {
  color: #fda4af;
}
.strength.s2 .strength-bars i:nth-child(-n + 2) {
  background: var(--amber);
}
.strength.s2 .strength-label {
  color: #fcd34d;
}
.strength.s3 .strength-bars i:nth-child(-n + 3) {
  background: #60a5fa;
}
.strength.s3 .strength-label {
  color: #93c5fd;
}
.strength.s4 .strength-bars i {
  background: var(--green);
}
.strength.s4 .strength-label {
  color: #6ee7b7;
}

.auth-submit {
  margin-top: 6px;
}

.auth-alt {
  margin-top: 15px;
  font-size: 11.5px;
  text-align: center;
  color: var(--muted-2);
}

.auth-alt button {
  color: var(--cyan);
  font-weight: 700;
}

.auth-terms {
  margin-top: 12px;
  font-size: 10px;
  line-height: 1.55;
  text-align: center;
  color: var(--muted-2);
}

.input-shell--code input {
  padding-left: 39px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.3em;
  font-variant-numeric: tabular-nums;
}

.input-shell--code input::placeholder {
  letter-spacing: 0.3em;
  color: #46516b;
}

.verify-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 18px;
}

.verify-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(103, 232, 249, 0.2);
  border-radius: 14px;
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.07);
  box-shadow: 0 0 24px -10px rgba(103, 232, 249, 0.5);
}

.verify-icon .icon {
  width: 22px;
  height: 22px;
}

.verify-head h3 {
  margin: 0 0 3px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.verify-head p {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted-2);
  overflow-wrap: anywhere;
}

.verify-head b {
  color: var(--text);
  font-weight: 700;
}

.verify-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.verify-actions .btn {
  padding-right: 12px;
  padding-left: 12px;
}

.verify-actions .btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.verify-timer {
  color: var(--muted-2);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.verify-link {
  padding: 6px 2px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--cyan);
}

.verify-link:hover {
  text-decoration: underline;
}

.verify-demo {
  margin-top: 16px;
  padding: 10px 12px;
  border: 1px dashed rgba(252, 211, 77, 0.35);
  border-radius: 9px;
  font-size: 10.5px;
  line-height: 1.55;
  color: #fcd34d;
  background: rgba(252, 211, 77, 0.04);
}

.verify-note {
  margin-top: 12px;
  font-size: 10px;
  line-height: 1.55;
  text-align: center;
  color: var(--muted-2);
}

.auth-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--muted-2);
}

.auth-note .icon {
  width: 14px;
  height: 14px;
  margin-top: 1px;
  flex: 0 0 auto;
}

.form-alert {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(251, 113, 133, 0.26);
  border-radius: 9px;
  font-size: 11.5px;
  line-height: 1.55;
  color: #fecdd3;
  background: rgba(251, 113, 133, 0.07);
}

.form-alert .icon {
  width: 15px;
  height: 15px;
  margin-top: 1px;
  flex: 0 0 auto;
  color: var(--crimson);
}

.spin {
  animation: spin 0.9s linear infinite;
}

/* ============ Account ============ */

.account-section {
  padding: 44px 0 92px;
  min-height: 62vh;
}

.page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 30px;
}

.page-head h1 {
  margin-bottom: 10px;
  font-size: clamp(1.9rem, 3.4vw, 2.65rem);
}

.page-head .lead {
  max-width: 590px;
  font-size: 14.5px;
}

.page-head-actions {
  display: flex;
  gap: 9px;
}

.account-grid {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.account-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  min-width: 0;
}

.account-main > * {
  min-width: 0;
}

.account-logout {
  margin-top: 16px;
}

.profile-card {
  padding: 24px;
}

.profile-avatar {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 18px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #04121a;
  background: linear-gradient(140deg, #a5f3fc, #67e8f9 45%, #a5b4fc);
  box-shadow: 0 14px 30px -14px rgba(34, 211, 238, 0.6);
}

.profile-name {
  margin-bottom: 3px;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.profile-email {
  font-size: 12px;
  color: var(--muted-2);
  overflow-wrap: anywhere;
}

.profile-list {
  display: grid;
  gap: 11px;
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11.5px;
}

.profile-row dt {
  color: var(--muted-2);
}

.profile-row dd {
  font-weight: 600;
  color: var(--text);
  text-align: right;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan-badge--free {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
}

.plan-badge--premium {
  color: #c9f7ff;
  background: rgba(103, 232, 249, 0.12);
  box-shadow: inset 0 0 0 1px rgba(103, 232, 249, 0.22);
}

.session-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  line-height: 1.55;
  color: var(--muted-2);
}

.session-note .icon {
  width: 13px;
  height: 13px;
  margin-top: 1px;
}

.plan-card {
  position: relative;
  padding: 27px;
  overflow: hidden;
}

.plan-card.is-premium {
  border-color: rgba(103, 232, 249, 0.3);
  background: radial-gradient(700px 300px at 95% -20%, rgba(34, 211, 238, 0.16), transparent 60%),
    linear-gradient(155deg, rgba(103, 232, 249, 0.065), rgba(167, 139, 250, 0.035) 55%, rgba(255, 255, 255, 0.012));
  box-shadow: 0 0 70px -38px rgba(34, 211, 238, 0.55);
}

.plan-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.plan-title {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13px;
  font-weight: 800;
}

.plan-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.plan-icon .icon {
  width: 19px;
  height: 19px;
}

.is-premium .plan-icon {
  border-color: rgba(103, 232, 249, 0.24);
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.08);
}

.plan-state h2 {
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.plan-state p {
  max-width: 550px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}

.plan-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
}

.plan-expiry {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 11px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.plan-expiry .icon {
  width: 14px;
  height: 14px;
  color: var(--cyan);
}

.days-left {
  padding: 6px 10px;
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  color: #6ee7b7;
  background: rgba(52, 211, 153, 0.07);
}

.plan-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
}

.plan-demo-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--muted-2);
}

.plan-demo-note .icon {
  width: 12px;
  height: 12px;
}

.history-card {
  margin-top: 16px;
  padding: 24px;
}

.history-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.history-head h2 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.demo-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 34px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: 13px;
  text-align: center;
}

.demo-state .icon {
  width: 28px;
  height: 28px;
  color: var(--muted-2);
}

.demo-state p {
  max-width: 480px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted-2);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.history-card .data-table {
  min-width: 430px;
}

.data-table th {
  padding: 9px 12px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
  color: var(--muted-2);
  border-bottom: 1px solid var(--line);
}

.data-table td {
  padding: 13px 12px;
  border-top: 1px solid rgba(148, 163, 200, 0.08);
  font-size: 12px;
  color: var(--muted);
}

.data-table tr:first-child td {
  border-top: 0;
}

.data-table td:first-child {
  color: var(--text);
  font-weight: 600;
}

.data-table th:last-child,
.data-table td:last-child {
  text-align: right;
}

.amount-cell {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #d9e5fa;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
}

.status--paid {
  color: #6ee7b7;
  background: rgba(52, 211, 153, 0.09);
  box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.16);
}

.status--pending {
  color: #fcd34d;
  background: rgba(251, 191, 36, 0.08);
  box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.16);
}

.demo-chip {
  display: inline-block;
  margin-left: 7px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  color: var(--muted-2);
}

.quick-links {
  margin-top: 16px;
}

.quick-links h2 {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-2);
}

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

.quick-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.022);
  font-size: 12px;
  font-weight: 700;
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease);
}

.quick-card:hover {
  transform: translateY(-2px);
  border-color: rgba(103, 232, 249, 0.28);
  background: rgba(103, 232, 249, 0.04);
}

.quick-card .icon {
  width: 17px;
  height: 17px;
  color: var(--cyan);
}

.quick-card .quick-arrow {
  width: 13px;
  height: 13px;
  margin-left: auto;
  color: var(--muted-2);
}

.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 90px 20px;
  font-size: 12.5px;
  color: var(--muted-2);
}

.loading-state .icon {
  width: 26px;
  height: 26px;
  color: var(--cyan);
}

.state-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 460px;
  margin: 60px auto;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  text-align: center;
  background: rgba(255, 255, 255, 0.025);
}

.state-card .icon {
  width: 30px;
  height: 30px;
  color: var(--amber);
}

.state-card h2 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 800;
}

.state-card p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* ============ Checkout ============ */

.checkout-section {
  padding: 40px 0 92px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 20px;
  font-size: 11.5px;
  color: var(--muted-2);
  transition: color 0.2s, gap 0.2s;
}

.back-link:hover {
  gap: 10px;
  color: var(--cyan);
}

.back-link .icon {
  width: 14px;
  height: 14px;
}

.checkout-head {
  max-width: 680px;
  margin-bottom: 26px;
}

.checkout-head h1 {
  margin-bottom: 11px;
  font-size: clamp(1.9rem, 3.3vw, 2.55rem);
}

.checkout-head p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 18px;
  align-items: start;
}

.checkout-main {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.demo-banner {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 16px 18px;
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.085), rgba(251, 113, 133, 0.035));
}

.demo-banner .icon {
  width: 19px;
  height: 19px;
  margin-top: 1px;
  flex: 0 0 auto;
  color: var(--amber);
}

.demo-banner h2 {
  margin-bottom: 4px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  color: #fde7b0;
}

.demo-banner p {
  max-width: 620px;
  font-size: 11.5px;
  line-height: 1.6;
  color: #c9b784;
}

.checkout-card {
  padding: 24px;
}

.checkout-card h2 {
  margin-bottom: 17px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.plan-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-bottom: 20px;
}

.plan-choice {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 32px 14px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: left;
  background: rgba(255, 255, 255, 0.022);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.plan-choice:hover {
  border-color: var(--line-strong);
}

.plan-choice.is-active {
  border-color: rgba(103, 232, 249, 0.45);
  background: rgba(103, 232, 249, 0.055);
  box-shadow: 0 0 0 1px rgba(103, 232, 249, 0.12);
}

.plan-choice-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
}

.plan-choice-price {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
}

.plan-choice-sub {
  font-size: 10px;
  color: var(--muted-2);
}

.plan-choice .choice-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 16px;
  height: 16px;
  color: var(--cyan);
  opacity: 0;
  transition: opacity 0.2s;
}

.plan-choice.is-active .choice-check {
  opacity: 1;
}

.order-divider {
  height: 1px;
  margin: 18px 0;
  background: var(--line);
}

.order-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 5px 0;
  font-size: 12px;
  color: var(--muted);
}

.order-line strong {
  font-weight: 700;
  color: var(--text);
}

.order-line--total {
  padding-top: 12px;
  font-size: 13px;
}

.order-line--total .order-total-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--cyan);
}

.order-strike {
  margin-right: 7px;
  color: var(--muted-2);
  text-decoration: line-through;
  font-weight: 400;
}

.order-hint {
  margin-top: 8px;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--muted-2);
}

.method-list {
  display: grid;
  gap: 8px;
}

.method-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.method-option:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
}

.method-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.method-option:has(input:checked) {
  border-color: rgba(103, 232, 249, 0.4);
  background: rgba(103, 232, 249, 0.045);
}

.method-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.method-icon .icon {
  width: 17px;
  height: 17px;
}

.method-option:has(input:checked) .method-icon {
  border-color: rgba(103, 232, 249, 0.25);
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.07);
}

.method-name {
  font-size: 12px;
  font-weight: 700;
}

.method-sub {
  display: block;
  margin-top: 1px;
  font-size: 10px;
  font-weight: 400;
  color: var(--muted-2);
}

.method-radio {
  width: 16px;
  height: 16px;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.method-option:has(input:checked) .method-radio {
  border: 5px solid var(--cyan);
  box-shadow: 0 0 0 3px rgba(103, 232, 249, 0.12);
}

.method-option:has(input:focus-visible) {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.method-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 12px;
  font-size: 10.5px;
  line-height: 1.55;
  color: var(--muted-2);
}

.method-note .icon {
  width: 13px;
  height: 13px;
  margin-top: 1px;
  flex: 0 0 auto;
}

.summary-card {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  padding: 24px;
}

.summary-card h2 {
  margin-bottom: 17px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
}

.summary-plan {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.summary-plan .plan-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-color: rgba(103, 232, 249, 0.22);
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.07);
}

.summary-plan-name {
  font-size: 12.5px;
  font-weight: 800;
}

.summary-plan-sub {
  margin-top: 2px;
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--muted-2);
}

.summary-rows {
  display: grid;
  gap: 8px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11.5px;
  color: var(--muted-2);
}

.summary-row strong {
  font-weight: 600;
  color: var(--text);
}

.summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 0;
  font-size: 12px;
  font-weight: 700;
}

.summary-total span {
  color: var(--muted);
}

.summary-total strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--cyan);
}

.summary-due-note {
  margin-top: -9px;
  margin-bottom: 14px;
  font-size: 10px;
  text-align: right;
  color: var(--muted-2);
}

.summary-card .btn-block {
  margin-top: 2px;
}

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 11px;
  font-size: 9.5px;
  text-align: center;
  color: var(--muted-2);
}

.secure-note .icon {
  width: 12px;
  height: 12px;
  color: var(--green);
}

.summary-demo-note {
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 9.5px;
  line-height: 1.5;
  text-align: center;
  color: var(--muted-2);
}

.checkout-success-wrap {
  max-width: 620px;
  margin: 30px auto;
}

.success-card {
  position: relative;
  overflow: hidden;
  padding: 44px 34px;
  text-align: center;
  border-color: rgba(52, 211, 153, 0.25);
  background: radial-gradient(500px 300px at 50% 0%, rgba(52, 211, 153, 0.1), transparent 70%),
    linear-gradient(165deg, rgba(18, 26, 38, 0.92), rgba(10, 14, 24, 0.9));
}

.success-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 50%;
  color: var(--green);
  background: rgba(52, 211, 153, 0.09);
  box-shadow: 0 0 40px -10px rgba(52, 211, 153, 0.45);
}

.success-icon .icon {
  width: 30px;
  height: 30px;
}

.success-card h2 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.success-card > p {
  max-width: 430px;
  margin: 0 auto;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

.success-meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 22px 0 26px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
}

.success-meta .dot {
  width: 4px;
  height: 4px;
  background: var(--muted-2);
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}

/* ============ 404 ============ */

.notfound-section {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--header-h));
  padding: 70px 0 100px;
  overflow: hidden;
  text-align: center;
}

.notfound-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('/assets/img/cosmos.svg') center / cover no-repeat;
  opacity: 0.65;
}

.notfound-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(600px 300px at 50% 45%, rgba(6, 7, 14, 0.1), var(--bg) 76%);
}

.notfound-code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 10rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.07em;
  color: transparent;
  background: linear-gradient(120deg, #a5f3fc, #67e8f9 35%, #c4b5fd 80%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(34, 211, 238, 0.28));
}

.notfound-section h1 {
  margin: 20px auto 13px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.notfound-section p {
  max-width: 440px;
  margin: 0 auto;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

.notfound-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 26px;
}

/* ============ Lightbox ============ */

.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--text);
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(3, 5, 10, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.lightbox[open] {
  display: flex;
  animation: fade-in 0.25s var(--ease);
}

.lightbox-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 64px 84px;
}

.lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 0;
  flex: 1;
  margin: 0;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: calc(100dvh - 190px);
  width: auto;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 12px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.95);
}

.lightbox-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 9px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.lightbox-caption strong {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
}

.lightbox-topbar {
  position: absolute;
  top: 18px;
  left: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lightbox-counter {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}

.lightbox-close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  background: rgba(11, 15, 26, 0.8);
  backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.lightbox-nav:hover {
  border-color: rgba(103, 232, 249, 0.4);
  background: rgba(103, 232, 249, 0.1);
}

.lightbox-nav--prev {
  left: 22px;
}

.lightbox-nav--next {
  right: 22px;
}

.lightbox-nav .icon {
  width: 18px;
  height: 18px;
}

/* ============ Toast / confetti ============ */

.toast-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 250;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: min(380px, calc(100vw - 32px));
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 15px;
  border: 1px solid rgba(103, 232, 249, 0.24);
  border-radius: 12px;
  background: rgba(11, 17, 29, 0.96);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: none;
}

.toast--error {
  border-color: rgba(251, 113, 133, 0.3);
}

.toast-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.09);
}

.toast--error .toast-icon {
  color: var(--crimson);
  background: rgba(251, 113, 133, 0.09);
}

.toast-icon .icon {
  width: 14px;
  height: 14px;
}

.toast-text {
  padding-top: 1px;
  font-size: 12px;
  line-height: 1.5;
  color: #d8e2f6;
}

.confetti {
  position: fixed;
  inset: 0;
  z-index: 240;
  overflow: hidden;
  pointer-events: none;
}

.confetti-piece {
  position: absolute;
  top: -16px;
  border-radius: 2px;
  animation-name: confetti-fall;
  animation-timing-function: cubic-bezier(0.25, 0.6, 0.35, 1);
  animation-fill-mode: forwards;
}

.confetti-c1 {
  background: #67e8f9;
}
.confetti-c2 {
  background: #a78bfa;
}
.confetti-c3 {
  background: #fb7185;
}
.confetti-c4 {
  background: #34d399;
}
.confetti-c5 {
  background: #fbbf24;
}
.confetti-c6 {
  background: #eef2ff;
}

/* ============ Reveal & motion ============ */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

.js .features-grid .reveal:nth-child(2),
.js .gallery-grid .reveal:nth-child(2),
.js .how-grid .reveal:nth-child(2) {
  transition-delay: 0.06s;
}

.js .features-grid .reveal:nth-child(3),
.js .gallery-grid .reveal:nth-child(3),
.js .how-grid .reveal:nth-child(3) {
  transition-delay: 0.12s;
}

/* ============ Animations ============ */

@keyframes pulse-ring {
  0% {
    transform: scale(0.7);
    opacity: 0.8;
  }
  75%,
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes confetti-fall {
  0% {
    transform: translate3d(0, -10px, 0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translate3d(0, 106vh, 0) rotate(720deg);
    opacity: 0.9;
  }
}

/* ============ Responsive ============ */

@media (max-width: 1080px) {
  .site-nav {
    margin-left: 8px;
  }

  .site-nav a {
    padding: 9px 9px;
    font-size: 12.5px;
  }

  .header-auth--guest {
    display: none;
  }

  .hero-inner {
    gap: 40px;
  }

  .guide-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 38px;
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 95;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    max-height: calc(100dvh - var(--header-h));
    margin: 0;
    padding: 14px 24px 22px;
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    background: rgba(6, 8, 15, 0.97);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }

  .site-header.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav a {
    padding: 13px 12px;
    font-size: 15px;
    border-bottom: 1px solid rgba(148, 163, 200, 0.08);
    border-radius: 8px;
  }

  .site-nav a[aria-current='page'] {
    background: rgba(103, 232, 249, 0.06);
  }

  .site-nav .nav-auth {
    display: block;
    color: var(--cyan);
  }

  .header-auth {
    display: none;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }

  .hero-copy {
    max-width: 660px;
  }

  .hero-title {
    max-width: 640px;
  }

  .hero-visual {
    width: min(760px, 100%);
    margin-inline: auto;
  }

  .hero-float {
    right: 6px;
    bottom: -36px;
  }

  .hero-chips {
    left: 12px;
    top: 24px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

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

  .teaser-panel {
    grid-template-columns: 1fr;
  }

  .teaser-media {
    min-height: 260px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .teaser-media::after {
    background: linear-gradient(180deg, transparent 55%, rgba(10, 13, 23, 0.6));
  }

  .guide-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding-top: 22px;
  }

  .guide-toc {
    position: static;
    padding: 16px;
  }

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

  .toc-help {
    display: none;
  }

  .auth-layout {
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 38px;
  }

  .auth-preview {
    display: none;
  }

  .account-grid {
    grid-template-columns: 290px minmax(0, 1fr);
  }

  .checkout-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
}

@media (max-width: 860px) {
  .auth-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    max-width: 540px;
  }

  .auth-aside h1 {
    max-width: none;
  }

  .auth-aside .lead {
    max-width: none;
  }

  .auth-features {
    grid-template-columns: 1fr 1fr;
    margin: 22px 0;
  }

  .auth-download-note {
    display: none;
  }

  .auth-aside .eyebrow {
    margin-bottom: 12px;
  }

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

  .profile-card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
  }

  .profile-avatar {
    grid-row: span 2;
    width: 54px;
    height: 54px;
    margin-bottom: 0;
    border-radius: 15px;
    font-size: 20px;
  }

  .profile-name {
    align-self: end;
    margin-bottom: 2px;
  }

  .profile-email {
    align-self: start;
  }

  .profile-list,
  .session-note {
    grid-column: 1 / -1;
  }

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

  .checkout-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .summary-card {
    position: static;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 68px 0;
  }

  .section--tight {
    padding: 54px 0;
  }

  .container {
    width: calc(100% - 36px);
  }

  .hero {
    padding: 36px 0 82px;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-stat-value {
    font-size: 1.3rem;
  }

  .hero-chips {
    display: none;
  }

  .window-live {
    display: none;
  }

  .hero-float {
    position: relative;
    right: auto;
    bottom: auto;
    width: 62%;
    margin: -20px 0 0 auto;
    transform: rotate(1deg);
  }

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

  .how-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .how-step {
    padding: 22px 0 26px;
  }

  .how-step-label {
    margin-bottom: 10px;
  }

  .how-step::before {
    top: 16px;
    font-size: 2.2rem;
  }

  .how-step h3 {
    max-width: 70%;
  }

  .compare-table th,
  .compare-table td {
    padding: 13px 15px;
  }

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

  .gallery-card--wide {
    grid-column: span 1;
  }

  .gallery-card--wide .gallery-media,
  .gallery-media {
    aspect-ratio: 16 / 9;
  }

  .gallery-zoom {
    opacity: 1;
    transform: none;
  }

  .teaser-copy {
    padding: 28px 22px;
  }

  .teaser-list {
    grid-template-columns: 1fr;
  }

  .price-card {
    padding: 24px 21px;
  }

  .pricing-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .cta-section {
    padding: 0 0 68px;
  }

  .cta-panel {
    padding: 46px 22px;
    border-radius: 22px;
  }

  .footer-main {
    padding: 44px 0 34px;
  }

  .guide-section {
    padding: 32px 0 36px;
  }

  .interface-grid,
  .gesture-grid {
    grid-template-columns: 1fr;
  }

  .hotkeys-table td:first-child {
    width: 46%;
    white-space: normal;
  }

  .support-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-hero {
    padding-top: 38px;
  }

  .account-section,
  .checkout-section {
    padding-top: 32px;
  }

  .page-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .plan-choice-grid {
    grid-template-columns: 1fr;
  }

  .lightbox-inner {
    padding: 58px 16px 40px;
  }

  .lightbox-nav {
    width: 38px;
    height: 38px;
    margin-top: 0;
    top: auto;
    bottom: 14px;
  }

  .lightbox-nav--prev {
    left: 16px;
  }

  .lightbox-nav--next {
    right: 16px;
  }

  .lightbox-figure img {
    max-height: calc(100dvh - 180px);
  }

  .lightbox-caption {
    padding: 0 52px;
    font-size: 11px;
  }
}

@media (max-width: 620px) {
  .compare-table {
    min-width: 0;
    table-layout: fixed;
  }

  .compare-table th,
  .compare-table td {
    padding: 10px 8px;
  }

  .compare-table thead th {
    font-size: 9px;
    letter-spacing: 0.06em;
  }

  .compare-table td {
    font-size: 12px;
    line-height: 1.5;
  }

  .compare-table td:first-child {
    font-size: 12px;
    white-space: normal;
  }

  .compare-table thead th:first-child {
    width: 28%;
  }

  .compare-table thead th:nth-child(2) {
    width: 40%;
  }

  .compare-table thead th:nth-child(3) {
    width: 32%;
  }

  .header-inner {
    gap: 10px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    font-size: 14px;
  }

  .header-cta {
    padding: 10px 12px;
  }

  .header-cta .icon {
    display: none;
  }

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

  .auth-card {
    padding: 20px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-actions .btn .icon {
    width: 16px;
    height: 16px;
  }

  .hero-float {
    width: 74%;
  }

  .hero-stats {
    gap: 18px;
    justify-content: space-between;
  }

  .hero-stat-label {
    font-size: 10.5px;
  }

  .how-actions .btn {
    width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }

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

  .guide-toc {
    padding: 14px;
  }

  .guide-toc .toc-list {
    grid-template-columns: 1fr;
    max-height: 220px;
    overflow-y: auto;
  }

  .toc-title {
    margin-bottom: 7px;
  }

  .history-card,
  .plan-card,
  .profile-card,
  .checkout-card,
  .summary-card {
    padding: 19px;
  }

  .data-table thead {
    display: none;
  }

  .history-card .data-table {
    min-width: 0;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table tr {
    padding: 12px 0;
    border-top: 1px solid var(--line);
  }

  .data-table tr:first-child {
    border-top: 0;
  }

  .data-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 0;
    border: 0;
    text-align: right !important;
  }

  .data-table td::before {
    content: attr(data-label);
    flex: 0 0 auto;
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-2);
  }

  .data-table td:first-child {
    padding-bottom: 7px;
    font-size: 12.5px;
  }

  .quick-card {
    padding: 13px 14px;
  }

  .success-card {
    padding: 32px 20px;
  }

  .notfound-section {
    min-height: calc(100vh - var(--header-h) - 30px);
  }

  .auth-features {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .auth-features li {
    font-size: 12px;
  }

  .method-option {
    padding: 11px 12px;
  }

  .method-sub {
    display: none;
  }

  .toast-stack {
    right: 12px;
    left: 12px;
    bottom: 12px;
    max-width: none;
  }
}

@media (max-width: 430px) {
  .lang-switch {
    padding: 2px;
  }

  .lang-btn {
    min-width: 28px;
    font-size: 10px;
  }

  .brand-sub {
    display: none;
  }

  .brand-name {
    font-size: 13px;
  }

  .header-cta {
    font-size: 12px;
    padding: 9px 11px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-badge {
    font-size: 10.5px;
  }

  .badge {
    font-size: 10.5px;
    padding: 6px 11px;
  }

  .window-title {
    display: none;
  }

  .gallery-meta {
    padding: 11px 13px 13px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .pricing-toggle {
    width: 100%;
  }

  .toggle-btn {
    flex: 1;
    justify-content: center;
  }

  .interface-note {
    grid-template-columns: 24px minmax(0, 1fr);
    padding: 12px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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

  .marquee-track {
    animation: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .guide-toc,
  .guide-progress,
  .skip-link {
    display: none !important;
  }

  body {
    color: #111;
    background: #fff;
  }

  .guide-layout {
    display: block;
  }

  .guide-section {
    break-inside: avoid;
  }
}
