/* ==========================================================================
   SHUM Official Site — Animated Cosmic Eclipse, Multi-Page & Responsive Styles
   ========================================================================== */

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

:root {
  --bg-black: #000000;
  --surface-1: rgba(255, 255, 255, 0.032);
  --surface-2: rgba(255, 255, 255, 0.055);
  --border-1: rgba(255, 255, 255, 0.1);
  --border-2: rgba(255, 255, 255, 0.22);
  --text-1: #ffffff;
  --text-2: rgba(255, 255, 255, 0.72);
  --text-3: rgba(255, 255, 255, 0.48);
  --green: #34c77b;
  --amber: #f59e0b;
  --container-w: 1120px;
  --header-px: clamp(20px, 5.2vw, 74px);
}

html {
  background: #000000;
  color: #ffffff;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: #000000;
  color: #ffffff;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.page-home {
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
}

body.menu-open {
  overflow: hidden;
}

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

/* ==========================================================================
   1. Original Static Eclipse SVG (GPU-cached <img>) + Lightweight Winter Canvas
   ========================================================================== */

.eclipse-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #000000;
  contain: strict;
}

.eclipse-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  user-select: none;
}

.winter-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.page-sub .eclipse-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.36) 0%,
    rgba(0, 0, 0, 0.66) 48%,
    rgba(0, 0, 0, 0.86) 100%
  );
}

/* ==========================================================================
   2. Page Shells & Top Navigation Header
   ========================================================================== */

.hero-stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100dvh;
  min-height: 620px;
}

.subpage-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 70px;
  padding: 0 var(--header-px);
  background: rgba(6, 7, 10, 0.56);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.34);
}

.brand-wordmark {
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.16);
  transition: opacity 0.18s ease;
}

.brand-wordmark:hover {
  opacity: 0.85;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.nav-link {
  position: relative;
  padding: 7px 18px;
  border: 1px solid transparent;
  border-radius: 9999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
}

.nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

/* Mobile Menu Trigger (hidden on desktop) */
.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(12, 12, 14, 0.72);
  color: #ffffff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.mobile-menu-btn:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.mobile-menu-btn svg {
  width: 19px;
  height: 19px;
}

/* Mobile Full-Screen Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 24px 32px;
  background: rgba(3, 3, 4, 0.97);
  animation: fade-in 0.18s ease;
}

.mobile-drawer[hidden] {
  display: none;
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: auto 0;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  transition: color 0.15s ease;
}

.mobile-drawer-link.active,
.mobile-drawer-link:hover {
  color: #ffffff;
}

.mobile-drawer-foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   3. Home Hero Centerpiece (1-to-1 with concept)
   ========================================================================== */

.hero-main {
  position: relative;
  z-index: 5;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 2.4vh, 32px) 24px clamp(8px, 1.8vh, 22px);
}

.hero-title {
  margin: 0;
  line-height: 1;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  animation: hero-lockup-enter 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-winter-logo {
  display: block;
  width: min(92vw, 960px);
  max-height: min(44vh, 336px);
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  user-select: none;
  pointer-events: none;
  filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.64));
}

@keyframes hero-lockup-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* S H U M stays strictly centered on the 50% screen & button axis;
   mascot sits flush to the left of S without pushing the wordmark right */
.hero-word {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: clamp(18px, 3.1vw, 46px);
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: clamp(48px, 10.2vw, 152px);
  font-weight: 700;
  line-height: 0.92;
  text-transform: uppercase;
}

.hero-brand-mascot {
  position: absolute;
  right: calc(100% + clamp(20px, 3vw, 46px));
  top: 50%;
  transform: translateY(-54%);
  width: clamp(86px, 11.5vw, 170px);
  height: auto;
  display: block;
  user-select: none;
  pointer-events: none;
}

.hero-letter {
  position: relative;
  display: inline-block;
  transform: scaleX(1.14);
  transform-origin: center center;
}

