@charset "UTF-8";

:root {
  --brand-1: #7c5cff;
  --brand-2: #ff5c9d;
  --brand-3: #35d6c6;
  --brand-4: #ffb02e;
  --brand-grad: linear-gradient(120deg, #7c5cff 0%, #b45cff 42%, #ff5c9d 100%);
  --brand-grad-soft: linear-gradient(120deg, rgba(124, 92, 255, .18), rgba(255, 92, 157, .16));

  --bg: #0c0917;
  --bg-soft: #110d20;
  --surface: #171127;
  --surface-2: #1e1733;
  --surface-3: #251d3f;
  --border: rgba(255, 255, 255, .09);
  --border-strong: rgba(255, 255, 255, .16);
  --text: #f4f0ff;
  --text-soft: #cfc6e6;
  --muted: #9c92b8;
  --shadow-sm: 0 4px 14px rgba(5, 2, 15, .35);
  --shadow-md: 0 14px 38px rgba(5, 2, 15, .45);
  --shadow-lg: 0 28px 70px rgba(5, 2, 15, .55);
  --glass: rgba(14, 10, 26, .72);

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --wrap: 1180px;
  --gap: 22px;
  --header-h: 72px;

  --font-sans: "HarmonyOS Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-num: "DIN Alternate", "Bahnschrift", "Segoe UI Variable", "Segoe UI", Roboto, Arial, sans-serif;

  --ease: cubic-bezier(.22, .68, .36, 1);
  --dur: .35s;
}

html[data-theme="light"] {
  --bg: #f6f4fd;
  --bg-soft: #efecfb;
  --surface: #ffffff;
  --surface-2: #f7f5ff;
  --surface-3: #eee9ff;
  --border: rgba(35, 22, 66, .10);
  --border-strong: rgba(35, 22, 66, .18);
  --text: #1c1530;
  --text-soft: #3d3357;
  --muted: #6b6285;
  --shadow-sm: 0 4px 14px rgba(52, 33, 110, .08);
  --shadow-md: 0 16px 40px rgba(52, 33, 110, .12);
  --shadow-lg: 0 30px 70px rgba(52, 33, 110, .16);
  --glass: rgba(255, 255, 255, .82);
  --brand-grad-soft: linear-gradient(120deg, rgba(124, 92, 255, .12), rgba(255, 92, 157, .10));
}

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

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

body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(1100px 620px at 12% -8%, rgba(124, 92, 255, .26), transparent 62%),
    radial-gradient(900px 560px at 92% 4%, rgba(255, 92, 157, .18), transparent 60%),
    radial-gradient(760px 520px at 50% 108%, rgba(53, 214, 198, .13), transparent 62%),
    var(--bg);
  color: var(--text-soft);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.78;
  letter-spacing: .01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .4;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 78%);
}

html[data-theme="light"] body::before {
  background-image:
    linear-gradient(rgba(60, 30, 130, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60, 30, 130, .05) 1px, transparent 1px);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

h1,
h2,
h3,
h4 {
  color: var(--text);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.012em;
  margin: 0;
}

h1 {
  font-size: clamp(1.85rem, 4.4vw, 3.1rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h3 {
  font-size: clamp(1.06rem, 1.7vw, 1.28rem);
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

::selection {
  background: rgba(124, 92, 255, .42);
  color: #fff;
}

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

.skip-link {
  position: fixed;
  top: -70px;
  left: 16px;
  z-index: 999;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--brand-grad);
  color: #fff;
  font-weight: 700;
  transition: top .2s var(--ease);
}

.skip-link:focus {
  top: 14px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
  position: relative;
  z-index: 1;
}

.section {
  position: relative;
  padding: clamp(56px, 8vw, 108px) 0;
  z-index: 1;
}

.section--tight {
  padding: clamp(44px, 6vw, 76px) 0;
}

.section--alt {
  background: linear-gradient(180deg, transparent, rgba(124, 92, 255, .055) 30%, rgba(255, 92, 157, .045) 70%, transparent);
}

.section__head {
  max-width: 720px;
  margin: 0 auto clamp(28px, 4vw, 52px);
  text-align: center;
}

.section__head--left {
  margin-inline: 0;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  margin-bottom: 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--brand-grad-soft);
  color: var(--text-soft);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-grad);
  box-shadow: 0 0 12px rgba(255, 92, 157, .8);
}

.section__lead {
  margin-top: 14px;
  color: var(--muted);
  font-size: clamp(.95rem, 1.2vw, 1.03rem);
}

.grad-text {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  --btn-bg: var(--brand-grad);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: #fff;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 10px 28px rgba(124, 92, 255, .32);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(124, 92, 255, .42);
}

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

.btn--ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
  box-shadow: none;
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  border-color: var(--brand-2);
  color: var(--brand-2);
  box-shadow: 0 12px 28px rgba(255, 92, 157, .18);
  transform: translateY(-2px);
}

