:root {
  --ub-paper: #F5F1E8;
  --ub-paper-bright: #F0F4F8;
  --ub-ink: #1A1A1A;
  --ub-blue: #1E3A8A;
  --ub-blue-light: #3B82F6;
  --ub-orange: #FF6B35;
  --ub-orange-light: #FFB084;
  --ub-gray: #E5E0D8;
  --ub-space: #0F172A;
  --ub-white: #FFFFFF;
  --ub-radius-sm: 12px;
  --ub-radius-md: 20px;
  --ub-radius-lg: 32px;
  --ub-radius-pill: 999px;
  --ub-container-lg: 1280px;
  --ub-container-md: 960px;
  --ub-gutter: clamp(20px, 4vw, 48px);
  --ub-tfont: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --ub-bfont: "Songti SC", "SimSun", "Noto Serif CJK SC", Georgia, serif;
  --ub-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  font-family: var(--ub-bfont);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ub-ink);
  background:
    radial-gradient(900px 420px at 85% -50px, rgba(30, 58, 138, 0.06), transparent 65%),
    linear-gradient(180deg, #F0F4F8 0%, #F5F1E8 480px);
}

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

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

ul,
ol {
  list-style: none;
}

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

::selection {
  background: rgba(30, 58, 138, 0.16);
  color: var(--ub-ink);
}

:focus-visible {
  outline: 3px solid var(--ub-orange);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: -999px;
  z-index: 9999;
  background: var(--ub-blue);
  color: #FFFFFF;
  padding: 10px 22px;
  border-radius: var(--ub-radius-pill);
  font-family: var(--ub-tfont);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: left 0.2s ease;
}

.skip-link:focus {
  left: 12px;
  outline: 3px solid var(--ub-orange);
  outline-offset: 2px;
}

#main-content {
  min-height: 60vh;
  padding-top: 88px;
}

.ub-container {
  width: 100%;
  max-width: var(--ub-container-lg);
  margin-inline: auto;
  padding-inline: var(--ub-gutter);
}

.ub-container--narrow {
  max-width: var(--ub-container-md);
}

.ub-h1,
.ub-h2,
.ub-h3 {
  font-family: var(--ub-tfont);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ub-ink);
  line-height: 1.2;
}

.ub-h1 {
  font-size: clamp(36px, 5.5vw, 48px);
  line-height: 1.1;
}

.ub-h2 {
  font-size: clamp(28px, 3.5vw, 32px);
}

.ub-h3 {
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 700;
}

.ub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--ub-radius-pill);
  font-family: var(--ub-tfont);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.ub-btn:active {
  transform: translateY(1px) scale(0.98);
}

.ub-btn--primary {
  background: var(--ub-blue);
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.28);
}

.ub-btn--primary:hover {
  background: #17337A;
  box-shadow: 0 12px 28px rgba(30, 58, 138, 0.36);
  transform: translateY(-2px);
}

.ub-btn--accent {
  background: var(--ub-orange);
  color: var(--ub-ink);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.28);
}

.ub-btn--accent:hover {
  background: #F05E28;
  box-shadow: 0 12px 28px rgba(255, 107, 53, 0.36);
  transform: translateY(-2px);
}

.ub-btn--outline {
  background: transparent;
  border-color: rgba(26, 26, 26, 0.22);
  color: var(--ub-ink);
}

.ub-btn--outline:hover {
  border-color: var(--ub-blue);
  color: var(--ub-blue);
  background: rgba(30, 58, 138, 0.04);
  transform: translateY(-2px);
}

.ub-btn--block {
  width: 100%;
}

.ub-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--ub-radius-pill);
  background: rgba(30, 58, 138, 0.08);
  color: var(--ub-blue);
  font-family: var(--ub-tfont);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.ub-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
  opacity: 0.8;
}

.ub-tag--accent {
  background: rgba(255, 107, 53, 0.1);
  color: #D95A22;
}