.hero-letter-glyph {
  display: inline-block;
  background: linear-gradient(
    168deg,
    #ffffff 0%,
    #ffffff 42%,
    #eceef1 74%,
    #cfd2d8 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Sculpted New Year Snow Caps — mathematically seated on Montserrat Bold cap-height */
.snow-cap {
  position: absolute;
  left: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  overflow: visible;
  z-index: 3;
}

.snow-cap-s {
  top: 0.044em;
  left: 4%;
  width: 92%;
}

.snow-cap-h {
  top: 0.062em;
  left: 0;
  width: 100%;
}

.snow-cap-u {
  top: 0.062em;
  left: 0;
  width: 100%;
}

.snow-cap-m {
  top: 0.062em;
  left: 0;
  width: 100%;
}

/* Sculpted New Year Snow Caps resting naturally on CTA pill buttons */
.btn-pill {
  position: relative;
  overflow: visible;
}

.btn-snow-cap {
  position: absolute;
  top: -8px;
  left: 22px;
  width: calc(100% - 44px);
  height: 20px;
  pointer-events: none;
  overflow: visible;
  z-index: 4;
}

.btn-snow-cap-sm {
  top: -7px;
  left: 18px;
  width: calc(100% - 36px);
  height: 16px;
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: scaleX(1.16) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scaleX(1.16) translateY(0);
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 24px);
  margin-top: clamp(24px, 4.6vh, 48px);
  animation: actions-enter 0.76s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

@keyframes actions-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pill CTA Buttons */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 58px;
  padding: 0 36px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.16s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.2s ease;
}

.btn-pill:active {
  transform: scale(0.985);
}

.btn-pill-primary {
  min-width: 286px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  background: linear-gradient(180deg, #ffffff 0%, #eaecef 100%);
  color: #09090a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 8px 28px rgba(0, 0, 0, 0.55);
}

.btn-pill-primary:hover {
  transform: translateY(-1.5px);
  background: linear-gradient(180deg, #ffffff 0%, #f5f6f8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 10px 34px rgba(255, 255, 255, 0.14),
    0 12px 30px rgba(0, 0, 0, 0.65);
}

.btn-pill-outline {
  min-width: 196px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  background: rgba(6, 6, 8, 0.72);
  color: #ffffff;
  font-weight: 450;
}

.btn-pill-outline:hover {
  transform: translateY(-1.5px);
  border-color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.06);
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex: none;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-pill-outline:hover .btn-icon-arrow {
  transform: translateX(3px);
}

.btn-pill-primary:hover .btn-icon {
  transform: translateY(1.5px);
}

.btn-sm {
  height: 44px;
  min-width: auto;
  padding: 0 22px;
  font-size: 14px;
  gap: 10px;
}

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

/* ==========================================================================
   4. Compact Minimal Footer (SHUM Channel + DonationAlerts)
   ========================================================================== */

.site-footer {
  position: relative;
  z-index: 15;
  width: 100%;
  margin-top: auto;
  padding: 18px var(--header-px) clamp(18px, 2.8vh, 28px);
}

.page-sub .site-footer {
  padding-top: 26px;
  padding-bottom: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bar {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.footer-ver {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.56);
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 15px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 10, 12, 0.72);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 450;
  text-decoration: none;
  cursor: pointer;
  transition:
    border-color 0.16s ease,
    background-color 0.16s ease,
    color 0.16s ease,
    transform 0.14s ease;
}

.footer-pill:hover {
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transform: translateY(-1px);
}

.footer-pill svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.footer-pill-donate {
  border-color: rgba(245, 158, 11, 0.34);
  color: rgba(255, 240, 214, 0.92);
}

.footer-pill-donate svg {
  color: var(--amber);
}

.footer-pill-donate:hover {
  border-color: rgba(245, 158, 11, 0.72);
  background: rgba(245, 158, 11, 0.1);
  color: #ffffff;
}

/* ==========================================================================
   5. Subpages Shared Layout (О проекте & Поддержка)
   ========================================================================== */

.page-container {
  width: min(100%, var(--container-w));
  margin: 0 auto;
  padding: clamp(44px, 7vh, 76px) clamp(20px, 4vw, 36px) 64px;
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 5.5vh, 56px);
}

.sub-hero {
  max-width: 740px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: actions-enter 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 5px 12px;
  border-radius: 9999px;
  border: 1px solid var(--border-1);
  background: var(--surface-1);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.sub-hero h1 {
  margin: 0;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  background: linear-gradient(175deg, #ffffff 0%, #d4d7de 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sub-hero p {
  margin: 0;
  font-size: clamp(15px, 1.35vw, 17.5px);
  line-height: 1.64;
  color: var(--text-2);
}

.sub-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.sub-hero-meta {
  font-size: 13px;
  color: var(--text-3);
}

/* Clean 3-Pillar Grid for Simplified About Page */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pillar-card {
  padding: 26px 24px;
  border-radius: 18px;
  border: 1px solid var(--border-1);
  background: rgba(10, 10, 12, 0.74);
  display: flex;
  flex-direction: column;
  gap: 10px;
  contain: layout style paint;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.pillar-card:hover {
  border-color: var(--border-2);
  background: rgba(16, 16, 20, 0.84);
}

.pillar-num {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-3);
}

.pillar-card h2 {
  margin: 0;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
}

.pillar-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.58;
  color: var(--text-2);
}

/* Slim Status & Next Strip (About Page) */
.plan-strip {
  padding: 20px 24px;
  border-radius: 16px;
  border: 1px solid var(--border-1);
  background: rgba(10, 10, 12, 0.72);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
}

.plan-strip-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  font-size: 14px;
  color: var(--text-2);
}

.plan-strip-items strong {
  color: #ffffff;
  font-weight: 500;
}

.plan-strip-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #ffffff;
  text-decoration: none;
  opacity: 0.82;
  transition: opacity 0.16s ease;
}

.plan-strip-link:hover {
  opacity: 1;
}

/* Unified Install + Integrity Panel (Support Page) */
.support-unified-card {
  padding: 26px 28px;
  border-radius: 20px;
  border: 1px solid var(--border-1);
  background: rgba(10, 10, 12, 0.78);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: start;
  contain: layout style paint;
}

.support-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.support-col h2 {
  margin: 0;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 17.5px;
  font-weight: 600;
}

.support-col-divider {
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.support-note-bar {
  padding: 18px 22px;
  border-radius: 16px;
  border: 1px solid var(--border-1);
  background: rgba(10, 10, 12, 0.72);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 14px;
  color: var(--text-2);
}

.support-note-bar strong {
  color: #ffffff;
  font-weight: 500;
}

.support-note-bar code {
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 12.5px;
}

/* Stats Strip (About Page) */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric-card {
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid var(--border-1);
  background: rgba(10, 10, 12, 0.72);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric-card strong {
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.metric-card span {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-3);
}

/* Section Headers */
.section-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.section-head h2 {
  margin: 0;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #ffffff;
}

.section-head span {
  font-size: 13.5px;
  color: var(--text-3);
}

/* Feature Bento Grid (About Page) */
.bento-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--border-1);
  background: rgba(11, 11, 13, 0.76);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.feature-card:hover {
  border-color: var(--border-2);
  background: rgba(18, 18, 22, 0.84);
  transform: translateY(-2px);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
  color: #ffffff;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-card h3 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.56;
  color: var(--text-2);
}

/* Roadmap Timeline (About Page) */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.roadmap-card {
  padding: 22px 24px;
  border-radius: 16px;
  border: 1px solid var(--border-1);
  background: rgba(10, 10, 12, 0.74);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.roadmap-card.current {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(20, 21, 24, 0.84);
}

.roadmap-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.roadmap-ver {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.roadmap-tag {
  padding: 2px 9px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 500;
  border: 1px solid var(--border-1);
  color: var(--text-3);
}

.roadmap-card.current .roadmap-tag {
  border-color: rgba(52, 199, 123, 0.4);
  background: rgba(52, 199, 123, 0.12);
  color: #5ee39c;
}

.roadmap-card h3 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 600;
}

.roadmap-card ul {
  margin: 0;
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-2);
}

/* Bottom CTA Card */
.cta-banner {
  padding: clamp(24px, 4vw, 38px);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, rgba(22, 22, 26, 0.86) 0%, rgba(8, 8, 10, 0.9) 100%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-banner-copy {
  max-width: 540px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cta-banner-copy h2 {
  margin: 0;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
}

.cta-banner-copy p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-2);
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   6. Support Page Components (Quick Start, SHA-256, FAQ Accordion, Contact)
   ========================================================================== */

.support-top-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
}

.support-card {
  padding: 24px 26px;
  border-radius: 18px;
  border: 1px solid var(--border-1);
  background: rgba(11, 11, 13, 0.78);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.support-card h2 {
  margin: 0;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 18px;
  font-weight: 600;
}

.install-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.install-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-2);
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 1px;
}

.install-steps code {
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  font-size: 12.5px;
}

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

.spec-tile {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.spec-tile small {
  font-size: 11.5px;
  color: var(--text-3);
}

.spec-tile strong {
  font-size: 13.5px;
  font-weight: 500;
  color: #ffffff;
}

.sha-card-box {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sha-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sha-head span {
  font-size: 11.5px;
  color: var(--text-3);
}

.sha-copy-btn {
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: var(--text-2);
  font-size: 11.5px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.sha-copy-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

.sha-card-box code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 11.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
  word-break: break-all;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border-radius: 14px;
  border: 1px solid var(--border-1);
  background: rgba(11, 11, 13, 0.76);
  overflow: hidden;
  transition: border-color 0.16s ease;
}

.faq-item[open] {
  border-color: var(--border-2);
  background: rgba(16, 16, 20, 0.86);
}

.faq-item summary {
  list-style: none;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  cursor: pointer;
  user-select: none;
}

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

.faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--text-3);
  flex: none;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), color 0.15s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: #ffffff;
}