.btn--soft {
  background: var(--brand-grad-soft);
  border-color: var(--border);
  color: var(--text);
  box-shadow: none;
}

.btn--soft:hover {
  border-color: var(--brand-1);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn--sm {
  padding: 9px 18px;
  font-size: .85rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-row--gap {
  margin-top: 22px;
}

.btn-row--wide {
  margin-top: 24px;
}

.band-space {
  margin-top: clamp(26px, 4vw, 46px);
}

.band-space--lg {
  margin-top: clamp(28px, 4vw, 52px);
}

.lead-flush {
  margin-top: 0;
}

.lead-tight {
  margin-top: 8px;
}

.block-gap {
  height: clamp(26px, 4vw, 48px);
}

.sub-title {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

@media (max-width: 640px) {

  .btn-row--gap,
  .btn-row--wide {
    margin-top: 18px;
  }
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease);
}

.site-header.is-stuck {
  background: var(--glass);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 30px rgba(5, 2, 15, .32);
  backdrop-filter: blur(18px) saturate(160%);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  font-weight: 800;
  color: var(--text);
  letter-spacing: .01em;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--brand-grad);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: -.04em;
  box-shadow: 0 8px 22px rgba(124, 92, 255, .45);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-size: 1.06rem;
}

.brand__slogan {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
}

.site-nav {
  margin-left: auto;
}

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

.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 9px 13px;
  border-radius: var(--radius-pill);
  color: var(--text-soft);
  font-size: .93rem;
  font-weight: 600;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-grad);
  transform: translateX(-50%);
  transition: width var(--dur) var(--ease);
}

.site-nav__link:hover {
  color: var(--text);
}

.site-nav__link:hover::after,
.site-nav__link.is-active::after {
  width: 42%;
}

.site-nav__link.is-active {
  color: var(--text);
  background: var(--brand-grad-soft);
}

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

.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}

.icon-btn:hover {
  color: var(--text);
  border-color: var(--brand-1);
  background: var(--brand-grad-soft);
}

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

.theme-toggle__moon {
  display: none;
}

html[data-theme="light"] .theme-toggle__sun {
  display: none;
}

html[data-theme="light"] .theme-toggle__moon {
  display: block;
}

.nav-toggle {
  display: none;
}

.nav-toggle__bars {
  position: relative;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: background var(--dur) var(--ease);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease);
}

.nav-toggle__bars::before {
  top: -6px;
}

.nav-toggle__bars::after {
  top: 6px;
}

body.nav-open .nav-toggle__bars {
  background: transparent;
}

body.nav-open .nav-toggle__bars::before {
  transform: translateY(6px) rotate(45deg);
}

body.nav-open .nav-toggle__bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  padding: clamp(26px, 4vw, 56px) 0 clamp(52px, 7vw, 96px);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.hero__title {
  margin-bottom: 20px;
}

.hero__slogan {
  display: block;
  margin-top: 10px;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 700;
  color: var(--text-soft);
  letter-spacing: .02em;
}

.hero__desc {
  max-width: 566px;
  color: var(--muted);
  font-size: clamp(.96rem, 1.2vw, 1.05rem);
}

.hero__desc strong {
  color: var(--text);
}