.ub-section {
  padding: 40px 0;
}

.ub-section__head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 32px;
  position: relative;
}

.ub-section__index {
  font-family: var(--ub-tfont);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(30, 58, 138, 0.14);
  user-select: none;
}

.ub-section__title {
  font-family: var(--ub-tfont);
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ub-ink);
  letter-spacing: -0.02em;
  padding-top: 4px;
}

.ub-section__subtitle {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(26, 26, 26, 0.66);
}

.ub-card {
  background: var(--ub-white);
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: var(--ub-radius-md);
  padding: 28px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.ub-card__title {
  font-family: var(--ub-tfont);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ub-ink);
}

.ub-card__text {
  font-size: 14px;
  color: rgba(26, 26, 26, 0.66);
  line-height: 1.7;
}

.ub-folder {
  background: var(--ub-white);
  border: 1px solid var(--ub-gray);
  border-radius: 24px;
  padding: 34px 28px 28px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ub-folder:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.1);
}

.ub-folder__tab {
  position: absolute;
  top: -1px;
  left: 28px;
  background: var(--ub-blue);
  color: #FFFFFF;
  font-family: var(--ub-tfont);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 0 0 14px 14px;
  letter-spacing: 0.04em;
}

.ub-folder__label {
  font-family: var(--ub-tfont);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.45);
  font-weight: 700;
}

.ub-folder__title {
  font-family: var(--ub-tfont);
  font-size: 22px;
  font-weight: 700;
  margin-top: 6px;
  color: var(--ub-ink);
}

.ub-folder__desc {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(26, 26, 26, 0.65);
}

.ub-grid {
  display: grid;
  gap: 24px;
}

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

.ub-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.ub-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-family: var(--ub-tfont);
  font-size: 13px;
  color: rgba(26, 26, 26, 0.55);
  padding: 12px 0;
}

.ub-breadcrumb a {
  color: var(--ub-blue);
  text-decoration: none;
  font-weight: 500;
}

.ub-breadcrumb a:hover {
  text-decoration: underline;
}

.ub-breadcrumb__sep {
  color: rgba(26, 26, 26, 0.3);
}

.ub-breadcrumb [aria-current="page"] {
  color: var(--ub-ink);
  font-weight: 600;
}

.ub-blueprint {
  position: relative;
  border-radius: var(--ub-radius-lg);
  background-color: #EAF0F6;
  background-image:
    linear-gradient(rgba(30, 58, 138, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 58, 138, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
}

.ub-blueprint::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ub-orange) 50%, transparent);
  pointer-events: none;
}

.ub-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--ub-radius-md);
  background: linear-gradient(135deg, #E6ECF2, #D7DEE7);
  aspect-ratio: 16 / 10;
}

.ub-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ub-media--wide {
  aspect-ratio: 21 / 9;
}

.ub-media--square {
  aspect-ratio: 1 / 1;
}

.ub-media--portrait {
  aspect-ratio: 4 / 5;
}

.ub-screen {
  background: var(--ub-space);
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.ub-screen::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    radial-gradient(400px 200px at 75% 20%, rgba(59, 130, 246, 0.25), transparent 70%);
  background-size: 32px 32px, 32px 32px, 100% 100%;
  border-radius: 14px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding-block: 18px;
  background: transparent;
  transition: background-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease, padding 0.35s ease;
}

.site-header__inner {
  max-width: var(--ub-container-lg);
  margin-inline: auto;
  padding-inline: var(--ub-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--ub-ink);
}

.site-header__brand-mark {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1E3A8A 60%, #15306B 100%);
  box-shadow: 0 6px 16px rgba(30, 58, 138, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-family: var(--ub-tfont);
  font-size: 17px;
  font-weight: 800;
  display: grid;
  place-items: center;
  letter-spacing: 0.02em;
}

.site-header__brand-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ub-orange);
  box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.25);
}