.faq-answer {
  padding: 0 20px 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
}

.faq-answer code {
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 12.5px;
}

/* Support Channels Row */
.support-channels-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.channel-help-card {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--border-1);
  background: rgba(11, 11, 13, 0.78);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.channel-help-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
}

.channel-help-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.56;
  color: var(--text-2);
}

/* Discreet Toast */
.download-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 28px);
  padding: 10px 14px 10px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(14, 14, 16, 0.96);
  color: #f4f4f5;
  font-size: 13.5px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.78);
  animation: toast-rise 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.download-toast[hidden] {
  display: none;
}

@keyframes toast-rise {
  from {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

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

.download-toast-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}

.download-toast-close {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.56);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex: none;
}

.download-toast-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   7. Responsive Adaptation (Tablet & Mobile 320px – 1024px)
   ========================================================================== */

@media (max-width: 1020px) {
  .hero-word {
    font-size: clamp(44px, 8.6vw, 96px);
  }

  .hero-brand-mascot {
    right: calc(100% + clamp(14px, 2.4vw, 28px));
    width: clamp(64px, 10vw, 112px);
  }
}

@media (max-width: 960px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .support-unified-card {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .support-col-divider {
    padding-left: 0;
    padding-top: 20px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

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

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

  .support-top-grid,
  .support-channels-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body.page-home {
    height: auto;
    min-height: 100dvh;
    overflow-y: auto;
  }

  .hero-stage {
    height: auto;
    min-height: 100dvh;
  }

  .site-header {
    height: 62px;
    padding: 0 20px;
  }

  .brand-wordmark {
    font-size: 16px;
    letter-spacing: 0.28em;
  }

  .site-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .hero-main {
    min-height: calc(100dvh - 62px);
    padding: 40px 16px 36px;
  }

  .hero-winter-logo {
    width: min(96vw, 520px);
  }

  .hero-title {
    flex-direction: column;
  }

  .hero-brand-mascot {
    position: static;
    transform: none;
    width: clamp(78px, 24vw, 106px);
    margin: 0 auto 14px;
  }

  .hero-word {
    flex-wrap: wrap;
    justify-content: center;
    font-size: clamp(38px, 12.2vw, 62px);
    gap: clamp(8px, 3vw, 18px);
  }

  .hero-word > .hero-brand-mascot {
    flex-basis: 100%;
    max-width: clamp(78px, 24vw, 106px);
  }

  .hero-letter {
    transform: scaleX(1.06);
  }

  @keyframes hero-enter {
    from {
      opacity: 0;
      transform: scaleX(1.08) translateY(10px);
    }
    to {
      opacity: 1;
      transform: scaleX(1.08) translateY(0);
    }
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-top: 36px;
    gap: 12px;
  }

  .btn-pill {
    width: 100%;
    min-width: 0;
    height: 52px;
    padding: 0 24px;
    font-size: 15px;
  }

  .site-footer {
    padding: 16px 20px 24px;
  }

  .footer-bar {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .footer-actions {
    justify-content: center;
    width: 100%;
  }

  .footer-pill {
    flex: 1 1 auto;
    justify-content: center;
    min-width: 148px;
  }

  .page-container {
    padding: 32px 18px 48px;
    gap: 28px;
  }

  .metrics-row,
  .bento-features,
  .roadmap-grid,
  .specs-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    padding: 22px 20px;
  }

  .cta-banner-actions {
    width: 100%;
  }

  .cta-banner-actions .btn-pill {
    width: 100%;
  }

  .support-card,
  .channel-help-card {
    padding: 20px 18px;
  }

  .faq-item summary {
    padding: 15px 16px;
    font-size: 14.5px;
  }

  .faq-answer {
    padding: 0 16px 15px;
  }
}

.metric-card,
.feature-card,
.roadmap-card,
.support-card,
.faq-item,
.channel-help-card {
  contain: layout style paint;
}

/* ==========================================================================
   8. Hero «Мандаринки» Trigger Link & Winter Event Modal
   ========================================================================== */

.hero-mandarin-wrap {
  display: flex;
  justify-content: center;
  margin-top: clamp(16px, 2.6vh, 26px);
  animation: actions-enter 0.84s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
}

.hero-mandarin-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 18px;
  border-radius: 9999px;
  border: 1px solid rgba(242, 153, 74, 0.32);
  background: rgba(242, 153, 74, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffd7ad;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.16s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.2s ease;
}

.hero-mandarin-link:hover {
  transform: translateY(-1px);
  background: rgba(242, 153, 74, 0.18);
  border-color: rgba(242, 153, 74, 0.58);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(242, 153, 74, 0.22);
}

.hero-mandarin-icon,
.hero-mandarin-icon-img {
  font-size: 16px;
  line-height: 1;
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.hero-mandarin-arrow {
  width: 15px;
  height: 15px;
  opacity: 0.78;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.hero-mandarin-link:hover .hero-mandarin-arrow {
  transform: translateX(2px);
  opacity: 1;
}

.mandarins-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fade-in 0.18s ease;
}

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

.mandarins-modal-card {
  width: min(580px, 100%);
  max-height: min(86dvh, 740px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 24px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(64% 48% at 100% 0%, rgba(242, 153, 74, 0.13) 0%, transparent 70%),
    #131312;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.72);
  overflow: hidden;
  animation: modal-pop 0.22s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes modal-pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mandarins-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.mandarins-modal-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mandarins-eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #f4a259;
}

.mandarins-modal-head h2 {
  margin: 0;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

.mandarins-close-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mandarins-kbd {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 11px;
  padding: 3px 7px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.56);
}

.mandarins-close-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.mandarins-close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.mandarins-close-btn svg {
  width: 16px;
  height: 16px;
}

.mandarins-modal-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  padding-right: 6px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mandarins-modal-scroll::-webkit-scrollbar {
  width: 6px;
}

.mandarins-modal-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.mandarins-hero-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid rgba(242, 153, 74, 0.28);
  background:
    radial-gradient(60% 100% at 0% 50%, rgba(242, 153, 74, 0.14) 0%, transparent 72%),
    rgba(255, 255, 255, 0.03);
}

.mandarins-hero-emoji {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}

.mandarins-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mandarins-hero-copy strong {
  font-size: 14px;
  color: #ffffff;
}

.mandarins-hero-copy span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.68);
}

.mandarins-story-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.76);
}