.hero__cta {
  margin: 30px 0 0;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.stat__num {
  display: block;
  font-family: var(--font-num);
  font-size: clamp(1.36rem, 2.5vw, 1.85rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -.02em;
}

.stat__num .unit {
  font-size: .62em;
  margin-left: 2px;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__label {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: .82rem;
  letter-spacing: .02em;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__frame {
  position: relative;
  width: min(100%, 430px);
  border-radius: var(--radius-lg);
  padding: 12px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .02));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
}

.hero__frame::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(124, 92, 255, .7), transparent 42%, rgba(255, 92, 157, .55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero__img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 8px);
}

.hero__badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: var(--radius-pill);
  background: var(--glass);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
  font-size: .82rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.hero__badge--tl {
  top: 22px;
  left: -18px;
  animation: float-y 6s ease-in-out infinite;
}

.hero__badge--br {
  right: -14px;
  bottom: 34px;
  animation: float-y 7.4s ease-in-out infinite reverse;
}

.hero__badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-3);
  box-shadow: 0 0 12px var(--brand-3);
}

@keyframes float-y {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.logo-strip {
  padding: 0 0 clamp(30px, 4vw, 48px);
}

.logo-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 26px;
  padding: 16px 22px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--brand-grad-soft);
  color: var(--muted);
  font-size: .85rem;
  text-align: center;
}

.logo-strip__inner b {
  color: var(--text-soft);
}

.logo-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.logo-strip__item::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-2);
  opacity: .8;
}

.feature-lab {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(22px, 3vw, 34px);
  margin-bottom: clamp(34px, 5vw, 56px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(124, 92, 255, .16), rgba(255, 92, 157, .07) 55%, transparent),
    var(--surface);
  box-shadow: var(--shadow-md);
}

.feature-lab__media {
  position: relative;
}

.feature-lab__img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
}

.feature-lab__tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(8, 6, 18, .72);
  border: 1px solid var(--border-strong);
  color: #fff;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .04em;
  backdrop-filter: blur(10px);
}

.feature-lab__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-lab__title {
  margin-bottom: 12px;
}

.feature-lab__list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.feature-lab__list li {
  display: flex;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .03);
  color: var(--text-soft);
  font-size: .92rem;
  line-height: 1.7;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), background var(--dur) var(--ease);
}

html[data-theme="light"] .feature-lab__list li {
  background: rgba(124, 92, 255, .05);
}

.feature-lab__list li:hover {
  border-color: var(--brand-1);
  background: var(--brand-grad-soft);
  transform: translateX(4px);
}

.feature-lab__list b {
  flex: none;
  min-width: 88px;
  color: var(--brand-2);
  font-size: .86rem;
  font-weight: 800;
}

html[data-theme="light"] .feature-lab__list b {
  color: #b32d78;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: var(--gap);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px 200px at 8% -10%, rgba(124, 92, 255, .22), transparent 70%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.card:hover::before {
  opacity: 1;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--brand-grad-soft);
  border: 1px solid var(--border-strong);
  color: var(--brand-2);
  font-size: 1.2rem;
  font-weight: 900;
}

html[data-theme="light"] .card__icon {
  color: #7c3dd6;
}

.card__icon svg {
  width: 22px;
  height: 22px;
}

.card__title {
  margin-bottom: 10px;
  font-size: 1.06rem;
}

.card__text {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.78;
}

.card__meta {
  margin-top: auto;
  padding-top: 16px;
  color: var(--brand-2);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
}

html[data-theme="light"] .card__meta {
  color: #b32d78;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: clamp(26px, 4vw, 40px);
}

.tag {
  padding: 9px 20px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-soft);
  font-family: inherit;
  font-size: .89rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}

.tag:hover {
  color: var(--text);
  border-color: var(--brand-1);
  background: var(--brand-grad-soft);
  transform: translateY(-2px);
}

.tag-row--static .tag {
  cursor: default;
}

.tag-row--static .tag:hover {
  color: var(--text-soft);
  border-color: var(--border-strong);
  background: transparent;
  transform: none;
}
.tag.is-active {
  background: var(--brand-grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 26px rgba(124, 92, 255, .34);
}

.works {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap);
}

.work-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.work-card__media {
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
}