.site-header__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.site-header__brand-title {
  font-family: var(--ub-tfont);
  font-size: 18px;
  font-weight: 800;
  color: var(--ub-ink);
  letter-spacing: 0.02em;
}

.site-header__brand-domain {
  font-family: var(--ub-tfont);
  font-size: 11px;
  font-weight: 500;
  color: rgba(26, 26, 26, 0.55);
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

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

.site-nav__list a {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: var(--ub-radius-pill);
  font-family: var(--ub-tfont);
  font-size: 14px;
  font-weight: 500;
  color: rgba(26, 26, 26, 0.8);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav__list a:hover {
  color: var(--ub-blue);
  background: rgba(30, 58, 138, 0.08);
}

.site-nav__list a[aria-current="page"] {
  color: #FFFFFF;
  background: var(--ub-blue);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.24);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.site-header__search {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--ub-radius-pill);
  font-family: var(--ub-tfont);
  font-size: 13px;
  font-weight: 500;
  color: var(--ub-ink);
  text-decoration: none;
  border: 1px solid rgba(26, 26, 26, 0.16);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.site-header__search:hover {
  border-color: var(--ub-blue);
  background: rgba(30, 58, 138, 0.06);
}

.site-header__search-icon {
  flex-shrink: 0;
}

.site-header__search-text {
  font-family: var(--ub-tfont);
  font-size: 13px;
  font-weight: 500;
}

.site-header__toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid rgba(26, 26, 26, 0.18);
  border-radius: 14px;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s ease;
}

.site-header__toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ub-ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.site-header__toggle:hover {
  border-color: var(--ub-blue);
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-line:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-line:nth-child(3) {
  opacity: 0;
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-line:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-header__progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  z-index: 2000;
  background: linear-gradient(90deg, var(--ub-blue), var(--ub-orange));
  border-radius: 0 3px 3px 0;
}

body[data-scrolled="true"] .site-header {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  padding-block: 10px;
  box-shadow: 0 1px 0 rgba(26, 26, 26, 0.06), 0 12px 32px rgba(15, 23, 42, 0.06);
}

.ub-nav-open {
  overflow: hidden;
}

@media (min-width: 961px) {
  .ub-nav-open {
    overflow: auto;
  }
}

@media (max-width: 960px) {
  .site-nav {
    position: fixed;
    top: 76px;
    left: var(--ub-gutter);
    right: var(--ub-gutter);
    z-index: 999;
    background: var(--ub-white);
    border: 1px solid var(--ub-gray);
    border-radius: 24px;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .site-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .site-nav__list a {
    display: flex;
    padding: 14px 18px;
    font-size: 15px;
  }

  .site-header__toggle {
    display: inline-flex;
  }

  .site-header__search {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
    border-radius: 14px;
  }

  .site-header__search-text {
    display: none;
  }
}

body[data-header-theme="light"] .site-header__brand,
body[data-header-theme="light"] .site-header__brand-title {
  color: #FFFFFF;
}

body[data-header-theme="light"] .site-header__brand-domain {
  color: rgba(255, 255, 255, 0.65);
}

body[data-header-theme="light"] .site-nav__list a {
  color: rgba(255, 255, 255, 0.9);
}

body[data-header-theme="light"] .site-nav__list a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

body[data-header-theme="light"] .site-header__search {
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
}

body[data-header-theme="light"] .site-header__search:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
}

body[data-header-theme="light"] .site-header__toggle {
  border-color: rgba(255, 255, 255, 0.4);
}

body[data-header-theme="light"] .site-header__toggle-line {
  background: #FFFFFF;
}

body[data-header-theme="light"][data-scrolled="true"] .site-header__brand,
body[data-header-theme="light"][data-scrolled="true"] .site-header__brand-title,
body[data-header-theme="light"][data-scrolled="true"] .site-nav__list a,
body[data-header-theme="light"][data-scrolled="true"] .site-header__search {
  color: var(--ub-ink);
}

body[data-header-theme="light"][data-scrolled="true"] .site-header__brand-domain {
  color: rgba(26, 26, 26, 0.55);
}

body[data-header-theme="light"][data-scrolled="true"] .site-header__search {
  border-color: rgba(26, 26, 26, 0.18);
}

body[data-header-theme="light"][data-scrolled="true"] .site-header__toggle {
  border-color: rgba(26, 26, 26, 0.18);
}

body[data-header-theme="light"][data-scrolled="true"] .site-header__toggle-line {
  background: var(--ub-ink);
}

body[data-header-theme="light"][data-scrolled="true"] .site-nav__list a:hover {
  background: rgba(30, 58, 138, 0.08);
  color: var(--ub-blue);
}

@media (max-width: 960px) {
  body[data-header-theme="light"] .site-nav__list a {
    color: var(--ub-ink);
  }

  body[data-header-theme="light"] .site-nav__list a:hover {
    background: rgba(30, 58, 138, 0.08);
    color: var(--ub-blue);
  }
}

.site-footer {
  position: relative;
  margin-top: 96px;
  background:
    radial-gradient(1200px 400px at 80% -50px, rgba(30, 58, 138, 0.45), transparent 60%),
    var(--ub-space);
  color: rgba(240, 244, 248, 0.78);
  font-size: 14px;
  border-radius: 40px 40px 0 0;
  padding-top: 72px;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.6) 30%, rgba(30, 58, 138, 0.5) 70%, transparent);
  z-index: 2;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  max-width: var(--ub-container-lg);
  margin-inline: auto;
  padding-inline: var(--ub-gutter);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.site-footer__brand-col,
.site-footer__nav-col,
.site-footer__contact-col {
  min-width: 0;
}

.site-footer__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #FFFFFF;
  text-decoration: none;
}