.mandarins-story-body p {
  margin: 0;
}

.mandarins-story-body p.mandarins-highlight {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.mandarins-rewards-list {
  margin: 4px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
}

.mandarins-rewards-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 11px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.4;
}

.mandarins-rewards-list li:last-child {
  border-bottom: 0;
}

.mandarins-reward-num {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 11.5px;
  font-weight: 600;
  color: #f4a259;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.mandarins-shop-preview {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mandarins-shop-preview-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.mandarins-shop-preview-head h3 {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
}

.mandarins-shop-preview-head span {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.48);
}

.mandarins-shop-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 15px;
  border-radius: 13px;
  border: 1px solid rgba(246, 194, 91, 0.3);
  background: rgba(246, 194, 91, 0.06);
}

.mandarins-shop-item-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mandarins-shop-item-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mandarins-shop-item-title strong {
  font-size: 14px;
  color: #ffffff;
}

.mandarins-special-badge {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(246, 194, 91, 0.16);
  border: 1px solid rgba(246, 194, 91, 0.42);
  color: #ffd980;
  font-size: 11px;
  font-weight: 700;
}

.mandarins-shop-item-main p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.68);
}

.mandarins-price-pill {
  flex-shrink: 0;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(242, 153, 74, 0.16);
  border: 1px solid rgba(242, 153, 74, 0.42);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
}