.work-card__img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.work-card:hover .work-card__img {
  transform: scale(1.045);
}

.work-card__flag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(8, 6, 18, .7);
  border: 1px solid var(--border-strong);
  color: #fff;
  font-size: .74rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.work-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 20px 22px;
}

.work-card__title {
  margin-bottom: 4px;
  font-size: 1.08rem;
}

.work-card__author {
  color: var(--brand-2);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
}

html[data-theme="light"] .work-card__author {
  color: #b32d78;
}

.work-card__text {
  margin-top: 10px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.76;
}

.work-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 16px;
}

.work-card__tags span {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--surface-3);
  color: var(--text-soft);
  font-size: .74rem;
  font-weight: 600;
}

.shelf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(184px, 1fr));
  gap: 18px;
}

.shelf-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), opacity .3s var(--ease);
}

.shelf-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-1);
  box-shadow: var(--shadow-md);
}

.shelf-card__img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform .55s var(--ease);
}

.shelf-card:hover .shelf-card__img {
  transform: scale(1.05);
}

.shelf-card__body {
  padding: 14px 14px 16px;
}

.shelf-card__title {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: .96rem;
  font-weight: 800;
}

.shelf-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: .78rem;
}

.shelf-card__pill {
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--brand-grad-soft);
  color: var(--brand-2);
  font-weight: 700;
}

html[data-theme="light"] .shelf-card__pill {
  color: #b32d78;
}

.shelf-card.is-hidden {
  display: none;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gap);
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px 24px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.step:hover {
  transform: translateY(-5px);
  border-color: var(--brand-1);
}

.step__num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 13px;
  background: var(--brand-grad);
  color: #fff;
  font-family: var(--font-num);
  font-size: 1.08rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(124, 92, 255, .32);
}

.step__title {
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.step__text {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.76;
}

.step::after {
  content: "";
  position: absolute;
  top: 46px;
  right: -12px;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-1), transparent);
  opacity: .5;
}

.step:last-child::after {
  display: none;
}

.faq {
  max-width: 880px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.faq__item[open] {
  border-color: var(--brand-1);
  box-shadow: var(--shadow-sm);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  color: var(--text);
  font-size: .99rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  transition: background var(--dur) var(--ease);
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q:hover {
  background: var(--brand-grad-soft);
}

.faq__q::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-right: 2px solid var(--brand-2);
  border-bottom: 2px solid var(--brand-2);
  transform: rotate(45deg);
  transition: transform var(--dur) var(--ease), margin-top var(--dur) var(--ease);
}

.faq__item[open] .faq__q::after {
  margin-top: 2px;
  transform: rotate(225deg);
}

.faq__a {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.82;
}

.faq__a p+p {
  margin-top: .7em;
}

.news {
  display: grid;
  gap: 12px;
}

.news__item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.news__item:hover {
  transform: translateX(4px);
  border-color: var(--brand-1);
  background: var(--brand-grad-soft);
}

.news__badge {
  justify-self: start;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--brand-grad);
  color: #fff;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .04em;
  white-space: nowrap;
}

.news__title {
  color: var(--text);
  font-size: .97rem;
  font-weight: 700;
  line-height: 1.6;
}

.news__desc {
  margin-top: 3px;
  color: var(--muted);
  font-size: .86rem;
}

.news__date {
  color: var(--muted);
  font-family: var(--font-num);
  font-size: .84rem;
  white-space: nowrap;
}

.cta-band {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(720px 340px at 12% 0%, rgba(124, 92, 255, .38), transparent 66%),
    radial-gradient(620px 320px at 92% 100%, rgba(255, 92, 157, .3), transparent 66%),
    var(--surface);
  box-shadow: var(--shadow-md);
}

.cta-band__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(26px, 4vw, 52px);
  padding: clamp(30px, 4.4vw, 56px);
}

.cta-band__title {
  margin-bottom: 14px;
}

.cta-band__text {
  color: var(--text-soft);
  font-size: .95rem;
  max-width: 520px;
}

.cta-band__media {
  display: flex;
  justify-content: center;
}

