:root {
  --bg-1: #f4f7fc;
  --bg-2: #edf3fb;
  --bg-3: #fbfdff;
  --text-main: #18212d;
  --text-sub: #5f6c7b;
  --text-strong: #29425c;
  --text-muted: #8a97a8;
  --panel-bg: rgba(255, 255, 255, 0.9);
  --panel-bg-strong: rgba(255, 255, 255, 0.95);
  --surface-base: #fff;
  --surface-soft: rgba(248, 250, 255, 0.96);
  --surface-overlay: rgba(255, 255, 255, 0.97);
  --border: rgba(33, 43, 57, 0.12);
  --accent: #1267d6;
  --accent-strong: #0f4ca7;
  --accent-soft: #e7f0ff;
  --accent-ring: rgba(18, 103, 214, 0.16);
  --danger: #c94d52;
  --success: #2f8f64;
  --logo-blue: #1364fc;
  --shadow-sm: 0 10px 24px rgba(16, 31, 56, 0.1);
  --shadow-md: 0 14px 26px rgba(19, 36, 62, 0.18);
  --shadow-lg: 0 22px 52px rgba(20, 42, 73, 0.12);
  --shadow-accent: 0 8px 18px rgba(18, 103, 214, 0.2);
  --shadow-accent-strong: 0 16px 28px rgba(18, 103, 214, 0.24);
  --shadow-accent-strong-hover: 0 20px 34px rgba(18, 103, 214, 0.27);
  --accent-gradient: linear-gradient(140deg, #0f5fce, #2e86ff);
  --font-size-xs: 12px;
  --font-size-sm: 13px;
  --font-size-md: 14px;
  --font-size-base: 15px;
  --font-size-lg: 16px;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 14px;
  --radius-2xl: 16px;
  --radius-3xl: 20px;
  --top-bar-height: 64px;
  --top-bar-offset: 12px;
  --top-bar-side-offset: 12px;
}

* {
  box-sizing: border-box;
}

html[data-i18n-ready="false"] body {
  visibility: hidden;
}

.page {
  width: min(1180px, 94vw);
  margin: 0 auto;
  min-height: calc(100vh - var(--top-bar-height) - var(--top-bar-offset) - env(safe-area-inset-top));
  padding: 28px 0 44px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero {
  max-width: 1180px;
  min-height: calc(100vh - 180px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-title {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(38px, 6.4vw, 82px);
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: balance;
  position: relative;
  background-image: linear-gradient(
    118deg,
    rgba(19, 100, 252, 0.54) 0%,
    var(--logo-blue) 18%,
    rgba(19, 100, 252, 0.62) 36%,
    rgba(19, 100, 252, 0.94) 56%,
    rgba(19, 100, 252, 0.68) 74%,
    var(--logo-blue) 88%,
    rgba(19, 100, 252, 0.58) 100%
  );
  background-size: 240% 240%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter:
    drop-shadow(0 0 7px rgba(19, 100, 252, 0.2))
    drop-shadow(0 0 18px rgba(19, 100, 252, 0.14));
  animation: heroTitleSpectrum 40s ease-in-out infinite;
}

.hero-subtitle {
  margin: 18px auto 0;
  max-width: 920px;
  color: var(--text-sub);
  font-size: clamp(17px, 1.6vw, 24px);
  line-height: 1.55;
}

@keyframes heroTitleSpectrum {
  0%,
  100% {
    background-position: 0% 50%;
    filter:
      drop-shadow(0 0 7px rgba(19, 100, 252, 0.2))
      drop-shadow(0 0 18px rgba(19, 100, 252, 0.14));
  }

  50% {
    background-position: 100% 50%;
    filter:
      drop-shadow(0 0 9px rgba(19, 100, 252, 0.24))
      drop-shadow(0 0 22px rgba(19, 100, 252, 0.16));
  }
}

@media (max-width: 760px) {
  :root {
    --top-bar-height: 58px;
    --top-bar-offset: 8px;
    --top-bar-side-offset: 8px;
  }

  .page {
    padding: 18px 0 30px;
  }
}