.mandarins-modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 560px) {
  .mandarins-modal-card {
    padding: 18px 18px 16px;
  }

  .mandarins-shop-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .mandarins-modal-foot {
    flex-direction: column;
  }

  .mandarins-modal-foot .btn-pill {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-word,
  .hero-actions,
  .sub-hero {
    animation: none;
  }
}

/* ============================================================================
   Professional First-Party Cookie Consent Banner & Preferences Modal
   ============================================================================ */
.footer-link-btn {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.54);
  font: inherit;
  font-size: inherit;
  cursor: pointer;
  transition: color 0.16s ease;
}

.footer-link-btn:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 90;
  width: min(860px, calc(100vw - 28px));
  padding: 16px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 12, 15, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cookie-banner[hidden],
.cookie-modal-backdrop[hidden] {
  display: none !important;
}

.cookie-banner-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.cookie-banner-copy strong {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.cookie-banner-copy p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.68);
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.12s ease;
}

.cookie-btn:active {
  transform: scale(0.98);
}

.cookie-btn-primary {
  border: 1px solid #ffffff;
  background: #ffffff;
  color: #09090b;
}

.cookie-btn-primary:hover {
  background: #e8ecf2;
}

.cookie-btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

.cookie-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.3);
}

.cookie-btn-ghost {
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
}

.cookie-btn-ghost:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-modal-card {
  width: min(560px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 22px 24px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(14, 14, 17, 0.96);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.72);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.cookie-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.52);
  margin-bottom: 4px;
}

.cookie-modal-head h2 {
  margin: 0;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
}

.cookie-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.cookie-close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.cookie-modal-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
}

.cookie-cat-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 15px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
}

.cookie-cat-toggle {
  cursor: pointer;
}

.cookie-cat-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cookie-cat-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cookie-cat-copy strong {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
}

.cookie-cat-copy p {
  margin: 0;
  font-size: 12px;
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.58);
}

.cookie-always-on {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(54, 179, 126, 0.14);
  border: 1px solid rgba(54, 179, 126, 0.34);
  color: #86efac;
  font-size: 11px;
  font-weight: 600;
}

.cookie-switch {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  flex-shrink: 0;
  transition: background-color 0.18s ease;
}

.cookie-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.18s ease;
}

.cookie-cat-toggle input:checked + .cookie-switch {
  background: #36b37e;
}

.cookie-cat-toggle input:checked + .cookie-switch::after {
  transform: translateX(18px);
}