.site-footer__brand-mark {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ub-blue), #152E6D);
  color: #FFFFFF;
  font-family: var(--ub-tfont);
  font-weight: 800;
  font-size: 18px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.4);
}

.site-footer__brand-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 6px;
  height: 6px;
  background: var(--ub-orange);
  border-radius: 50%;
}

.site-footer__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.site-footer__brand-name {
  font-family: var(--ub-tfont);
  font-weight: 800;
  font-size: 18px;
  color: #FFFFFF;
  letter-spacing: 0.02em;
}

.site-footer__brand-domain {
  font-family: var(--ub-tfont);
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.site-footer__desc {
  margin-top: 20px;
  max-width: 320px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(240, 244, 248, 0.6);
}

.site-footer__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.site-footer .ub-tag {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
}

.site-footer .ub-tag--accent {
  background: rgba(255, 107, 53, 0.16);
  color: var(--ub-orange-light);
}

.site-footer__coords {
  margin-top: 16px;
  font-family: var(--ub-tfont);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
}

.site-footer__col-title {
  font-family: var(--ub-tfont);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 18px;
}

.site-footer__linklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__linklist a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(240, 244, 248, 0.7);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
  padding: 2px 0;
}

.site-footer__linklist a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ub-orange);
  opacity: 0.6;
  flex-shrink: 0;
}

.site-footer__linklist a:hover {
  color: #FFFFFF;
  opacity: 1;
}

.site-footer__contact {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.site-footer__contact-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.7;
}

.site-footer__contact-label {
  flex-shrink: 0;
  font-family: var(--ub-tfont);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 3px 8px;
  letter-spacing: 0.04em;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(240, 244, 248, 0.5);
}

@media (max-width: 1024px) {
  .site-footer {
    margin-top: 72px;
    border-radius: 32px 32px 0 0;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .site-footer {
    margin-top: 56px;
    border-radius: 24px 24px 0 0;
    padding-top: 48px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 40px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .ub-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .ub-grid--2,
  .ub-grid--3 {
    grid-template-columns: 1fr;
  }

  .ub-section {
    padding: 24px 0;
  }

  .ub-card,
  .ub-folder {
    padding: 22px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