.cta-band__img {
  width: min(100%, 300px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
}

.about-prose {
  max-width: 880px;
  margin-inline: auto;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.92;
}

.about-prose h3 {
  margin: 30px 0 12px;
  font-size: 1.12rem;
}

.about-prose h3:first-child {
  margin-top: 0;
}

.about-prose ul {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
}

.about-prose ul li {
  position: relative;
  padding-left: 20px;
}

.about-prose ul li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 4px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--brand-grad);
}

.about-prose strong {
  color: var(--text);
}

.kw-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.kw-cloud a,
.kw-cloud span {
  padding: 6px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  color: var(--muted);
  font-size: .8rem;
  transition: all var(--dur) var(--ease);
}

.kw-cloud a:hover {
  color: var(--text);
  border-color: var(--brand-1);
  background: var(--brand-grad-soft);
}

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(30px, 5vw, 64px);
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(124, 92, 255, .07));
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, .85fr)) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(40px, 5vw, 64px) 0 38px;
}

.footer__brand-text {
  margin-top: 16px;
  color: var(--muted);
  font-size: .89rem;
  line-height: 1.86;
  max-width: 340px;
}

.footer__title {
  margin-bottom: 16px;
  color: var(--text);
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.footer__list {
  display: grid;
  gap: 10px;
}

.footer__list a {
  color: var(--muted);
  font-size: .89rem;
}

.footer__list a:hover {
  color: var(--brand-2);
}

.footer__contact {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.7;
}

.footer__contact a {
  color: var(--text-soft);
  font-weight: 600;
}

.footer__contact a:hover {
  color: var(--brand-2);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0 30px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .82rem;
}

.footer__bottom-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__bottom-nav a:hover {
  color: var(--brand-2);
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: var(--glass);
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
  transition: all var(--dur) var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  border-color: var(--brand-1);
  color: var(--brand-2);
}

.to-top svg {
  width: 18px;
  height: 18px;
}

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

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

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

@media (max-width: 1024px) {
  :root {
    --gap: 18px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero__visual {
    order: -1;
  }

  .hero__frame {
    width: min(100%, 380px);
  }

  .hero__badge--tl {
    left: 6px;
  }

  .hero__badge--br {
    right: 6px;
  }

  .feature-lab {
    grid-template-columns: 1fr;
  }

  .feature-lab__img {
    aspect-ratio: 16 / 10;
  }

  .cta-band__grid {
    grid-template-columns: 1fr;
  }

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

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

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    margin: 0;
    padding: 16px 20px 26px;
    background: var(--glass);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(20px) saturate(150%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: all var(--dur) var(--ease);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

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

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

  .site-nav__link {
    display: block;
    padding: 13px 14px;
    border-radius: var(--radius-sm);
    font-size: .98rem;
  }

  .site-nav__link::after {
    display: none;
  }

  .header-actions .btn {
    display: none;
  }

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

  .news__item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .news__badge {
    justify-self: start;
  }

  .news__date {
    order: -1;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15.5px;
    line-height: 1.76;
  }

  .wrap,
  .site-header__inner {
    padding-inline: 16px;
  }

  .brand__slogan {
    display: none;
  }

  .hero__frame {
    padding: 9px;
  }

  .hero__badge {
    font-size: .74rem;
    padding: 8px 12px;
  }

  .btn-row {
    gap: 10px;
  }

  .btn {
    padding: 12px 20px;
    font-size: .9rem;
  }

  .hero__cta .btn {
    flex: 1 1 auto;
  }

  .cards,
  .works,
  .steps {
    grid-template-columns: 1fr;
  }

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

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

  .step::after {
    display: none;
  }

  .to-top {
    right: 14px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }

  .faq__q {
    padding: 16px 16px;
    font-size: .94rem;
  }

  .faq__a {
    padding: 0 16px 18px;
  }

  .card,
  .step {
    padding: 22px 18px;
  }
}

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

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

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

@media print {
  body::before,
  .site-header,
  .to-top,
  .cta-band__media,
  .hero__visual {
    display: none !important;
  }

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

  .section {
    padding: 20px 0;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: .72em;
    color: #555;
  }
}