.cookie-modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-modal-foot-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 720px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    bottom: 12px;
    padding: 14px 16px;
  }

  .cookie-banner-actions {
    justify-content: flex-end;
    flex-wrap: wrap;
  }
}

/* ============================================================================
   SEO Semantic Helpers & Below-the-Fold Home Overview
   ============================================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-seo-showcase {
  position: relative;
  z-index: 2;
  padding: 72px 24px 88px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(6, 6, 9, 0.86) 0%, rgba(4, 4, 6, 0.96) 100%);
}

.home-seo-inner {
  width: min(1060px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.home-seo-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  max-width: 740px;
}

.home-seo-head h2 {
  margin: 0;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #ffffff;
}

.home-seo-head p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
}

.home-seo-showcase .pillar-card h3 {
  margin: 0;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 17px;
  font-weight: 650;
  color: #ffffff;
}

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

.home-seo-link-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(14, 14, 18, 0.72);
  text-decoration: none;
  transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}

.home-seo-link-card:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(22, 22, 28, 0.88);
  transform: translateY(-2px);
}

.home-seo-link-card strong {
  font-size: 14.5px;
  font-weight: 600;
  color: #ffffff;
}

.home-seo-link-card span {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-2);
}

@media (max-width: 820px) {
  .home-seo-links {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   11. Interface refinement — quieter hierarchy and device-safe home layout
   ========================================================================== */

.page-home .site-header {
  height: 68px;
  background: linear-gradient(180deg, rgba(4, 5, 8, 0.9), rgba(4, 5, 8, 0.46));
  border-bottom-color: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.page-home .site-nav {
  gap: clamp(20px, 3.2vw, 46px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.page-home .nav-link {
  padding: 23px 0 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
}

.page-home .nav-link:hover {
  color: #fff;
  background: transparent;
}

.page-home .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: 0;
  height: 2px;
  background: #fff;
  transform: translateX(-50%);
  transition: width 0.18s ease;
}

.page-home .nav-link:hover::after,
.page-home .nav-link.active::after {
  width: 24px;
}

.page-home .nav-link.active {
  color: #fff;
  background: transparent;
  box-shadow: none;
}

.page-home .hero-main {
  padding-top: clamp(20px, 3vh, 38px);
  padding-bottom: clamp(14px, 2.2vh, 26px);
}

.page-home .hero-winter-logo {
  width: min(94vw, 1040px);
  max-height: min(46vh, 370px);
}

.page-home .hero-actions {
  gap: 12px;
  margin-top: clamp(22px, 3.8vh, 40px);
}

.page-home .hero-actions .btn-snow-cap {
  display: none;
}

.page-home .hero-actions .btn-pill {
  height: 54px;
  border-radius: 16px;
  padding-inline: 30px;
  box-shadow: none;
}

.page-home .hero-actions .btn-pill-primary {
  min-width: 270px;
  background: #f4f5f7;
  border-color: #f4f5f7;
}

.page-home .hero-actions .btn-pill-primary:hover {
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.36);
}

.page-home .hero-actions .btn-pill-outline {
  min-width: 184px;
  background: rgba(5, 7, 11, 0.34);
  border-color: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-mandarin-wrap {
  margin-top: clamp(13px, 2vh, 20px);
}

.hero-mandarin-link {
  height: auto;
  padding: 7px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: rgba(255, 219, 177, 0.82);
  font-size: 13px;
}

.hero-mandarin-link:hover {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: #fff;
}

.page-home .site-footer {
  padding-top: 12px;
  background: linear-gradient(0deg, rgba(2, 3, 5, 0.68), transparent);
}

.page-home .footer-pill {
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.cookie-banner {
  width: min(920px, calc(100vw - 32px));
  bottom: 16px;
  padding: 12px 14px 12px 16px;
  border-radius: 14px;
  background: rgba(10, 11, 15, 0.92);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.58);
}

.cookie-banner-copy p {
  max-width: 500px;
}

.cookie-btn {
  border-radius: 10px;
}

@media (max-width: 900px) {
  .page-home .hero-winter-logo {
    width: min(95vw, 760px);
  }

  .page-home .site-header {
    padding-inline: 32px;
  }

  .page-home .site-footer {
    padding-inline: 32px;
  }
}

@media (max-width: 720px) {
  .page-home .site-header {
    height: 60px;
    padding-inline: 20px;
  }

  .page-home .mobile-menu-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: transparent;
  }

  .page-home .hero-main {
    min-height: calc(100svh - 60px);
    justify-content: center;
    padding: 28px 16px 26px;
  }

  .page-home .hero-winter-logo {
    width: min(104vw, 590px);
    max-width: none;
    max-height: min(39svh, 300px);
  }

  .page-home .hero-actions {
    max-width: 360px;
    margin-top: clamp(24px, 4.2svh, 36px);
    gap: 10px;
  }

  .page-home .hero-actions .btn-pill {
    height: 52px;
    border-radius: 14px;
  }

  .page-home .site-footer {
    padding: 14px 18px 22px;
  }

  .page-home .footer-actions {
    display: none;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    transform: none;
    padding: 13px;
    gap: 12px;
  }

  .cookie-banner-copy p {
    font-size: 12px;
    line-height: 1.4;
  }

  .cookie-banner-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .cookie-banner-actions .cookie-btn {
    width: 100%;
  }

  .cookie-banner-actions .cookie-btn-ghost {
    grid-column: 1 / -1;
    height: 30px;
  }
}

@media (max-width: 430px) {
  .page-home .hero-main {
    justify-content: flex-start;
    min-height: 760px;
    padding-top: clamp(120px, 20svh, 170px);
  }

  .page-home .hero-winter-logo {
    width: 112vw;
    max-height: 230px;
  }

  .page-home .hero-actions {
    max-width: 100%;
    margin-top: 34px;
  }

  .hero-mandarin-wrap {
    margin-top: 10px;
  }

  .page-home .site-footer {
    padding-bottom: 18px;
  }

  .footer-left {
    gap: 8px;
    font-size: 11.5px;
  }

  .cookie-btn {
    padding-inline: 9px;
    font-size: 11.5px;
  }
}

@media (max-height: 720px) and (min-width: 721px) {
  .page-home .hero-winter-logo {
    max-height: 36vh;
  }

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

  .hero-mandarin-wrap {
    margin-top: 8px;
  }

  .page-home .site-footer {
    padding-block: 10px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .nav-link::after,
  .hero-mandarin-arrow {
    transition: none;
  }
}

/* Home is intentionally a single-screen experience. */
.page-home .hero-stage {
  min-height: 100svh;
}

.page-home .brand-wordmark {
  font-size: 17px;
}

.page-home .nav-link {
  font-size: 13.5px;
}

.page-home .hero-actions .btn-pill {
  height: 50px;
  font-size: 14.5px;
  gap: 11px;
}

.page-home .hero-actions .btn-pill-primary {
  min-width: 248px;
}

.page-home .hero-actions .btn-pill-outline {
  min-width: 168px;
}

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

@media (max-width: 720px) {
  .mobile-drawer {
    inset: 0 0 0 auto;
    width: min(88vw, 390px);
    padding: 18px 20px 24px;
    background: rgba(8, 9, 13, 0.96);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -28px 0 80px rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(24px) saturate(130%);
    -webkit-backdrop-filter: blur(24px) saturate(130%);
    animation: mobile-drawer-in 0.24s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mobile-drawer::before {
    content: "";
    position: fixed;
    inset: 0 min(88vw, 390px) 0 0;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
  }

  @keyframes mobile-drawer-in {
    from { transform: translateX(24px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
  }

  .mobile-drawer-head {
    min-height: 42px;
  }

  .mobile-drawer-head .brand-wordmark {
    font-size: 15px;
  }

  .mobile-drawer-nav {
    gap: 0;
    margin: 34px 0 auto;
  }

  .mobile-drawer-link {
    position: relative;
    justify-content: flex-start;
    padding: 15px 2px;
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.62);
  }

  .mobile-drawer-link::after {
    content: "→";
    margin-left: auto;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.32);
  }

  .mobile-drawer-link.active {
    color: #fff;
  }

  .mobile-drawer-link.active::before {
    content: "";
    width: 5px;
    height: 5px;
    margin-right: 10px;
    border-radius: 50%;
    background: #fff;
  }

  .mobile-drawer-foot {
    gap: 12px;
    padding-top: 26px;
  }

  .mobile-drawer-foot .btn-pill {
    width: 100%;
    min-width: 0;
    height: 48px;
    border-radius: 13px;
    font-size: 14px;
  }

  .mobile-drawer-foot .footer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .mobile-drawer-foot .footer-pill {
    min-width: 0;
    height: 36px;
    border-radius: 10px;
    padding-inline: 8px;
    font-size: 11.5px;
  }
}

@media (max-width: 430px) {
  .page-home .hero-actions .btn-pill {
    height: 49px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-drawer {
    animation: none;
  }
}

/* ==========================================================================
   12. Subpage composition — shared, readable and intentionally restrained
   ========================================================================== */

.page-sub .site-header {
  height: 68px;
  background: linear-gradient(180deg, rgba(4, 5, 8, 0.94), rgba(4, 5, 8, 0.62));
  border-bottom-color: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.page-sub .site-nav {
  gap: clamp(20px, 3.2vw, 46px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.page-sub .nav-link {
  padding: 23px 0 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13.5px;
}

.page-sub .nav-link:hover,
.page-sub .nav-link.active {
  color: #fff;
  background: transparent;
  box-shadow: none;
}

.page-sub .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: 0;
  height: 2px;
  background: #fff;
  transform: translateX(-50%);
  transition: width 0.18s ease;
}

.page-sub .nav-link:hover::after,
.page-sub .nav-link.active::after {
  width: 24px;
}

.page-sub .page-container {
  width: min(100%, 1060px);
  padding: clamp(42px, 6vh, 68px) clamp(20px, 4vw, 34px) 58px;
  gap: clamp(30px, 4.5vh, 44px);
}

.page-sub .sub-hero {
  max-width: 690px;
  gap: 12px;
}

.page-sub .eyebrow-pill {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.52);
}

.page-sub .eyebrow-dot {
  width: 5px;
  height: 5px;
}

.page-sub .sub-hero h1 {
  max-width: 650px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  background: none;
  color: #f5f6f8;
}

.page-sub .sub-hero p {
  max-width: 660px;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.66);
}

.page-sub .sub-hero-actions {
  gap: 13px;
  margin-top: 6px;
}

.page-sub .btn-snow-cap {
  display: none;
}

.page-sub .btn-pill {
  height: 48px;
  border-radius: 13px;
  padding-inline: 24px;
  font-size: 14px;
  gap: 10px;
  box-shadow: none;
}

.page-sub .btn-pill-primary {
  min-width: 0;
  background: #f4f5f7;
  border-color: #f4f5f7;
}

.page-sub .pillars-grid {
  gap: 12px;
}

.page-sub .pillar-card {
  min-height: 188px;
  padding: 22px 21px;
  border-radius: 14px;
  background: rgba(9, 10, 14, 0.66);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.page-sub .pillar-card:hover {
  background: rgba(13, 14, 19, 0.78);
  transform: none;
}

.page-sub .pillar-card h2 {
  font-size: 16.5px;
  line-height: 1.35;
}

.page-sub .pillar-card p {
  font-size: 13.5px;
  line-height: 1.58;
}

.page-sub .plan-strip,
.page-sub .support-note-bar {
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(9, 10, 14, 0.64);
}

.page-sub .support-unified-card {
  padding: 24px;
  border-radius: 15px;
  background: rgba(9, 10, 14, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.page-sub .support-col {
  gap: 14px;
}

.page-sub .support-col h2 {
  font-size: 17px;
  line-height: 1.35;
}

.page-sub .install-steps {
  gap: 13px;
}

.page-sub .install-steps li {
  font-size: 13.5px;
  line-height: 1.5;
}

.page-sub .step-num {
  width: 23px;
  height: 23px;
  font-size: 10.5px;
}

.page-sub .sha-card-box {
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
}

.page-sub .section-block {
  gap: 15px;
}

.page-sub .section-head h2 {
  font-size: clamp(20px, 2vw, 24px);
}

.page-sub .faq-list {
  gap: 8px;
}

.page-sub .faq-item {
  border-radius: 11px;
  background: rgba(9, 10, 14, 0.62);
}

.page-sub .faq-item summary {
  min-height: 52px;
  padding: 13px 16px;
  font-size: 14px;
}

.page-sub .faq-answer {
  font-size: 13.5px;
  line-height: 1.6;
}

.page-sub .site-footer {
  padding-top: 20px;
  background: linear-gradient(0deg, rgba(2, 3, 5, 0.7), transparent);
}

.page-sub .footer-pill {
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

@media (max-width: 720px) {
  .page-sub .site-header {
    height: 60px;
    padding-inline: 20px;
  }

  .page-sub .page-container {
    padding: 34px 18px 44px;
    gap: 28px;
  }

  .page-sub .sub-hero {
    gap: 10px;
  }

  .page-sub .sub-hero h1 {
    font-size: clamp(29px, 9vw, 38px);
  }

  .page-sub .sub-hero p {
    font-size: 14.5px;
    line-height: 1.55;
  }

  .page-sub .sub-hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .page-sub .sub-hero-actions .btn-pill {
    width: auto;
    max-width: 100%;
    height: 47px;
  }

  .page-sub .pillars-grid {
    gap: 10px;
  }

  .page-sub .pillar-card {
    min-height: 0;
    padding: 19px 18px;
  }

  .page-sub .support-unified-card {
    padding: 20px 18px;
    gap: 22px;
  }

  .page-sub .support-col-divider {
    padding-top: 22px;
  }

  .page-sub .plan-strip,
  .page-sub .support-note-bar {
    padding: 15px 16px;
  }

  .page-sub .site-footer {
    padding-inline: 18px;
  }
}

@media (max-width: 430px) {
  .page-sub .page-container {
    padding-top: 30px;
  }

  .page-sub .support-unified-card .btn-pill {
    width: 100%;
    padding-inline: 14px;
    font-size: 13.5px;
  }

  .page-sub .sha-head {
    align-items: flex-start;
    gap: 8px;
  }
}
