:root {
  color-scheme: dark;
  --ink: #f4f1fb;
  --muted: #89849a;
  --quiet: #5f5a6d;
  --violet: #a78bfa;
  --violet-bright: #d8b4fe;
  --blue: #60a5fa;
  --accent: #45f76a;
  --accent-soft: #9dffb4;
  --line: rgba(255, 255, 255, 0.09);
  --page-pad: clamp(24px, 6.5vw, 120px);
  --card-width: 280px;
  --card-height: 142px;
  --card-gap: 34px;
  --card-row-bottom: 48px;
  --beam-extension: 16px;
  --card-radius: 15px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #020303;
}

body {
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 42%, rgba(69, 247, 106, 0.045), transparent 31%),
    radial-gradient(circle at 72% 42%, rgba(100, 55, 185, 0.075), transparent 36%),
    linear-gradient(180deg, #030404 0%, #020303 58%, #050406 100%);
  font-family:
    "Segoe UI",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

.page {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
  padding: 0 var(--page-pad);
}

.hero-background {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  background: #000000;
  pointer-events: none;
  transition: opacity var(--hero-fade-duration, 800ms) ease;
  will-change: opacity;
}

.hero-background.is-active {
  opacity: 1;
}

.hero-background__frame {
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  width: 80vw;
  height: auto;
  aspect-ratio: 16 / 9;
  max-width: none;
  transform: translate3d(-50%, 0, 0);
}

.hero-background__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform;
}

.hero-background__mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      #000 0%,
      #000 9.5%,
      rgba(0, 0, 0, 0.96) 11%,
      rgba(0, 0, 0, 0.76) 14%,
      rgba(0, 0, 0, 0.42) 18%,
      rgba(0, 0, 0, 0.14) 23%,
      transparent 31%,
      transparent 69%,
      rgba(0, 0, 0, 0.14) 77%,
      rgba(0, 0, 0, 0.42) 82%,
      rgba(0, 0, 0, 0.76) 86%,
      rgba(0, 0, 0, 0.96) 89%,
      #000 90.5%,
      #000 100%
    ),
    linear-gradient(
      180deg,
      transparent 0%,
      transparent 58%,
      rgba(0, 0, 0, 0.08) 66%,
      rgba(0, 0, 0, 0.3) 74%,
      rgba(0, 0, 0, 0.7) 82%,
      rgba(0, 0, 0, 0.95) 88%,
      #000 92%,
      #000 100%
    );
}

.page::before {
  position: fixed;
  z-index: -3;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 84%);
  pointer-events: none;
}

.page::after {
  position: fixed;
  z-index: 20;
  inset: 0;
  background: radial-gradient(circle at 50% 44%, transparent 48%, rgba(2, 1, 5, 0.48) 100%);
  content: "";
  pointer-events: none;
}

.ambient {
  position: fixed;
  z-index: -2;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.14;
  pointer-events: none;
}

.ambient--left {
  top: 2%;
  left: -34vw;
  background: #24ff66;
}

.ambient--right {
  right: -30vw;
  bottom: -12vw;
  background: #6d28d9;
}

.topbar {
  position: relative;
  z-index: 15;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  user-select: none;
}

.brand__mark {
  position: relative;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(69, 247, 106, 0.28);
  border-radius: 9px;
  background: rgba(69, 247, 106, 0.04);
  box-shadow:
    inset 0 0 16px rgba(69, 247, 106, 0.06),
    0 0 28px rgba(69, 247, 106, 0.07);
}

.brand__mark span {
  position: absolute;
  width: 2px;
  border-radius: 4px;
  background: linear-gradient(to bottom, #f5fff7, #45f76a);
  box-shadow: 0 0 8px rgba(69, 247, 106, 0.55);
}

.brand__mark span:nth-child(1) {
  left: 8px;
  height: 9px;
}

.brand__mark span:nth-child(2) {
  height: 17px;
}

.brand__mark span:nth-child(3) {
  right: 8px;
  height: 12px;
}

.brand__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__copy strong {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.24em;
}

.brand__copy small {
  color: var(--quiet);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.topbar__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.live-chip {
  display: inline-flex;
  height: 31px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: #888291;
  background: rgba(255, 255, 255, 0.018);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.live-chip i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(69, 247, 106, 0.9);
  animation: signal-pulse 2.1s ease-in-out infinite;
}

.pause-button {
  display: inline-flex;
  height: 32px;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #d7d1df;
  background: rgba(255, 255, 255, 0.035);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.pause-button:hover {
  border-color: rgba(69, 247, 106, 0.34);
  color: white;
  background: rgba(69, 247, 106, 0.055);
}

.pause-button:focus-visible,
.stage:focus-visible {
  outline: 1px solid rgba(69, 247, 106, 0.72);
  outline-offset: 4px;
}

.pause-button__icon {
  display: flex;
  width: 11px;
  height: 11px;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.pause-button__icon i {
  display: block;
  width: 2px;
  height: 9px;
  border-radius: 2px;
  background: currentColor;
}

.pause-button[aria-pressed="true"] .pause-button__icon {
  position: relative;
  display: block;
}

.pause-button[aria-pressed="true"] .pause-button__icon i {
  position: absolute;
  top: 1px;
  left: 2px;
  width: 0;
  height: 0;
  border-top: 4.5px solid transparent;
  border-bottom: 4.5px solid transparent;
  border-left: 7px solid currentColor;
  border-radius: 0;
  background: transparent;
}

.pause-button[aria-pressed="true"] .pause-button__icon i + i {
  display: none;
}

.sound-button__icon {
  display: flex;
  width: 15px;
  height: 15px;
  align-items: center;
  justify-content: center;
}

.sound-button__icon svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sound-button__waves,
.sound-button__muted {
  transition: opacity 180ms ease;
}

.sound-button__waves {
  opacity: 0;
}

.sound-button__muted {
  opacity: 1;
}

.sound-button[aria-pressed="true"] {
  border-color: rgba(69, 247, 106, 0.32);
  color: #efffe9;
  background: rgba(69, 247, 106, 0.08);
}

.sound-button[aria-pressed="true"] .sound-button__waves {
  opacity: 1;
}

.sound-button[aria-pressed="true"] .sound-button__muted {
  opacity: 0;
}

.main {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  flex: 1;
}

.intro {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-top: 8vh;
  pointer-events: none;
}

.hero-copy {
  max-width: min(1080px, 76vw);
  pointer-events: auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  color: #696e6b;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.19em;
}

.eyebrow i {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, rgba(69, 247, 106, 0.62), transparent);
}

.eyebrow span:first-child {
  color: #8bf19f;
}

h1 {
  margin: 0;
  font-size: clamp(45px, 5.35vw, 84px);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.99;
}

h1 > span {
  display: block;
}

h1 > span:first-child {
  color: #ffffff;
  font-size: 0.78em;
}

.hero-title__accent {
  position: relative;
  width: fit-content;
  margin-top: 0.08em;
  color: transparent;
  background: linear-gradient(90deg, #bbfe54 0%, #27f19f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  -webkit-text-stroke: 0.32px rgba(255, 255, 255, 0.14);
  text-shadow:
    0 0 22px rgba(69, 247, 106, 0.18),
    0 0 58px rgba(69, 247, 106, 0.08);
}

.hero-title__accent::after {
  position: absolute;
  right: 0;
  bottom: -0.1em;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(69, 247, 106, 0.34), transparent);
  content: "";
}

.hero-lead {
  margin: clamp(26px, 4vh, 42px) 0 0;
  color: #f0f1f0;
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 520;
  letter-spacing: -0.015em;
}

.hero-description {
  max-width: 790px;
  margin: 10px 0 0;
  color: #8a8d8b;
  font-size: clamp(11px, 0.95vw, 14px);
  line-height: 1.8;
  letter-spacing: 0.005em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(22px, 3.6vh, 36px);
}

.hero-cta {
  display: inline-flex;
  height: 52px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 22px 0 27px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 220ms var(--ease-out),
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.hero-cta:hover {
  transform: translateY(-2px);
}

.hero-cta--primary {
  border: 1px solid var(--accent);
  color: #021307;
  background: var(--accent);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 12px 36px rgba(69, 247, 106, 0.16);
}

.hero-cta--primary:hover {
  background: #70ff8d;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16) inset,
    0 14px 48px rgba(69, 247, 106, 0.26);
}

.hero-cta__icon {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid rgba(1, 20, 7, 0.38);
  border-radius: 7px;
}

.hero-cta__icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.4;
}

.hero-cta--secondary {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #f3f4f3;
  background: rgba(255, 255, 255, 0.015);
}

.hero-cta--secondary:hover {
  border-color: rgba(69, 247, 106, 0.5);
  background: rgba(69, 247, 106, 0.04);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.hero-cta__arrow {
  margin-left: 2px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

.hero-aside {
  display: flex;
  min-width: 160px;
  align-items: center;
  gap: 14px;
  padding-top: 5px;
  color: #5f6461;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.7;
  text-align: right;
}

.hero-aside > span:first-child {
  color: var(--accent);
  font-size: 10px;
}

.hero-aside i {
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, rgba(69, 247, 106, 0.48), transparent);
}

.stage {
  position: absolute;
  z-index: 1;
  top: 0;
  right: calc(-1 * var(--page-pad));
  bottom: 0;
  left: calc(-1 * var(--page-pad));
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(ellipse at 34% 87%, rgba(69, 247, 106, 0.065), transparent 24%),
    linear-gradient(180deg, transparent 42%, rgba(7, 5, 11, 0.1) 70%, rgba(4, 3, 7, 0.42));
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.stage.is-dragging {
  cursor: grabbing;
}

.stage__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-position: center;
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 28%, transparent 83%);
  opacity: 0.32;
  pointer-events: none;
}

.screen-divider {
  position: relative;
  z-index: 12;
  width: 90vw;
  height: 1px;
  margin: 0 auto;
  background: #171b19;
  pointer-events: none;
}

.stage__labels {
  position: absolute;
  z-index: 4;
  top: 21px;
  right: 23px;
  left: 23px;
  display: none;
  justify-content: space-between;
  color: #55505f;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.17em;
  pointer-events: none;
}

.stage__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.stage__label i {
  display: block;
  width: 14px;
  height: 1px;
  background: currentColor;
}

.stage__label--code {
  color: #72618e;
}

.track {
  position: absolute;
  z-index: 2;
  top: auto;
  bottom: var(--card-row-bottom);
  left: 0;
  display: flex;
  height: var(--card-height);
  align-items: stretch;
  gap: var(--card-gap);
  will-change: transform;
  pointer-events: none;
}

.card-wrapper {
  position: relative;
  isolation: isolate;
  width: var(--card-width);
  height: var(--card-height);
  flex: 0 0 var(--card-width);
  border-radius: var(--card-radius);
  contain: layout style;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.card-wrapper.is-scanning {
  filter: brightness(1.1);
}

.card-wrapper::after {
  position: absolute;
  z-index: 5;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.12),
    0 22px 56px rgba(0, 0, 0, 0.38);
  content: "";
  pointer-events: none;
}

.card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: var(--card-radius);
  backface-visibility: hidden;
}

.code-layer {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(1, 1, 4, 0.95), rgba(7, 3, 14, 0.98)),
    #020104;
  box-shadow:
    inset 0 0 80px rgba(69, 247, 106, 0.075),
    inset -18px 0 38px rgba(69, 247, 106, 0.04);
}

.code-layer::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 94%, rgba(69, 247, 106, 0.22)),
    radial-gradient(circle at 91% 50%, rgba(69, 247, 106, 0.12), transparent 17%);
  content: "";
  pointer-events: none;
}

.code-layer pre {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 9px 10px 8px;
  overflow: hidden;
  color: #b8dfbe;
  font-family:
    "Cascadia Mono",
    "SFMono-Regular",
    Consolas,
    "Liberation Mono",
    monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 11.2px;
  tab-size: 2;
  text-align: left;
  white-space: pre;
  text-shadow: 0 0 12px rgba(69, 247, 106, 0.08);
}

.token-keyword {
  color: #e0ffe5;
}

.token-string {
  color: #a8f2b7;
}

.token-number {
  color: #effff2;
}

.token-comment {
  color: #6b9272;
  font-style: italic;
}

.image-layer {
  z-index: 2;
  background: #07070a;
}

.image-layer img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.particle-canvas {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: block;
  top: 0;
  left: 0;
  width: 240px;
  height: 100%;
  pointer-events: none;
}

.card-edge-mask {
  position: absolute;
  z-index: 7;
  right: 0;
  bottom: 0;
  left: 0;
  height: calc(var(--card-height) + var(--card-row-bottom) + 26px);
  background: linear-gradient(
    90deg,
    #020303 0%,
    rgba(2, 3, 3, 0.92) 2.5%,
    rgba(2, 3, 3, 0.68) 5%,
    rgba(2, 3, 3, 0.34) 8.5%,
    rgba(2, 3, 3, 0.1) 13%,
    transparent 18%,
    transparent 82%,
    rgba(2, 3, 3, 0.1) 87%,
    rgba(2, 3, 3, 0.34) 91.5%,
    rgba(2, 3, 3, 0.68) 95%,
    rgba(2, 3, 3, 0.92) 97.5%,
    #020303 100%
  );
  pointer-events: none;
}

.scanner {
  position: absolute;
  z-index: 6;
  --scanner-height: 190px;
  top: auto;
  bottom: calc(var(--card-row-bottom) - var(--beam-extension));
  left: 34%;
  width: 120px;
  height: var(--scanner-height);
  transform: translateX(-50%);
  pointer-events: none;
}

.scanner__halo,
.scanner__line,
.scanner__cap,
.scanner__readout {
  position: absolute;
}

.scanner__halo {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 152px;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.28) 0%, rgba(69, 247, 106, 0.23) 18%, rgba(69, 247, 106, 0.11) 43%, transparent 74%);
  filter: blur(10px);
  mask-image: linear-gradient(transparent 2%, black 18%, black 82%, transparent 98%);
}

.scanner__line {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2.6px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 12%,
    #fff 34%,
    #fff 50%,
    #fff 66%,
    rgba(255, 255, 255, 0.2) 88%,
    transparent 100%
  );
  box-shadow:
    0 0 9px rgba(255, 255, 255, 1),
    0 0 22px rgba(224, 255, 230, 0.98),
    0 0 48px rgba(69, 247, 106, 0.66),
    0 0 82px rgba(69, 247, 106, 0.24);
}

.scanner__line::before,
.scanner__line::after {
  position: absolute;
  left: 50%;
  width: 3px;
  height: 34px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: white;
  filter: blur(1.4px);
  content: "";
}

.scanner__line::before {
  top: 28%;
  opacity: 0.66;
}

.scanner__line::after {
  bottom: 28%;
  opacity: 0.4;
}

.scanner__cap {
  left: 50%;
  width: 22px;
  height: 7px;
  transform: translateX(-50%);
  border-right: 1px solid rgba(224, 255, 230, 0.72);
  border-left: 1px solid rgba(224, 255, 230, 0.72);
}

.scanner__cap--top {
  top: 0;
  border-top: 1px solid rgba(224, 255, 230, 0.72);
}

.scanner__cap--bottom {
  bottom: 0;
  border-bottom: 1px solid rgba(224, 255, 230, 0.72);
}

.scanner__readout {
  top: -2px;
  left: 78px;
  display: flex;
  height: 24px;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  border: 1px solid rgba(69, 247, 106, 0.2);
  border-radius: 5px;
  color: #9fbaa3;
  background: rgba(8, 5, 14, 0.74);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.09em;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.scanner__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #75ff65;
  box-shadow: 0 0 8px rgba(69, 247, 106, 0.9);
}

.stage__vignette {
  position: absolute;
  z-index: 8;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 4, 8, 0.53), transparent 12%, transparent 88%, rgba(5, 4, 8, 0.55)),
    linear-gradient(180deg, rgba(5, 4, 8, 0.2), transparent 22%, transparent 76%, rgba(5, 4, 8, 0.38));
  pointer-events: none;
}

.stage-footer {
  display: none;
  min-height: 24px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #5e5868;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.interaction-hint,
.scan-meta {
  display: flex;
  align-items: center;
}

.interaction-hint {
  gap: 8px;
}

.drag-icon {
  position: relative;
  display: inline-block;
  width: 17px;
  height: 22px;
  margin-right: 2px;
  border: 1px solid #514a5c;
  border-radius: 10px;
}

.drag-icon i {
  position: absolute;
  top: 4px;
  left: 50%;
  width: 1px;
  height: 6px;
  transform: translateX(-50%);
  background: #827491;
}

.key-hint {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 4px;
  color: #6a6375;
  font-size: 8px;
}

.scan-meta {
  gap: 10px;
}

.scan-meta b {
  color: #9a91aa;
  font-weight: 600;
}

.scan-meta__rule {
  width: 1px;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.detail-dialog {
  width: min(920px, calc(100vw - 36px));
  max-width: none;
  max-height: calc(100dvh - 36px);
  padding: 0;
  overflow: visible;
  border: 0;
  color: var(--ink);
  background: transparent;
}

.detail-dialog::backdrop {
  background: rgba(2, 3, 2, 0.82);
  backdrop-filter: blur(18px) saturate(80%);
}

.detail-dialog[open] {
  animation: dialog-in 320ms var(--ease-out);
}

.detail-dialog__panel {
  position: relative;
  max-height: calc(100dvh - 36px);
  padding: clamp(28px, 5vw, 58px);
  overflow-y: auto;
  border: 1px solid rgba(69, 247, 106, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 10%, rgba(69, 247, 106, 0.07), transparent 34%),
    linear-gradient(145deg, rgba(13, 16, 13, 0.98), rgba(5, 6, 5, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 44px 120px rgba(0, 0, 0, 0.72);
}

.detail-dialog__close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
}

.detail-dialog__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 1px;
  background: #d9ddd9;
}

.detail-dialog__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.detail-dialog__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.detail-dialog__close:hover {
  border-color: rgba(69, 247, 106, 0.4);
}

.detail-dialog h2 {
  margin: 0;
  font-size: clamp(31px, 4vw, 52px);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.detail-dialog h2 span {
  color: var(--accent);
}

.detail-dialog__copy {
  max-width: 610px;
  margin: 20px 0 0;
  color: #878c88;
  font-size: 13px;
  line-height: 1.8;
}

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

.detail-grid article {
  min-height: 126px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.018);
}

.detail-grid article > span {
  display: block;
  margin-bottom: 22px;
  color: var(--accent);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.14em;
}

.detail-grid strong {
  display: block;
  font-size: 14px;
  font-weight: 620;
}

.detail-grid p {
  margin: 7px 0 0;
  color: #737975;
  font-size: 11px;
  line-height: 1.6;
}

.detail-dialog__cta {
  width: fit-content;
  margin-top: 30px;
}

#cardDetailDialog {
  width: min(94vw, calc((100dvh - 36px) * 16 / 9), 1600px);
  max-height: calc(100dvh - 36px);
}

#cardDetailDialog .detail-dialog__panel {
  display: flex;
  width: 100%;
  max-height: calc(100dvh - 36px);
  aspect-ratio: 16 / 9;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, min(4.8vw, 6vh), 72px);
}

#cardDetailDialog h2 {
  font-size: clamp(38px, 4.8vw, 74px);
}

#cardDetailDialog .eyebrow {
  font-size: 10px;
}

#cardDetailDialog .detail-dialog__copy {
  max-width: 780px;
  margin-top: clamp(18px, 2.6vh, 28px);
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.85;
}

#cardDetailDialog .detail-grid {
  margin-top: clamp(24px, 3.8vh, 42px);
  gap: clamp(12px, 1.4vw, 20px);
}

#cardDetailDialog .detail-grid article {
  min-height: clamp(132px, 18vh, 184px);
  padding: clamp(20px, 2vw, 30px);
}

#cardDetailDialog .detail-grid article > span {
  margin-bottom: clamp(20px, 2.8vh, 30px);
  font-size: 9px;
}

#cardDetailDialog .detail-grid strong {
  font-size: clamp(15px, 1.15vw, 18px);
}

#cardDetailDialog .detail-grid p {
  margin-top: 9px;
  font-size: clamp(11px, 0.82vw, 13px);
  line-height: 1.7;
}

#cardDetailDialog .detail-dialog__cta {
  margin-top: clamp(24px, 3.8vh, 42px);
}

@media (max-width: 900px) {
  #cardDetailDialog {
    width: calc(100vw - 24px);
  }

  #cardDetailDialog .detail-dialog__panel {
    width: 100%;
    max-height: calc(100dvh - 24px);
    aspect-ratio: auto;
    justify-content: flex-start;
    padding: 34px 26px;
  }
}

@media (max-width: 580px) {
  #cardDetailDialog {
    width: calc(100vw - 20px);
  }

  #cardDetailDialog .detail-dialog__panel {
    max-height: calc(100dvh - 20px);
    padding: 30px 20px;
  }

  #cardDetailDialog h2 {
    font-size: clamp(32px, 10vw, 44px);
  }

  #cardDetailDialog .detail-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.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;
}

@keyframes signal-pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.86);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 820px) {
  .intro {
    align-items: flex-start;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-aside {
    display: none;
  }

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

  .scanner {
    --scanner-height: 180px;
    --beam-extension: 11px;
  }

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

@media (max-width: 580px) {
  .page {
    --page-pad: 14px;
    padding: 0 14px;
  }

  .topbar {
    min-height: 64px;
  }

  .live-chip {
    display: none;
  }

  .pause-button {
    padding: 0 11px;
  }

  .intro {
    padding-top: 8vh;
    padding-right: 2px;
  }

  .eyebrow {
    gap: 7px;
    margin-bottom: 14px;
    font-size: 6.5px;
    letter-spacing: 0.12em;
  }

  .eyebrow i {
    width: 14px;
  }

  h1 {
    font-size: clamp(29px, 8.3vw, 38px);
    letter-spacing: -0.075em;
    line-height: 1.04;
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 15px;
  }

  .hero-description {
    margin-top: 8px;
    font-size: 10.5px;
    line-height: 1.7;
  }

  .hero-actions {
    gap: 9px;
    margin-top: 20px;
  }

  .hero-cta {
    height: 46px;
    gap: 14px;
    padding: 0 17px 0 20px;
    font-size: 12px;
  }

  .hero-cta__icon {
    width: 23px;
    height: 23px;
  }

  .scanner__readout {
    display: none;
  }

  .key-hint {
    display: none;
  }

  .detail-dialog__panel {
    padding: 28px 20px;
    border-radius: 20px;
  }

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

@media (max-height: 720px) and (min-width: 581px) {
  .topbar {
    min-height: 62px;
  }

  .intro {
    padding-top: 8vh;
  }

  .eyebrow {
    margin-bottom: 12px;
  }

  h1 {
    font-size: clamp(39px, 4.6vw, 58px);
  }

  .hero-lead {
    margin-top: 20px;
  }

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

@media (max-width: 900px) {
  .hero-background__frame {
    width: 100vw;
    height: 70vh;
    height: 70dvh;
    aspect-ratio: auto;
  }

  .hero-background__video {
    width: 100%;
    height: 100%;
  }

  .hero-background__mask {
    background:
      linear-gradient(
        90deg,
        #000 0%,
        rgba(0, 0, 0, 0.9) 4%,
        rgba(0, 0, 0, 0.58) 9%,
        rgba(0, 0, 0, 0.2) 15%,
        transparent 24%,
        transparent 76%,
        rgba(0, 0, 0, 0.2) 85%,
        rgba(0, 0, 0, 0.58) 91%,
        rgba(0, 0, 0, 0.9) 96%,
        #000 100%
      ),
      linear-gradient(
        180deg,
        #000 0%,
        rgba(0, 0, 0, 0.9) 3%,
        rgba(0, 0, 0, 0.54) 8%,
        rgba(0, 0, 0, 0.18) 14%,
        transparent 23%,
        transparent 67%,
        rgba(0, 0, 0, 0.18) 76%,
        rgba(0, 0, 0, 0.54) 84%,
        rgba(0, 0, 0, 0.9) 92%,
        #000 100%
      );
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-chip i {
    animation: none;
  }
}

.topbar {
  position: fixed;
  z-index: 40;
  top: 0;
  right: 0;
  left: 0;
  display: block;
  height: 60px;
  min-height: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  transition: background-color 220ms ease;
}

.topbar.is-scrolled {
  background: rgba(0, 0, 0, 0.6);
}

.topbar__inner {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  gap: clamp(22px, 3.2vw, 48px);
  padding: 0 var(--page-pad);
}

.brand {
  position: relative;
  z-index: 4;
  flex: 0 0 auto;
  gap: 11px;
  color: inherit;
  text-decoration: none;
}

.brand__logo {
  position: relative;
  width: 42px;
  height: 42px;
  overflow: hidden;
  flex: 0 0 42px;
  border: 1px solid rgba(160, 255, 176, 0.26);
  border-radius: 9px;
  background:
    radial-gradient(circle at 35% 24%, rgba(255, 255, 255, 0.5), transparent 26%),
    linear-gradient(145deg, #65ff7c, #19d94a);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 0 24px rgba(69, 247, 106, 0.16);
}

.brand__logo::before {
  position: absolute;
  top: 10px;
  left: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #051508;
  box-shadow: 13px 0 0 #051508;
  content: "";
}

.brand__logo::after {
  position: absolute;
  bottom: 7px;
  left: 50%;
  width: 15px;
  height: 8px;
  border-bottom: 2px solid #051508;
  border-radius: 0 0 12px 12px;
  transform: translateX(-50%);
  content: "";
}

img.brand__logo {
  border-color: rgba(255, 255, 255, 0.1);
  background: transparent;
  object-fit: cover;
  object-position: center;
}

img.brand__logo::before,
img.brand__logo::after {
  display: none;
  content: none;
}

.brand__copy {
  gap: 1px;
}

.brand__copy strong {
  color: #f8faf8;
  font-size: 20px;
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1;
}

.brand__copy strong em {
  color: var(--accent);
  font-style: normal;
}

.brand__copy small {
  color: #646a66;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.14em;
}

.main-nav {
  position: relative;
  z-index: 4;
  display: flex;
  height: 60px;
  min-width: 0;
  align-items: center;
  gap: clamp(15px, 1.55vw, 27px);
  margin-left: auto;
}

.nav-link {
  position: relative;
  display: inline-flex;
  height: 100%;
  align-items: center;
  color: rgba(244, 247, 244, 0.76);
  font-size: clamp(12px, 0.9vw, 14px);
  font-weight: 570;
  letter-spacing: -0.018em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 200ms ease;
}

.nav-link::before,
.nav-link::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  border-radius: 999px;
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  transition:
    width 260ms var(--ease-out),
    opacity 220ms ease;
}

.nav-link::before {
  width: 30%;
  height: 9px;
  background: linear-gradient(90deg, transparent, rgba(94, 255, 81, 0.8), transparent);
  filter: blur(5px);
}

.nav-link::after {
  width: 0;
  height: 2px;
  background: #75ff65;
  box-shadow:
    0 0 6px rgba(117, 255, 101, 0.95),
    0 0 16px rgba(69, 247, 106, 0.62),
    0 0 28px rgba(69, 247, 106, 0.26);
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: var(--accent);
}

.nav-link:hover::before,
.nav-link:focus-visible::before,
.nav-link.is-active::before {
  width: 64%;
  opacity: 0.75;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after {
  width: 46%;
  opacity: 1;
}

.nav-toggle {
  position: relative;
  z-index: 5;
  display: none;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 15px;
  height: 1px;
  transform: translateX(-50%);
  background: #e9ece9;
  transition:
    top 220ms ease,
    transform 220ms ease,
    opacity 180ms ease;
}

.nav-toggle span:nth-child(1) {
  top: 14px;
}

.nav-toggle span:nth-child(2) {
  top: 18px;
}

.nav-toggle span:nth-child(3) {
  top: 22px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 18px;
  transform: translateX(-50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 18px;
  transform: translateX(-50%) rotate(-45deg);
}

.nav-actions {
  position: relative;
  z-index: 4;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.nav-actions::before {
  width: 1px;
  height: 18px;
  margin-right: 10px;
  background: rgba(255, 255, 255, 0.14);
  content: "";
}

.nav-action {
  display: inline-flex;
  height: 34px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 15px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 640;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 200ms var(--ease-out),
    box-shadow 200ms ease,
    border-color 200ms ease;
}

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

.nav-action--outline {
  border: 1px solid #4a6622;
  color: #effff2;
  background: #0f1407;
  box-shadow: inset 0 0 14px rgba(69, 247, 106, 0.045);
}

.nav-action--outline:hover {
  border-color: #6d8e39;
  box-shadow:
    inset 0 0 18px rgba(69, 247, 106, 0.08),
    0 0 22px rgba(69, 247, 106, 0.08);
}

.nav-action--outline svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-action--primary {
  padding-right: 7px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: #061309;
  background: linear-gradient(115deg, #d3ff55, #31fa43 55%, #21efb2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 8px 22px rgba(69, 247, 106, 0.13);
}

.nav-action--primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 10px 28px rgba(69, 247, 106, 0.22);
}

.nav-action__badge {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid rgba(1, 21, 7, 0.44);
  border-radius: 6px;
}

.nav-action__badge svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-particles {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.card-controls {
  position: absolute;
  z-index: 25;
  right: var(--page-pad);
  bottom: calc(var(--card-row-bottom) + var(--card-height) + 20px);
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-panels {
  position: absolute;
  z-index: 25;
  bottom: calc(var(--card-row-bottom) + var(--card-height) + 40px);
  left: var(--page-pad);
  display: flex;
  width: max-content;
  max-width: calc(100vw - var(--page-pad) - var(--page-pad));
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 12px 28px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.feature-panels::-webkit-scrollbar {
  display: none;
}

.feature-panel {
  position: relative;
  display: flex;
  width: 200px;
  height: 70px;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 200px;
  gap: 8px;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.feature-panel + .feature-panel {
  border-left: 0;
}

.feature-panel + .feature-panel::before {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 24%,
    rgba(255, 255, 255, 0.2) 76%,
    transparent 100%
  );
  content: "";
}

.feature-panel__copy {
  min-width: 0;
}

.feature-panel h2 {
  margin: 0;
  color: #f1f4f1;
  font-size: 14px;
  font-weight: 660;
  letter-spacing: -0.01em;
  line-height: 1.3;
  white-space: nowrap;
}

.feature-panel p {
  margin: 5px 0 0;
  overflow: hidden;
  color: #696f6b;
  font-size: 12px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feature-panel__icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  flex: 0 0 34px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 50%;
  color: #f2f5f2;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 14px rgba(255, 255, 255, 0.02);
}

.feature-panel__icon svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.main {
  padding-top: 60px;
}

@media (max-width: 1100px) {
  .topbar__inner {
    gap: 20px;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .main-nav {
    position: absolute;
    z-index: 6;
    top: calc(100% + 1px);
    right: var(--page-pad);
    left: var(--page-pad);
    display: none;
    height: auto;
    margin: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 0 0 18px 18px;
    background: rgba(0, 0, 0, 0.94);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.46);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
  }

  .main-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-link {
    height: auto;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 12px;
  }

  .nav-link::before,
  .nav-link::after {
    display: none;
  }

  .nav-link:hover,
  .nav-link.is-active {
    background: rgba(69, 247, 106, 0.06);
  }
}

@media (max-width: 1200px) {
  .card-controls {
    bottom: calc(var(--card-row-bottom) + var(--card-height) + 118px);
  }
}

@media (max-width: 580px) {
  .topbar__inner {
    height: 100%;
  }

  .brand__copy strong {
    font-size: 18px;
  }

  .brand__logo {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .main {
    padding-top: 60px;
  }

  .card-controls {
    right: var(--page-pad);
  }

  .card-controls .live-chip {
    display: inline-flex;
  }

  .nav-action {
    width: 34px;
    padding: 0;
    gap: 0;
  }

  .nav-action > span:not(.nav-action__badge) {
    display: none;
  }

  .nav-actions::before {
    display: none;
  }
}

.showcase {
  position: relative;
  height: 220dvh;
  overflow: visible;
  color: #f8f4ff;
  background: #000000;
}

.showcase__stage {
  position: sticky;
  isolation: isolate;
  top: 0;
  height: 100dvh;
  overflow: hidden;
  background: #000000;
}

.showcase__stage::before {
  position: absolute;
  z-index: 1;
  top: 58%;
  left: 50%;
  width: min(90vw, 1400px);
  height: min(72vh, 740px);
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse at center,
    rgba(69, 247, 106, 0.18) 0%,
    rgba(69, 247, 106, 0.075) 38%,
    transparent 72%
  );
  filter: blur(24px);
  content: "";
  pointer-events: none;
}

.showcase__clouds {
  display: none;
}

.showcase__word {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  color: #1d6a34;
  font-family:
    "Segoe UI",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    sans-serif;
  font-size: clamp(84px, 25vw, 720px);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 0.82;
  transform: translate(-50%, -50%);
  transform-origin: center;
  white-space: nowrap;
  will-change: transform;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.showcase__word span {
  display: block;
  opacity: 0.18;
  text-shadow:
    0 0 30px rgba(69, 247, 106, 0.1),
    0 0 80px rgba(69, 247, 106, 0.04);
  animation: word-breathe 4.4s ease-in-out infinite;
}

.showcase__word.is-docked {
  opacity: 0;
}

.showcase__word.is-docked span {
  animation: none;
}

@keyframes word-breathe {
  0%,
  100% {
    opacity: 0.13;
  }
  50% {
    opacity: 0.32;
  }
}

@keyframes folder-label-breathe {
  0%,
  100% {
    opacity: 0.28;
  }
  50% {
    opacity: 0.72;
  }
}

.showcase__header {
  position: relative;
  z-index: 4;
  padding: clamp(84px, 10vh, 126px) var(--page-pad) 0;
  text-align: center;
}

.showcase__kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 18px;
  color: rgba(235, 255, 239, 0.5);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.showcase__kicker span {
  color: var(--accent);
}

.showcase h2 {
  margin: 0;
  color: var(--accent);
  font-family:
    "Segoe UI",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    sans-serif;
  font-size: clamp(45px, 5.35vw, 84px);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.99;
  -webkit-text-stroke: 0.32px currentColor;
  text-shadow:
    0 0 22px rgba(69, 247, 106, 0.18),
    0 0 58px rgba(69, 247, 106, 0.08);
}

.showcase__header > p:last-child {
  max-width: 980px;
  margin: 22px auto 0;
  color: rgba(236, 243, 237, 0.68);
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.showcase__viewport {
  position: absolute;
  z-index: 2;
  top: calc(58% - 20px);
  left: 50%;
  width: 80vw;
  height: 650px;
  overflow: hidden;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.showcase__viewport::before,
.showcase__viewport::after {
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  width: 8%;
  content: "";
  pointer-events: none;
}

.showcase__viewport::before {
  left: 0;
  background: linear-gradient(
    90deg,
    #000 0%,
    rgba(0, 0, 0, 0.96) 34%,
    rgba(0, 0, 0, 0.68) 62%,
    rgba(0, 0, 0, 0.24) 84%,
    transparent 100%
  );
}

.showcase__viewport::after {
  right: 0;
  background: linear-gradient(
    270deg,
    #000 0%,
    rgba(0, 0, 0, 0.96) 34%,
    rgba(0, 0, 0, 0.68) 62%,
    rgba(0, 0, 0, 0.24) 84%,
    transparent 100%
  );
}

.showcase__track {
  position: absolute;
  inset: 0;
  display: block;
  height: 100%;
}

.showcase-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 310px;
  height: 400px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  background: #241a31;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 26px 70px rgba(20, 11, 31, 0.34);
  transform: translate(-50%, -50%) scale(0.12);
  transform-origin: center;
  will-change: transform, opacity;
  pointer-events: auto;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.showcase-card::before {
  position: absolute;
  z-index: 6;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: radial-gradient(
    circle 125px at var(--spot-x, 50%) var(--spot-y, 50%),
    rgba(69, 247, 106, 0.96),
    rgba(69, 247, 106, 0.18) 48%,
    transparent 74%
  );
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.showcase-card.is-hovered {
  border-color: rgba(69, 247, 106, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 26px 70px rgba(20, 11, 31, 0.34),
    0 0 24px rgba(69, 247, 106, 0.1);
}

.showcase-card.is-hovered::before {
  opacity: 1;
}

.showcase__folder-back,
.showcase__folder-front {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  will-change: transform, opacity;
}

.showcase__folder-back {
  z-index: 0;
  top: calc(67.5% + 68px);
  width: 178px;
  height: 108px;
  border: 1px solid rgba(69, 247, 106, 0.48);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(26, 40, 29, 0.96), rgba(7, 13, 8, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 22px rgba(69, 247, 106, 0.08),
    0 22px 48px rgba(0, 0, 0, 0.46);
}

.showcase__folder-back::before {
  position: absolute;
  top: -12px;
  left: 14px;
  width: 74px;
  height: 21px;
  border: 1px solid rgba(69, 247, 106, 0.38);
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
  background: rgba(26, 40, 29, 0.96);
  content: "";
}

.showcase__folder-front {
  z-index: 10;
  top: calc(67.5% + 92px);
  display: grid;
  width: 196px;
  height: 84px;
  place-items: center;
  border: 1px solid rgba(69, 247, 106, 0.36);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(25, 39, 28, 0.68), rgba(8, 13, 9, 0.76));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(69, 247, 106, 0.06),
    0 -8px 22px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
}

.showcase__folder-label {
  color: rgba(49, 132, 68, 0.74);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0;
  transition: opacity 220ms ease;
}

.showcase__folder-label.is-visible {
  animation: folder-label-breathe 4.4s ease-in-out infinite;
}

.showcase__actions {
  position: absolute;
  z-index: 9;
  top: calc(58% - 20px + 340px);
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transform: translateX(-50%);
  pointer-events: auto;
}

.showcase__actions .hero-cta {
  white-space: nowrap;
}

.showcase-card__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.68;
  pointer-events: none;
}

.showcase-card__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.showcase-card.is-previewing .showcase-card__video {
  opacity: 1;
}

.showcase-card__tint {
  position: absolute;
  inset: 0;
  background: var(--tint, rgba(180, 150, 210, 0.25));
  opacity: 0.34;
  pointer-events: none;
}

.showcase-card__spotlight {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: radial-gradient(
    circle 110px at var(--spot-x, 50%) var(--spot-y, 50%),
    rgba(69, 247, 106, 0.17),
    rgba(69, 247, 106, 0.045) 46%,
    transparent 70%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.showcase-card.is-hovered .showcase-card__spotlight {
  opacity: 1;
}

.showcase-card::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 12, 27, 0.06) 0%, rgba(17, 11, 25, 0.16) 44%, rgba(12, 8, 19, 0.94) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 28%);
  content: "";
  pointer-events: none;
}

.showcase-card__number {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
  letter-spacing: 0.08em;
  background: rgba(22, 15, 32, 0.16);
  backdrop-filter: blur(8px);
}

.showcase-card__tag {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(22, 15, 32, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
  pointer-events: none;
}

.showcase-card__content {
  position: absolute;
  z-index: 2;
  right: 25px;
  bottom: 27px;
  left: 25px;
}

.showcase-card h3 {
  margin: 0;
  color: #fff9ff;
  font-family: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
  font-size: 31px;
  font-weight: 430;
  letter-spacing: 0.01em;
  line-height: 1.12;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.34);
}

.showcase-card h3.is-long-title {
  font-size: 27px;
  line-height: 1.16;
}

.showcase-card__content p {
  margin: 13px 0 0;
  color: rgba(250, 245, 255, 0.76);
  font-size: 11.5px;
  line-height: 1.75;
  letter-spacing: 0.02em;
}

.showcase-card__content p span {
  display: block;
}

.showcase-particles {
  position: absolute;
  z-index: 7;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.showcase__side-mask {
  display: none;
}

.showcase__side-mask--left {
  left: -3%;
  background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.9) 16%, rgba(0, 0, 0, 0.42) 52%, transparent 100%);
}

.showcase__side-mask--right {
  right: -3%;
  background: linear-gradient(270deg, #000 0%, rgba(0, 0, 0, 0.9) 16%, rgba(0, 0, 0, 0.42) 52%, transparent 100%);
}

@media (max-width: 820px) {
  .showcase__header {
    padding-top: 78px;
  }

  .showcase h2 {
    font-size: clamp(36px, 10vw, 58px);
  }

  .showcase__viewport {
    top: calc(55% - 22px);
    width: 80vw;
  }

  .showcase__actions {
    top: calc(55% - 22px + 340px);
  }

  .showcase__side-mask {
    width: 24%;
    height: 100%;
  }
}

.scroll-down {
  position: absolute;
  z-index: 30;
  bottom: 3px;
  left: 50%;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(69, 247, 106, 0.22);
  border-radius: 50%;
  color: #c8ffd0;
  background: rgba(2, 5, 3, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 24px rgba(69, 247, 106, 0.07);
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: scroll-cue 1.7s ease-in-out infinite;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.scroll-down svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scroll-down:hover {
  border-color: rgba(69, 247, 106, 0.5);
  background: rgba(18, 37, 21, 0.68);
  animation-play-state: paused;
}

@keyframes scroll-cue {
  0%,
  100% {
    transform: translate(-50%, -2px);
  }
  50% {
    transform: translate(-50%, 4px);
  }
}

.studio {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
  gap: clamp(12px, 1.5vh, 18px);
  overflow: hidden;
  padding: clamp(76px, 8vh, 98px) var(--page-pad) 34px;
  color: #eff7f0;
  background: #020303;
}

.studio__aura {
  position: absolute;
  z-index: 0;
  top: 45%;
  left: 52%;
  width: min(78vw, 1100px);
  height: min(70vh, 680px);
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse at center,
    rgba(69, 247, 106, 0.11),
    rgba(69, 247, 106, 0.035) 42%,
    transparent 72%
  );
  filter: blur(30px);
  pointer-events: none;
}

.studio__grid {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
  opacity: 0.45;
  pointer-events: none;
}

.studio__fluid {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
}

.studio__fluid-sheen {
  position: absolute;
  inset: -28%;
  background: conic-gradient(
    from 90deg at 50% 50%,
    transparent 0deg,
    rgba(39, 241, 159, 0.16) 58deg,
    transparent 116deg,
    rgba(187, 254, 84, 0.12) 214deg,
    transparent 306deg
  );
  filter: blur(82px);
  opacity: 0.55;
  animation: studio-fluid-orbit 44s linear infinite;
  will-change: transform;
}

.studio__fluid-blob {
  position: absolute;
  display: block;
  width: clamp(320px, 30vw, 560px);
  height: clamp(260px, 23vw, 430px);
  border-radius: 44% 56% 62% 38% / 48% 38% 62% 52%;
  filter: blur(72px);
  opacity: 0.46;
  transform: translateZ(0);
  animation: studio-fluid-drift 24s ease-in-out infinite;
  will-change: transform, border-radius;
}

.studio__fluid-blob--1 {
  top: -16%;
  left: -10%;
  background: radial-gradient(
    circle at 36% 36%,
    rgba(187, 254, 84, 0.76),
    rgba(39, 241, 159, 0.28) 48%,
    transparent 72%
  );
  filter: blur(64px);
  animation-duration: 26s;
}

.studio__fluid-blob--2 {
  top: 8%;
  right: -12%;
  width: clamp(280px, 26vw, 500px);
  height: clamp(320px, 30vw, 580px);
  background: radial-gradient(
    circle at 62% 44%,
    rgba(39, 241, 159, 0.6),
    rgba(187, 254, 84, 0.22) 50%,
    transparent 74%
  );
  filter: blur(78px);
  animation-duration: 31s;
  animation-delay: -9s;
}

.studio__fluid-blob--3 {
  bottom: -30%;
  left: 26%;
  width: clamp(360px, 38vw, 700px);
  height: clamp(260px, 25vw, 470px);
  background: radial-gradient(
    circle at 48% 52%,
    rgba(187, 254, 84, 0.42),
    rgba(39, 241, 159, 0.18) 46%,
    transparent 72%
  );
  filter: blur(58px);
  animation-duration: 37s;
  animation-delay: -18s;
}

@keyframes studio-fluid-orbit {
  from {
    transform: rotate(0deg) scale(1);
  }

  to {
    transform: rotate(360deg) scale(1.08);
  }
}

@keyframes studio-fluid-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    border-radius: 44% 56% 62% 38% / 48% 38% 62% 52%;
  }

  33% {
    transform: translate3d(4%, -3%, 0) rotate(16deg) scale(1.08);
    border-radius: 61% 39% 46% 54% / 37% 57% 43% 63%;
  }

  66% {
    transform: translate3d(-4%, 4%, 0) rotate(-12deg) scale(0.96);
    border-radius: 38% 62% 57% 43% / 60% 42% 58% 40%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .studio__fluid-sheen,
  .studio__fluid-blob {
    animation: none;
  }
}

.studio__header {
  position: relative;
  z-index: 2;
  max-width: 980px;
}

.studio__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: #6f7770;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.studio__kicker span {
  color: var(--accent);
}

.studio__kicker i {
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, rgba(69, 247, 106, 0.5), transparent);
}

.studio h2 {
  margin: 0;
  font-size: clamp(42px, 5.1vw, 78px);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.studio h2 span {
  color: var(--accent);
  font-weight: 900;
  -webkit-text-stroke: 0.25px currentColor;
  text-shadow:
    0 0 22px rgba(69, 247, 106, 0.17),
    0 0 58px rgba(69, 247, 106, 0.07);
}

.studio__intro {
  max-width: 700px;
  margin: 17px 0 0;
  color: #828983;
  font-size: 20px;
  line-height: 1.8;
}

.studio__workspace {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 0;
  flex: 1;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.35fr);
  gap: 14px;
}

.studio__steps {
  display: flex;
  min-height: 0;
  flex-direction: column;
  gap: 9px;
}

.studio-step {
  position: relative;
  display: grid;
  min-height: 0;
  flex: 1;
  grid-template-columns: 38px 1fr 24px;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 14px;
  color: #dfe7e0;
  background: rgba(255, 255, 255, 0.018);
  text-align: left;
  cursor: pointer;
  transition:
    border-color 220ms ease,
    background 220ms ease,
    transform 220ms var(--ease-out);
}

.studio-step::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--accent);
  content: "";
  opacity: 0;
  box-shadow: 0 0 14px rgba(69, 247, 106, 0.52);
  transition: opacity 220ms ease;
}

.studio-step:hover {
  transform: translateX(3px);
  border-color: rgba(69, 247, 106, 0.22);
  background: rgba(69, 247, 106, 0.035);
}

.studio-step.is-active {
  border-color: rgba(69, 247, 106, 0.3);
  background:
    linear-gradient(90deg, rgba(69, 247, 106, 0.075), transparent 72%),
    rgba(255, 255, 255, 0.02);
}

.studio-step.is-active::before {
  opacity: 1;
}

.studio-step__index {
  color: #69716b;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.studio-step.is-active .studio-step__index,
.studio-step.is-active .studio-step__mark {
  color: var(--accent);
}

.studio-step__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.studio-step__copy strong {
  font-size: 16px;
  font-weight: 620;
}

.studio-step__copy small {
  max-width: 310px;
  color: #727974;
  font-size: 10.5px;
  line-height: 1.55;
}

.studio-step__mark {
  color: #565d58;
  font-size: 16px;
  transition: transform 180ms ease;
}

.studio-step:hover .studio-step__mark {
  transform: translate(2px, -2px);
}

.studio__preview {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(17, 24, 18, 0.76), rgba(5, 8, 6, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 28px 70px rgba(0, 0, 0, 0.28);
}

.studio__preview-head {
  display: flex;
  height: 30px;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  color: #687069;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.studio__preview-head span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.studio__preview-head i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(69, 247, 106, 0.9);
}

.studio__frame {
  position: relative;
  min-height: 300px;
  flex: 1;
  overflow: hidden;
  border-radius: 13px;
  background: #080c09;
}

.studio__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.74;
  transition:
    opacity 260ms ease,
    transform 900ms var(--ease-out);
}

.studio__frame.is-switching img {
  opacity: 0.18;
  transform: scale(1.035);
}

.studio__frame-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 5, 3, 0.12), transparent 35%, rgba(2, 5, 3, 0.92) 100%),
    radial-gradient(circle at 78% 22%, rgba(69, 247, 106, 0.08), transparent 35%);
  pointer-events: none;
}

.studio__frame-badge {
  position: absolute;
  top: 17px;
  right: 18px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(227, 255, 232, 0.62);
  background: rgba(2, 6, 3, 0.34);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
  letter-spacing: 0.11em;
  backdrop-filter: blur(10px);
}

.studio__caption {
  position: absolute;
  right: clamp(20px, 3vw, 36px);
  bottom: clamp(20px, 3vh, 32px);
  left: clamp(20px, 3vw, 36px);
}

.studio__caption small {
  color: rgba(178, 255, 192, 0.6);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.studio__caption h3 {
  margin: 9px 0 0;
  color: #f4fff5;
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 650;
  letter-spacing: -0.035em;
}

.studio__caption p {
  max-width: 600px;
  margin: 8px 0 0;
  color: rgba(233, 243, 234, 0.68);
  font-size: 11px;
  line-height: 1.65;
}

.studio__prompt {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 13px;
  padding: 8px 9px 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.095);
  border-radius: 16px;
  background: rgba(8, 12, 9, 0.76);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 20px 55px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
}

.studio__prompt-mark {
  color: var(--accent);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 15px;
}

.studio__prompt p {
  min-width: 0;
  flex: 1;
  margin: 0;
  color: #a9b2ab;
  font-size: 11px;
  line-height: 1.55;
}

.studio__generate {
  display: inline-flex;
  height: 42px;
  align-items: center;
  gap: 18px;
  padding: 0 8px 0 18px;
  border: 1px solid var(--accent);
  border-radius: 11px;
  color: #061309;
  background: linear-gradient(135deg, #8dff9e, #45f76a);
  box-shadow: 0 8px 24px rgba(69, 247, 106, 0.14);
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  transition:
    transform 200ms var(--ease-out),
    box-shadow 200ms ease;
}

.studio__generate:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(69, 247, 106, 0.22);
}

.studio__generate-icon {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(1, 20, 7, 0.4);
  border-radius: 7px;
  font-size: 14px;
}

.studio__generate.is-working {
  opacity: 0.72;
  pointer-events: none;
}

@media (max-width: 900px) {
  .studio {
    min-height: auto;
    padding-top: 88px;
    padding-bottom: 30px;
  }

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

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

  .studio-step {
    min-height: 112px;
    grid-template-columns: 30px 1fr;
  }

  .studio-step__mark {
    display: none;
  }

  .studio-step__copy small {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .studio__frame {
    min-height: 330px;
  }
}

@media (max-width: 580px) {
  .studio {
    padding-top: 80px;
  }

  .studio h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .studio__kicker {
    flex-wrap: wrap;
    font-size: 7px;
  }

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

  .studio-step {
    min-height: 88px;
  }

  .studio__frame {
    min-height: 290px;
  }

  .studio__prompt {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 14px;
  }

  .studio__prompt p {
    flex-basis: calc(100% - 28px);
  }

  .studio__generate {
    width: 100%;
    justify-content: space-between;
  }
}

.studio__header--gallery {
  max-width: 100%;
  text-align: center;
}

.studio__header--gallery .studio__kicker {
  justify-content: center;
}

.studio__header--gallery .studio__intro {
  margin-right: auto;
  margin-left: auto;
}

.studio__gallery {
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  max-width: 1400px;
  min-height: 0;
  flex: 1;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: max-content;
  align-items: center;
  align-content: center;
  gap: 16px;
  margin: 0 auto;
}

.studio-media {
  position: relative;
  width: 100%;
  aspect-ratio: 188 / 300;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: #f4fff5;
  background: #101511;
  text-align: left;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 60px rgba(0, 0, 0, 0.3);
  transition:
    transform 300ms var(--ease-out),
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.studio-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 34%, rgba(2, 7, 4, 0.18) 57%, rgba(2, 7, 4, 0.94) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055), transparent 30%);
  content: "";
  pointer-events: none;
}

.studio-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition:
    transform 800ms var(--ease-out),
    opacity 260ms ease;
}

.studio-media__play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  color: white;
  background: rgba(3, 8, 4, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 8px 30px rgba(0, 0, 0, 0.26);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(10px);
  transition:
    color 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    transform 240ms var(--ease-out);
}

.studio-media__play svg {
  width: 21px;
  height: 21px;
  transform: translateX(1px);
}

.studio-media__tag {
  position: absolute;
  z-index: 4;
  bottom: 8px;
  left: 9px;
  display: inline-flex;
  height: 18px;
  align-items: center;
  padding: 0 8px;
  border: 1px solid rgba(69, 247, 106, 0.48);
  border-radius: 5px;
  color: rgba(232, 255, 237, 0.92);
  background: rgba(2, 7, 4, 0.82);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.32);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.studio-media__meta {
  position: absolute;
  z-index: 2;
  right: 17px;
  bottom: 17px;
  left: 17px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.studio-media__meta small {
  color: rgba(132, 255, 155, 0.66);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.studio-media__meta strong {
  color: #f4fff5;
  font-size: clamp(19px, 1.65vw, 25px);
  font-weight: 650;
  letter-spacing: -0.035em;
}

.studio-media__meta > span {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(231, 241, 232, 0.6);
  font-size: 9.5px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.studio-media:hover {
  z-index: 3;
  border-color: rgba(69, 247, 106, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 28px 70px rgba(0, 0, 0, 0.36),
    0 0 34px rgba(69, 247, 106, 0.13);
  transform: translateY(-7px) scale(1.025);
}

.studio-media:hover img {
  opacity: 0.93;
  transform: scale(1.045);
}

.studio-media:hover .studio-media__play {
  border-color: rgba(69, 247, 106, 0.68);
  color: #061309;
  background: var(--accent);
  transform: translate(-50%, -50%) scale(1.08);
}

.studio__hint {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  color: #626a64;
  font-size: 9px;
  letter-spacing: 0.04em;
}

.studio__hint span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(69, 247, 106, 0.75);
}

.video-dialog {
  width: min(900px, calc(100vw - 36px));
  max-width: none;
  max-height: calc(100dvh - 36px);
  padding: 0;
  overflow: visible;
  border: 0;
  color: var(--ink);
  background: transparent;
}

.video-dialog::backdrop {
  background: rgba(2, 3, 2, 0.84);
  backdrop-filter: blur(18px) saturate(80%);
}

.video-dialog__panel {
  position: relative;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(69, 247, 106, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(circle at 82% 10%, rgba(69, 247, 106, 0.07), transparent 32%),
    #090d0a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 40px 120px rgba(0, 0, 0, 0.7);
}

.video-dialog h2 {
  margin: 0;
  padding-right: 48px;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 720;
  letter-spacing: -0.045em;
}

.video-dialog__player {
  margin-top: 19px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  background: #000;
}

.video-dialog__player video {
  display: block;
  width: 100%;
  max-height: min(62vh, 620px);
  background: #000;
}

.video-dialog__copy {
  margin: 14px 0 0;
  color: #858d87;
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 1000px) {
  .studio__gallery {
    display: flex;
    max-width: 100%;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 2px 18px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .studio__gallery::-webkit-scrollbar {
    display: none;
  }

  .studio-media {
    width: min(64vw, 300px);
    flex: 0 0 min(64vw, 300px);
    scroll-snap-align: center;
  }
}

@media (max-width: 580px) {
  .studio-media {
    width: 72vw;
    flex-basis: 72vw;
  }

  .video-dialog__panel {
    padding: 18px;
    border-radius: 19px;
  }
}

.video-lab {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
  gap: clamp(18px, 2.6vh, 28px);
  overflow: hidden;
  padding: clamp(92px, 11vh, 126px) var(--page-pad) 34px;
  color: #eff7f0;
  background: #020303;
}

.video-lab__aura {
  position: absolute;
  z-index: 0;
  top: 48%;
  left: 58%;
  width: min(80vw, 1180px);
  height: min(68vh, 680px);
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse at center,
    rgba(69, 247, 106, 0.1),
    rgba(69, 247, 106, 0.03) 42%,
    transparent 72%
  );
  filter: blur(32px);
  pointer-events: none;
}

.video-lab__grid {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse at center, black 18%, transparent 78%);
  opacity: 0.42;
  pointer-events: none;
}

.video-lab__watermark {
  position: absolute;
  z-index: 0;
  top: 15%;
  right: -0.04em;
  color: transparent;
  font-size: clamp(120px, 17vw, 300px);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.8;
  opacity: 0.8;
  pointer-events: none;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(69, 247, 106, 0.06);
}

.video-lab__header {
  position: relative;
  z-index: 2;
  max-width: 1120px;
}

.video-lab__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: #6f7770;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.video-lab__kicker span {
  color: var(--accent);
}

.video-lab__kicker i {
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, rgba(69, 247, 106, 0.5), transparent);
}

.video-lab h2 {
  margin: 0;
  font-size: clamp(42px, 5.1vw, 78px);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.video-lab h2 span {
  color: #f4fff5;
}

.video-lab h2 b {
  margin: 0 0.06em;
  color: var(--accent);
  font-weight: 400;
  text-shadow:
    0 0 22px rgba(69, 247, 106, 0.24),
    0 0 58px rgba(69, 247, 106, 0.08);
}

.video-lab__intro {
  max-width: 760px;
  margin: 18px 0 0;
  color: #828983;
  font-size: 20px;
  line-height: 1.6;
}

.video-lab__rows {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.8vh, 32px);
}

.video-lab__row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.video-lab__row-head {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #69716b;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.video-lab__row-head span {
  color: var(--accent);
}

.video-lab__row-head strong {
  color: #dfe7e0;
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.video-lab__row-head small {
  color: #69716b;
  font-size: 8px;
}

.video-lab__row-head::after {
  flex: 1;
  height: 1px;
  margin-left: 8px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent);
  content: "";
}

.video-lab__grid-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.video-card {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  color: #f4fff5;
  background: #080d09;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
  text-align: left;
  cursor: pointer;
  opacity: 0;
  filter: blur(6px);
  transform: perspective(900px) rotateX(0deg) rotateY(0deg) translateY(0);
  transition:
    opacity 720ms var(--ease-out),
    filter 720ms var(--ease-out),
    transform 320ms var(--ease-out),
    border-color 240ms ease,
    box-shadow 240ms ease;
  transition-delay: var(--delay, 0ms), var(--delay, 0ms), 0ms, 0ms, 0ms;
}

.video-lab.is-visible .video-card {
  opacity: 1;
  filter: blur(0);
}

.video-card:hover,
.video-card:focus-visible {
  border-color: rgba(69, 247, 106, 0.46);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.55),
    0 0 38px rgba(69, 247, 106, 0.13);
  outline: none;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px);
  will-change: transform;
}

.video-card__media {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transform: scale(1.001);
  transition:
    opacity 300ms ease,
    transform 900ms var(--ease-out);
}

.video-card:hover .video-card__media,
.video-card.is-previewing .video-card__media {
  opacity: 1;
  transform: scale(1.045);
}

.video-card__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 6, 3, 0.04) 20%, rgba(2, 6, 3, 0.22) 55%, rgba(2, 6, 3, 0.94) 100%),
    linear-gradient(90deg, rgba(2, 6, 3, 0.32), transparent 42%);
  pointer-events: none;
}

.video-card__spotlight {
  position: absolute;
  inset: -1px;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(69, 247, 106, 0.2),
    rgba(69, 247, 106, 0.05) 24%,
    transparent 46%
  );
  opacity: 0;
  mix-blend-mode: screen;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.video-card:hover .video-card__spotlight,
.video-card:focus-visible .video-card__spotlight {
  opacity: 1;
}

.video-card__badge {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  display: inline-flex;
  height: 21px;
  align-items: center;
  padding: 0 8px;
  border: 1px solid rgba(69, 247, 106, 0.34);
  border-radius: 4px;
  color: #c9ffd3;
  background: rgba(2, 7, 4, 0.62);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.video-card__play {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(2, 7, 4, 0.62);
  transform: none;
  pointer-events: none;
  backdrop-filter: blur(8px);
  transition:
    color 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    transform 260ms var(--ease-out),
    box-shadow 260ms ease;
}

.video-card__play svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.video-card:hover .video-card__play,
.video-card:focus-visible .video-card__play,
.video-card.is-previewing .video-card__play {
  border-color: var(--accent);
  color: #061309;
  background: var(--accent);
  box-shadow: 0 0 28px rgba(69, 247, 106, 0.3);
  transform: scale(1.08);
}

.video-card__copy {
  position: absolute;
  z-index: 3;
  right: 62px;
  bottom: 14px;
  left: 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  pointer-events: none;
}

.video-card__copy small {
  color: rgba(132, 255, 155, 0.68);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.video-card__copy strong {
  color: #f4fff5;
  font-size: clamp(17px, 1.25vw, 21px);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.video-card__copy > span {
  max-width: 92%;
  overflow: hidden;
  color: rgba(231, 241, 232, 0.62);
  font-size: 10px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 240ms ease,
    transform 260ms var(--ease-out);
}

.video-card:hover .video-card__copy > span,
.video-card:focus-visible .video-card__copy > span {
  opacity: 1;
  transform: translateY(0);
}

.video-lab__hint {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  color: #626a64;
  font-size: 9px;
  letter-spacing: 0.04em;
}

.video-lab__hint span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(69, 247, 106, 0.75);
}

@media (max-width: 1000px) {
  .video-lab {
    min-height: auto;
    padding-top: 88px;
  }

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

  .video-lab__watermark {
    top: 12%;
    font-size: 28vw;
    opacity: 0.4;
  }
}

@media (max-width: 580px) {
  .video-lab {
    padding-top: 78px;
  }

  .video-lab h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .video-lab__kicker {
    flex-wrap: wrap;
    font-size: 7px;
    letter-spacing: 0.12em;
  }

  .video-lab__intro {
    font-size: 16px;
  }

  .video-lab__grid-cards {
    grid-template-columns: 1fr;
  }

  .video-card__copy > span {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-card {
    opacity: 1;
    filter: none;
    transition: none;
  }

  .video-card:hover,
  .video-card:focus-visible {
    transform: none;
  }

  .video-card__media,
  .video-card__copy > span {
    transition: none;
  }
}

.commercial {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
  gap: clamp(18px, 2.6vh, 28px);
  overflow: hidden;
  padding: clamp(92px, 11vh, 126px) var(--page-pad) 34px;
  color: #eff7f0;
  background: #020303;
}

.commercial__aura {
  position: absolute;
  z-index: 0;
  top: 8%;
  left: 58%;
  width: min(72vw, 1040px);
  height: min(68vh, 680px);
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse at center,
    rgba(39, 241, 159, 0.11),
    rgba(187, 254, 84, 0.03) 44%,
    transparent 72%
  );
  filter: blur(34px);
  pointer-events: none;
}

.commercial__grid-lines {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse at center, black 18%, transparent 78%);
  opacity: 0.4;
  pointer-events: none;
}

.commercial__watermark {
  position: absolute;
  z-index: 0;
  right: -0.04em;
  bottom: 2%;
  color: transparent;
  font-size: clamp(120px, 18vw, 320px);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.8;
  pointer-events: none;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(69, 247, 106, 0.055);
}

.commercial__header {
  position: relative;
  z-index: 2;
  max-width: 1120px;
}

.commercial__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: #6f7770;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.commercial__kicker span {
  color: var(--accent);
}

.commercial__kicker i {
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, rgba(69, 247, 106, 0.5), transparent);
}

.commercial h2 {
  margin: 0;
  font-size: clamp(42px, 5.1vw, 78px);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.commercial h2 span {
  margin: 0 0.04em;
  background: linear-gradient(90deg, #bbfe54 0%, #27f19f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.commercial__intro {
  max-width: 820px;
  margin: 18px 0 0;
  color: #828983;
  font-size: 20px;
  line-height: 1.6;
}

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

.commercial__tags span {
  display: inline-flex;
  height: 28px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(69, 247, 106, 0.18);
  border-radius: 999px;
  color: #8dba95;
  background: rgba(69, 247, 106, 0.035);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.commercial__tags span:last-child {
  border-color: rgba(187, 254, 84, 0.32);
  color: #cbffd5;
  background: rgba(187, 254, 84, 0.05);
}

.commercial__grid {
  position: relative;
  z-index: 2;
  display: grid;
  width: 90vw;
  max-width: none;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin: clamp(20px, 2.5vh, 32px) 0 0;
}

.commercial-card {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 9 / 17;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  color: #f4fff5;
  background: #080d09;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
  text-align: left;
  cursor: pointer;
  opacity: 0;
  filter: blur(6px);
  transform: perspective(1200px) rotateX(0deg) rotateY(0deg) translateY(0);
  transition:
    opacity 720ms var(--ease-out),
    filter 720ms var(--ease-out),
    transform 340ms var(--ease-out),
    border-color 240ms ease,
    box-shadow 240ms ease;
  transition-delay: var(--delay, 0ms), var(--delay, 0ms), 0ms, 0ms, 0ms;
  will-change: transform;
}

.commercial.is-visible .commercial-card {
  opacity: 1;
  filter: blur(0);
}

.commercial-card:hover,
.commercial-card:focus-within {
  border-color: rgba(69, 247, 106, 0.42);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.55),
    0 0 34px rgba(69, 247, 106, 0.13);
  outline: none;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px);
}

.commercial-card__media {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 0;
  border-radius: inherit;
  background: #101511;
}

.commercial-card__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.84;
  transform: scale(1.001);
  transition:
    opacity 300ms ease,
    transform 900ms var(--ease-out);
}

.commercial-card:hover .commercial-card__video,
.commercial-card.is-previewing .commercial-card__video {
  opacity: 1;
  transform: scale(1.035);
}

.commercial-card__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 6, 3, 0.62) 0%, transparent 28%, transparent 52%, rgba(2, 6, 3, 0.94) 100%),
    linear-gradient(90deg, rgba(2, 6, 3, 0.26), transparent 42%);
  pointer-events: none;
}

.commercial-card__spotlight {
  position: absolute;
  inset: -1px;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(69, 247, 106, 0.18),
    rgba(69, 247, 106, 0.04) 24%,
    transparent 46%
  );
  opacity: 0;
  mix-blend-mode: screen;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.commercial-card:hover .commercial-card__spotlight,
.commercial-card:focus-within .commercial-card__spotlight {
  opacity: 1;
}

.commercial-card__head {
  position: absolute;
  z-index: 4;
  top: 14px;
  right: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #69716b;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
  pointer-events: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.commercial-card__head > span {
  color: var(--accent);
}

.commercial-card__head strong {
  color: #e8f7ea;
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.commercial-card__expand {
  position: absolute;
  z-index: 5;
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(2, 7, 4, 0.62);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition:
    color 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    transform 220ms var(--ease-out),
    box-shadow 260ms ease;
}

.commercial-card__expand svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.commercial-card:hover .commercial-card__expand {
  border-color: rgba(69, 247, 106, 0.56);
  color: #d6ffdd;
}

.commercial-card__expand:hover,
.commercial-card__expand:focus-visible {
  border-color: var(--accent);
  color: #061309;
  background: var(--accent);
  box-shadow: 0 0 28px rgba(69, 247, 106, 0.3);
  outline: none;
  transform: scale(1.08);
}

.commercial-card__copy {
  position: absolute;
  z-index: 4;
  right: 62px;
  bottom: 14px;
  left: 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  pointer-events: none;
}

.commercial-card__copy small {
  color: rgba(132, 255, 155, 0.68);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.commercial-card__copy strong {
  color: #f4fff5;
  font-size: clamp(18px, 1.3vw, 22px);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.commercial-card__copy > span {
  overflow: hidden;
  color: rgba(231, 241, 232, 0.64);
  font-size: 10.5px;
  line-height: 1.5;
}

.commercial__hint {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  color: #626a64;
  font-size: 9px;
  letter-spacing: 0.04em;
}

.commercial__hint span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(69, 247, 106, 0.75);
}

@media (max-width: 1100px) {
  .commercial {
    min-height: auto;
    padding-top: 84px;
  }

  .commercial__grid {
    display: flex;
    width: 100%;
    max-width: 100%;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 2px 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .commercial__grid::-webkit-scrollbar {
    display: none;
  }

  .commercial-card {
    flex: 0 0 min(38vw, 300px);
    scroll-snap-align: center;
  }

  .commercial__watermark {
    font-size: 24vw;
    opacity: 0.6;
  }
}

@media (max-width: 580px) {
  .commercial {
    padding-top: 74px;
  }

  .commercial h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .commercial__kicker {
    flex-wrap: wrap;
    font-size: 7px;
    letter-spacing: 0.12em;
  }

  .commercial__intro {
    font-size: 16px;
  }

  .commercial-card {
    flex-basis: min(72vw, 340px);
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .commercial-card {
    opacity: 1;
    filter: none;
    transition: none;
  }

  .commercial-card:hover,
  .commercial-card:focus-within {
    transform: none;
  }

  .commercial-card__video,
  .commercial-card__copy > span {
    transition: none;
  }
}

.studio-player {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(100%, max(320px, 50vw));
  flex-direction: column;
  gap: 8px;
  margin: 0 auto;
}

.studio-player__meta,
.studio-player__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 2px;
  color: #5f6f63;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.studio-player__meta > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.studio-player__meta i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(69, 247, 106, 0.82);
}

.studio-player__panel {
  position: relative;
  isolation: isolate;
  padding: 8px;
  border: 1px solid rgba(69, 247, 106, 0.2);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(8, 20, 11, 0.97), rgba(3, 8, 5, 0.99));
  box-shadow:
    0 36px 100px rgba(0, 0, 0, 0.62),
    inset 0 0 0 1px rgba(69, 247, 106, 0.03),
    0 0 70px rgba(69, 247, 106, 0.06);
}

.studio-player__panel::before {
  position: absolute;
  z-index: -1;
  inset: -28px;
  background: radial-gradient(ellipse at center, rgba(69, 247, 106, 0.13), transparent 68%);
  filter: blur(28px);
  content: "";
  pointer-events: none;
}

.studio-player__corner {
  position: absolute;
  z-index: 3;
  width: 16px;
  height: 16px;
  border-color: rgba(69, 247, 106, 0.55);
  pointer-events: none;
}

.studio-player__corner--tl {
  top: -2px;
  left: -2px;
  border-top: 1px solid;
  border-left: 1px solid;
  border-top-left-radius: 6px;
}

.studio-player__corner--tr {
  top: -2px;
  right: -2px;
  border-top: 1px solid;
  border-right: 1px solid;
  border-top-right-radius: 6px;
}

.studio-player__corner--bl {
  bottom: -2px;
  left: -2px;
  border-bottom: 1px solid;
  border-left: 1px solid;
  border-bottom-left-radius: 6px;
}

.studio-player__corner--br {
  right: -2px;
  bottom: -2px;
  border-right: 1px solid;
  border-bottom: 1px solid;
  border-bottom-right-radius: 6px;
}

.studio-player__screen {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  background: #000;
}

.studio-player__screen video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-player__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 6, 3, 0.52) 0%, transparent 28%, transparent 50%, rgba(2, 6, 3, 0.94) 100%),
    radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.22) 100%);
  pointer-events: none;
}

.studio-player__badge,
.studio-player__format,
.studio-player__id {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(235, 255, 239, 0.64);
  background: rgba(2, 7, 4, 0.46);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
  letter-spacing: 0.13em;
  backdrop-filter: blur(8px);
}

.studio-player__badge {
  top: 14px;
  left: 14px;
  padding: 5px 8px;
  color: #aaffb8;
  border-color: rgba(69, 247, 106, 0.22);
}

.studio-player__format {
  top: 14px;
  right: 14px;
  padding: 5px 8px;
}

.studio-player__id {
  right: 14px;
  bottom: 12px;
  padding: 4px 7px;
  font-size: 6px;
}

.studio-player__copy {
  position: absolute;
  z-index: 2;
  right: 80px;
  bottom: 14px;
  left: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.studio-player__copy small {
  color: #8fff9f;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.studio-player__copy strong {
  color: #f4fff5;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.studio-player__copy > span {
  display: -webkit-box;
  max-width: 620px;
  overflow: hidden;
  color: rgba(231, 241, 232, 0.64);
  font-size: 11px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.studio-player__controls {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 4px 2px;
}

.studio-player__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.studio-player__toggle {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border: 1px solid rgba(69, 247, 106, 0.24);
  border-radius: 50%;
  color: #c9ffd3;
  background: rgba(69, 247, 106, 0.06);
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.studio-player__toggle svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.studio-player__toggle:hover,
.studio-player__toggle:focus-visible {
  border-color: var(--accent);
  color: #061309;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(69, 247, 106, 0.28);
  outline: none;
}

.studio-player__sound {
  display: inline-flex;
  height: 30px;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid rgba(69, 247, 106, 0.2);
  border-radius: 999px;
  color: #a9b9ad;
  background: rgba(69, 247, 106, 0.045);
  font-size: 9px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.studio-player__sound svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.studio-player__sound-waves,
.studio-player__sound-muted {
  transition: opacity 180ms ease;
}

.studio-player__sound-waves {
  opacity: 0;
}

.studio-player__sound-muted {
  opacity: 1;
}

.studio-player__sound:hover,
.studio-player__sound:focus-visible,
.studio-player__sound[aria-pressed="true"] {
  border-color: rgba(69, 247, 106, 0.54);
  color: #dfffe5;
  background: rgba(69, 247, 106, 0.1);
  box-shadow: 0 0 20px rgba(69, 247, 106, 0.1);
  outline: none;
}

.studio-player__sound[aria-pressed="true"] .studio-player__sound-waves {
  opacity: 1;
}

.studio-player__sound[aria-pressed="true"] .studio-player__sound-muted {
  opacity: 0;
}

@media (max-width: 580px) {
  .studio-player__sound {
    width: 30px;
    justify-content: center;
    padding: 0;
  }

  .studio-player__sound > span {
    display: none;
  }
}

.studio-player__time {
  flex: 0 0 auto;
  color: #8aa08e;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.06em;
}

.studio-player__timeline {
  position: relative;
  height: 2px;
  flex: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.studio-player__timeline span {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #bbfe54 0%, #27f19f 100%);
  box-shadow: 0 0 12px rgba(69, 247, 106, 0.38);
  transform: scaleX(0);
  transform-origin: left;
}

.studio-player__timeline i {
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #efffe9;
  box-shadow: 0 0 12px rgba(187, 254, 84, 0.85);
  transform: translate(-50%, -50%);
}

.studio-player__auto {
  flex: 0 0 auto;
  padding: 4px 7px;
  border: 1px solid rgba(69, 247, 106, 0.2);
  border-radius: 999px;
  color: #8fff9f;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.studio-player__foot {
  color: #4f5f53;
}

.studio__marquee {
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: hidden;
  margin-top: clamp(4px, 0.6vh, 8px);
  padding: 8px 0 4px;
  mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
}

.studio__marquee-track {
  display: flex;
  width: max-content;
  animation: studio-marquee var(--studio-marquee-duration, 52s) linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}

.studio__marquee:hover .studio__marquee-track,
.studio__marquee:focus-within .studio__marquee-track {
  animation-play-state: paused;
}

.studio__marquee-group {
  display: flex;
  gap: 14px;
  padding-right: 14px;
}

.studio__marquee .studio-media {
  width: clamp(76px, 5vw, 96px);
  flex: 0 0 clamp(76px, 5vw, 96px);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

.studio__marquee .studio-media::after {
  border-radius: inherit;
}

.studio__marquee .studio-media__play {
  width: 24px;
  height: 24px;
}

.studio__marquee .studio-media__play svg {
  width: 11px;
  height: 11px;
}

.studio-media__bars {
  display: none;
  height: 10px;
  align-items: flex-end;
  gap: 1.5px;
}

.studio-media__bars i {
  display: block;
  width: 2px;
  border-radius: 2px;
  background: currentColor;
  transform-origin: bottom;
}

.studio-media__bars i:nth-child(1) {
  height: 5px;
}

.studio-media__bars i:nth-child(2) {
  height: 10px;
}

.studio-media__bars i:nth-child(3) {
  height: 7px;
}

.studio__marquee .studio-media.is-active .studio-media__play-triangle {
  display: none;
}

.studio__marquee .studio-media.is-active .studio-media__bars {
  display: flex;
}

.studio__marquee .studio-media.is-active .studio-media__bars i {
  animation: studio-bars 0.72s ease-in-out infinite alternate;
}

.studio__marquee .studio-media.is-active .studio-media__bars i:nth-child(2) {
  animation-delay: 0.14s;
}

.studio__marquee .studio-media.is-active .studio-media__bars i:nth-child(3) {
  animation-delay: 0.28s;
}

.studio__marquee .studio-media__tag {
  bottom: 7px;
  left: 7px;
  height: 19px;
  padding: 0 7px;
  border-radius: 5px;
  font-size: 9.5px;
  letter-spacing: 0.06em;
}

.studio__marquee .studio-media.is-active {
  border-color: rgba(69, 247, 106, 0.68);
  box-shadow:
    0 0 0 1px rgba(69, 247, 106, 0.2),
    0 0 28px rgba(69, 247, 106, 0.22);
}

.studio__marquee .studio-media.is-active .studio-media__play {
  border-color: var(--accent);
  color: #061309;
  background: var(--accent);
}

@keyframes studio-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(-1 * var(--studio-marquee-shift, 50%)), 0, 0);
  }
}

@keyframes studio-bars {
  from {
    transform: scaleY(0.35);
  }

  to {
    transform: scaleY(1);
  }
}

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

.portrait-gallery {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
  gap: clamp(18px, 2.2vh, 28px);
  overflow: hidden;
  padding: clamp(92px, 10.4vh, 124px) var(--page-pad) 24px;
  color: #f7f2ff;
  background:
    radial-gradient(ellipse at 50% 44%, rgba(92, 59, 255, 0.2), transparent 54%),
    radial-gradient(ellipse at 28% 62%, rgba(255, 55, 183, 0.08), transparent 40%),
    radial-gradient(ellipse at 76% 58%, rgba(28, 205, 255, 0.08), transparent 42%),
    linear-gradient(180deg, #02030a 0%, #04051a 54%, #02030a 100%);
}

.portrait-gallery__aura {
  position: absolute;
  z-index: 0;
  top: 48%;
  left: 50%;
  width: min(96vw, 1560px);
  height: min(72vh, 760px);
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse at 50% 50%, rgba(95, 67, 255, 0.19), rgba(49, 127, 255, 0.06) 42%, transparent 72%),
    radial-gradient(ellipse at 15% 70%, rgba(255, 64, 191, 0.12), transparent 44%),
    radial-gradient(ellipse at 88% 68%, rgba(37, 222, 255, 0.1), transparent 42%);
  filter: blur(36px);
  pointer-events: none;
}

.portrait-gallery__grid {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 193, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 193, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 12%, transparent 76%);
  opacity: 0.55;
  pointer-events: none;
}

.portrait-gallery__watermark {
  position: absolute;
  z-index: 0;
  right: -0.06em;
  bottom: -0.12em;
  color: rgba(197, 184, 255, 0.035);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: clamp(120px, 20vw, 340px);
  font-weight: 800;
  letter-spacing: -0.085em;
  line-height: 0.8;
  pointer-events: none;
  user-select: none;
}

.portrait-gallery__header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.portrait-gallery__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #9b91c4;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.portrait-gallery__kicker span {
  color: #98ffb2;
  font-size: 10px;
  text-shadow: 0 0 16px rgba(94, 255, 130, 0.55);
}

.portrait-gallery__kicker i {
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, rgba(164, 143, 255, 0.65), transparent);
}

.portrait-gallery h2 {
  max-width: min(96vw, 1180px);
  margin: 0;
  font-size: clamp(36px, 4.6vw, 76px);
  font-weight: 760;
  letter-spacing: -0.06em;
  line-height: 1.04;
  text-wrap: balance;
}

.portrait-gallery h2 span {
  color: transparent;
  background: linear-gradient(100deg, #ff9ddd 8%, #d99cff 42%, #75eaff 78%, #b2ffc4);
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: 0 0 40px rgba(178, 112, 255, 0.15);
}

.portrait-gallery__intro {
  margin: 0;
  color: #a9a1c8;
  font-size: clamp(14px, 1.08vw, 18px);
  letter-spacing: 0.04em;
  line-height: 1.7;
}

.portrait-gallery__stage {
  position: relative;
  z-index: 2;
  width: 100vw;
  min-height: clamp(470px, 62vh, 690px);
  margin-top: clamp(16px, 2.8vh, 38px);
  margin-bottom: 0;
  margin-inline: calc(50% - 50vw);
  overflow: hidden;
}

.portrait-gallery__stage::before,
.portrait-gallery__stage::after {
  position: absolute;
  z-index: 200;
  top: 0;
  bottom: 0;
  width: calc(5vw + clamp(54px, 7vw, 138px));
  content: "";
  pointer-events: none;
}

.portrait-gallery__stage::before {
  left: 0;
  background: linear-gradient(
    90deg,
    #02030a 0%,
    rgba(2, 3, 10, 0.98) 24%,
    rgba(2, 3, 10, 0.92) 42%,
    rgba(2, 3, 10, 0) 100%
  );
}

.portrait-gallery__stage::after {
  right: 0;
  background: linear-gradient(
    270deg,
    #02030a 0%,
    rgba(2, 3, 10, 0.98) 24%,
    rgba(2, 3, 10, 0.92) 42%,
    rgba(2, 3, 10, 0) 100%
  );
}

.portrait-gallery__track {
  position: absolute;
  right: 5vw;
  bottom: 0;
  left: 5vw;
  height: clamp(330px, 44vh, 480px);
}

.portrait-card {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: var(--portrait-card-width, 220px);
  height: 100%;
  min-width: 0;
  margin-left: calc(var(--portrait-card-width, 220px) / -2);
  border-radius: clamp(15px, 1.05vw, 22px);
  opacity: 0;
  filter: saturate(0.78) brightness(0.78);
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: 50% 100%;
  will-change: transform;
  backface-visibility: hidden;
  transition:
    filter 340ms ease;
}

.portrait-card.is-active {
  opacity: 1;
  filter: none;
}

.portrait-card__button {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(169, 154, 255, 0.22);
  border-radius: inherit;
  color: #ffffff;
  background: #080919;
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: zoom-in;
  text-align: left;
  transition:
    border-color 420ms ease,
    box-shadow 420ms ease;
}

.portrait-card.is-active .portrait-card__button {
  border-color: rgba(201, 188, 255, 0.55);
  box-shadow:
    0 42px 100px rgba(47, 21, 131, 0.58),
    0 0 0 1px rgba(206, 190, 255, 0.2),
    0 0 74px rgba(75, 187, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.portrait-card__media {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 14%, var(--portrait-a), transparent 44%),
    linear-gradient(150deg, var(--portrait-b), #080919 74%);
}

.portrait-card__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.12) contrast(1.04);
  transform: scale(1.015);
  backface-visibility: hidden;
  transition:
    transform 760ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 520ms ease;
}

.portrait-card.is-active .portrait-card__video {
  filter: saturate(1.28) contrast(1.08);
  transform: scale(1.035);
}

.portrait-card__wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(150deg, var(--portrait-a), transparent 38%),
    linear-gradient(332deg, var(--portrait-b), transparent 48%);
  mix-blend-mode: screen;
  opacity: 0.38;
  pointer-events: none;
}

.portrait-card__media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 3, 20, 0.03) 42%, rgba(4, 3, 20, 0.2) 66%, rgba(4, 3, 20, 0.83) 100%),
    radial-gradient(ellipse at center, transparent 48%, rgba(3, 2, 14, 0.28) 100%);
  content: "";
  pointer-events: none;
}

.portrait-card__shine {
  position: absolute;
  z-index: 2;
  inset: -20% -35%;
  background: linear-gradient(
    112deg,
    transparent 38%,
    rgba(218, 232, 255, 0.04) 44%,
    rgba(255, 255, 255, 0.34) 49%,
    rgba(145, 232, 255, 0.12) 53%,
    transparent 60%
  );
  opacity: 0;
  transform: translateX(-38%);
  mix-blend-mode: screen;
  pointer-events: none;
  transition:
    transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 420ms ease;
}

.portrait-card.is-active .portrait-card__shine {
  opacity: 0.62;
  transform: translateX(38%);
}

.portrait-card__index,
.portrait-card__zoom,
.portrait-card__bar {
  position: absolute;
  z-index: 3;
}

.portrait-card__index {
  top: 13px;
  left: 13px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(8, 7, 31, 0.3);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.13em;
  backdrop-filter: blur(10px);
}

.portrait-card__zoom {
  top: 12px;
  right: 12px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  background: rgba(7, 6, 26, 0.32);
  opacity: 0;
  transform: translateY(-4px);
  backdrop-filter: blur(10px);
  transition:
    opacity 320ms ease,
    transform 320ms ease;
}

.portrait-card__zoom svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
}

.portrait-card.is-active .portrait-card__zoom {
  opacity: 1;
  transform: translateY(0);
}

.portrait-card__bar {
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  min-height: 58px;
  padding: 10px 12px 11px;
  background: linear-gradient(100deg, var(--portrait-bar-a), var(--portrait-bar-b));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 -12px 32px rgba(3, 3, 14, 0.16);
}

.portrait-card.is-active .portrait-card__bar {
  min-height: 58px;
  padding: 10px 12px 11px;
}

.portrait-card__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.portrait-card__copy strong {
  overflow: hidden;
  font-size: clamp(13px, 0.92vw, 18px);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.16);
}

.portrait-card.is-active .portrait-card__copy strong {
  font-size: clamp(13px, 0.92vw, 18px);
}

.portrait-card__copy small {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(6.5px, 0.46vw, 9px);
  letter-spacing: 0.015em;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portrait-card__stats {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-end;
  gap: 7px;
}

.portrait-card__format {
  display: inline-flex;
  height: 22px;
  align-items: center;
  padding: 0 7px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.94);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: rgba(18, 15, 58, 0.12);
}

.portrait-card__stats > strong {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #ffc0e6;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.portrait-card__stats > strong svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.portrait-gallery__hint {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  color: #797295;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.portrait-gallery__hint span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #8dffac;
  box-shadow: 0 0 9px rgba(103, 255, 142, 0.74);
}

.portrait-dialog {
  width: min(
    92vw,
    calc((100dvh - 110px) * var(--portrait-aspect, 0.5625) + 24px),
    560px
  );
  max-width: none;
  max-height: calc(100dvh - 20px);
  padding: 0;
  overflow: visible;
  border: 0;
  color: #f8f5ff;
  background: transparent;
}

.portrait-dialog::backdrop {
  background: rgba(2, 2, 10, 0.88);
  backdrop-filter: blur(20px) saturate(84%);
}

.portrait-dialog[open] {
  animation: dialog-in 320ms var(--ease-out);
}

.portrait-dialog__panel {
  position: relative;
  display: flex;
  width: 100%;
  max-height: calc(100dvh - 20px);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(193, 175, 255, 0.3);
  border-radius: 26px;
  background: #050610;
  box-shadow:
    0 48px 140px rgba(0, 0, 0, 0.8),
    0 0 90px rgba(92, 63, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.portrait-dialog__media {
  display: flex;
  min-height: 0;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(98, 63, 255, 0.17), transparent 62%),
    #04050d;
}

.portrait-dialog__media video {
  display: block;
  width: min(100%, calc((100dvh - 110px) * var(--portrait-aspect, 0.5625)));
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - 110px);
  aspect-ratio: var(--portrait-aspect, 0.5625);
  border-radius: 14px;
  object-fit: contain;
  background: #02030a;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5);
}

.portrait-dialog__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 24px 19px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(100deg, rgba(35, 23, 78, 0.98), rgba(9, 35, 56, 0.98));
}

.portrait-dialog__meta p {
  margin: 0 0 4px;
  color: #9f94c9;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.portrait-dialog__meta h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.portrait-dialog__meta > span {
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.portrait-dialog__close {
  position: absolute;
  z-index: 4;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(7, 7, 18, 0.72);
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.portrait-dialog__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1px;
  background: #f4f0ff;
}

.portrait-dialog__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.portrait-dialog__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.portrait-dialog__close:hover,
.portrait-dialog__close:focus-visible {
  border-color: rgba(146, 255, 176, 0.55);
  background: rgba(31, 26, 55, 0.9);
}

@media (max-width: 1100px) {
  .portrait-gallery__stage {
    min-height: clamp(430px, 58vh, 580px);
  }

  .portrait-gallery__track {
    height: clamp(300px, 42vh, 410px);
  }

  .portrait-gallery__watermark {
    font-size: 31vw;
  }
}

@media (max-width: 580px) {
  .portrait-gallery {
    gap: 12px;
    padding: 72px var(--page-pad) 22px;
  }

  .portrait-gallery__header {
    gap: 8px;
  }

  .portrait-gallery__kicker {
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    font-size: 7px;
    letter-spacing: 0.12em;
  }

  .portrait-gallery__kicker i {
    width: 24px;
  }

  .portrait-gallery h2 {
    font-size: clamp(31px, 8.3vw, 42px);
    line-height: 1.14;
  }

  .portrait-gallery__intro {
    font-size: 14px;
    line-height: 1.65;
  }

  .portrait-gallery__stage {
    min-height: clamp(440px, 61vh, 560px);
    margin-top: 22px;
  }

  .portrait-gallery__track {
    height: clamp(300px, 44vh, 380px);
  }

  .portrait-card__bar,
  .portrait-card.is-active .portrait-card__bar {
    min-height: 66px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    gap: 4px;
    padding: 8px 9px 9px;
  }

  .portrait-card__copy strong,
  .portrait-card.is-active .portrait-card__copy strong {
    font-size: 16px;
  }

  .portrait-card__copy small {
    font-size: 7.5px;
  }

  .portrait-card__stats {
    align-items: center;
    justify-content: space-between;
  }

  .portrait-card__format {
    height: 18px;
    padding: 0 6px;
    font-size: 6px;
  }

  .portrait-card__stats > strong {
    font-size: 8px;
  }

  .portrait-dialog__media {
    padding: 10px;
  }

  .portrait-dialog__media video {
    max-height: calc(100dvh - 146px);
    border-radius: 13px;
  }

  .portrait-dialog__meta {
    padding: 14px 16px 16px;
  }

  .portrait-dialog__meta > span {
    max-width: 46%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portrait-card,
  .portrait-card__button,
  .portrait-card__video,
  .portrait-card__shine,
  .portrait-card__zoom {
    transition: none;
  }
}

.deployment {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: min(100dvh, 1080px);
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(15px, 1.8vh, 22px);
  overflow: hidden;
  padding: clamp(84px, 9.2vh, 108px) var(--page-pad) 12px;
  color: #effaf1;
  background:
    radial-gradient(ellipse at 50% 25%, rgba(69, 247, 106, 0.09), transparent 52%),
    radial-gradient(ellipse at 12% 82%, rgba(39, 241, 159, 0.05), transparent 42%),
    linear-gradient(180deg, #020403 0%, #030a06 52%, #020403 100%);
}

.deployment__aura {
  position: absolute;
  z-index: 0;
  top: 43%;
  left: 50%;
  width: min(94vw, 1500px);
  height: min(68vh, 720px);
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse at 50% 50%, rgba(69, 247, 106, 0.12), rgba(39, 241, 159, 0.035) 44%, transparent 72%),
    radial-gradient(ellipse at 82% 64%, rgba(187, 254, 84, 0.055), transparent 38%);
  filter: blur(38px);
  pointer-events: none;
}

.deployment__grid {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image:
    linear-gradient(rgba(197, 255, 210, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 255, 210, 0.026) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 14%, transparent 78%);
  opacity: 0.55;
  pointer-events: none;
}

.deployment__watermark {
  position: absolute;
  z-index: 0;
  right: -0.04em;
  bottom: 0;
  color: transparent;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: clamp(110px, 18vw, 320px);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 0.78;
  pointer-events: none;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(69, 247, 106, 0.065);
}

.deployment__header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.deployment__kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 11px;
  margin: 0;
  color: #748078;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.deployment__kicker span {
  color: var(--accent);
  font-size: 10px;
  text-shadow: 0 0 16px rgba(69, 247, 106, 0.55);
}

.deployment__kicker i {
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, rgba(69, 247, 106, 0.6), transparent);
}

.deployment h2 {
  max-width: min(96vw, 1320px);
  margin: 0;
  font-size: clamp(38px, 4.6vw, 74px);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 1.04;
  text-wrap: balance;
}

.deployment h2 span {
  color: transparent;
  background: linear-gradient(92deg, #bbfe54 0%, #27f19f 58%, #9dffb4 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 42px rgba(69, 247, 106, 0.14);
}

.deployment__intro {
  max-width: 780px;
  margin: 0;
  color: #91a096;
  font-size: clamp(13px, 1.02vw, 17px);
  letter-spacing: 0.045em;
  line-height: 1.7;
}

.deployment__cards {
  position: relative;
  z-index: 2;
  display: grid;
  width: 90vw;
  max-width: 1560px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1vw, 18px);
  margin: 0 auto;
}

.deployment-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: clamp(382px, 48vh, 500px);
  overflow: hidden;
  border: 1px solid rgba(69, 247, 106, 0.18);
  border-radius: 16px;
  background: #071009;
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
  opacity: 0;
  filter: blur(5px);
  transform: translateY(24px);
  transition:
    opacity 620ms var(--ease-out),
    transform 620ms var(--ease-out),
    filter 620ms var(--ease-out),
    border-color 240ms ease,
    box-shadow 320ms ease;
  transition-delay:
    var(--deployment-delay, 0ms),
    var(--deployment-delay, 0ms),
    var(--deployment-delay, 0ms),
    0ms,
    0ms;
  backface-visibility: hidden;
}

.deployment.is-visible .deployment-card {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.deployment-card:hover,
.deployment-card:focus-within {
  border-color: rgba(69, 247, 106, 0.48);
  box-shadow:
    0 34px 78px rgba(0, 0, 0, 0.52),
    0 0 36px rgba(69, 247, 106, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.075);
  transform: translateY(-6px);
  transition-delay: 0ms;
}

.deployment-card__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background: #071009;
}

.deployment-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.86;
  filter: saturate(0.86) contrast(1.06) brightness(0.9);
  transform: scale(1.02);
  transition:
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 520ms ease;
}

.deployment-card:hover .deployment-card__media img,
.deployment-card:focus-within .deployment-card__media img {
  opacity: 0.96;
  filter: saturate(1.02) contrast(1.08) brightness(0.98);
  transform: scale(1.06);
}

.deployment-card__tint,
.deployment-card__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.deployment-card__tint {
  background:
    linear-gradient(154deg, rgba(69, 247, 106, 0.22), transparent 38%),
    radial-gradient(circle at 76% 18%, rgba(187, 254, 84, 0.12), transparent 38%);
  mix-blend-mode: screen;
  opacity: 0.62;
}

.deployment-card__shade {
  background:
    linear-gradient(180deg, rgba(2, 7, 4, 0.03) 0%, rgba(2, 7, 4, 0) 29%, rgba(2, 7, 4, 0.54) 55%, rgba(2, 7, 4, 0.98) 100%),
    linear-gradient(90deg, rgba(2, 8, 4, 0.5), transparent 52%);
}

.deployment-card__tag,
.deployment-card__index {
  position: absolute;
  z-index: 4;
  top: 16px;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-weight: 700;
  pointer-events: none;
}

.deployment-card__tag {
  left: 16px;
  display: inline-flex;
  height: 24px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(69, 247, 106, 0.48);
  border-radius: 5px;
  color: rgba(225, 255, 232, 0.9);
  background: rgba(2, 7, 4, 0.82);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.32);
  font-size: 8.5px;
  letter-spacing: 0.09em;
  backdrop-filter: blur(9px);
}

.deployment-card__index {
  right: 16px;
  color: rgba(170, 255, 186, 0.82);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.deployment-card__glyph {
  position: absolute;
  z-index: 3;
  top: 40%;
  left: 50%;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: rgba(241, 255, 244, 0.9);
  background: rgba(3, 8, 4, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 10px 30px rgba(0, 0, 0, 0.24);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(12px);
  transition:
    color 240ms ease,
    border-color 240ms ease,
    background 240ms ease,
    box-shadow 280ms ease,
    transform 320ms var(--ease-out);
  pointer-events: none;
}

.deployment-card__glyph svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.deployment-card:hover .deployment-card__glyph,
.deployment-card:focus-within .deployment-card__glyph {
  border-color: rgba(69, 247, 106, 0.68);
  color: #dcffdf;
  background: rgba(69, 247, 106, 0.17);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 30px rgba(69, 247, 106, 0.23);
  transform: translate(-50%, -50%) scale(1.08);
}

.deployment-card__content {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 clamp(16px, 1.3vw, 22px) clamp(16px, 1.35vw, 22px);
}

.deployment-card__eyebrow {
  margin: 0;
  color: #84ff9d;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.deployment-card h3 {
  min-height: 2.6em;
  margin: 0;
  color: #f5fff6;
  font-size: clamp(19px, 1.4vw, 25px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.3;
  text-wrap: balance;
}

.deployment-card__desc {
  min-height: 2.9em;
  margin: 0;
  color: rgba(220, 243, 224, 0.62);
  font-size: clamp(10px, 0.78vw, 12px);
  letter-spacing: 0.02em;
  line-height: 1.55;
}

.deployment-card__actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.deployment-card__button {
  display: inline-flex;
  min-width: 0;
  height: 40px;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  overflow: hidden;
  border-radius: 9px;
  font-size: clamp(10px, 0.78vw, 12px);
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 260ms ease,
    transform 240ms var(--ease-out);
}

.deployment-card__button svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.deployment-card__button--detail {
  border: 1px solid rgba(69, 247, 106, 0.3);
  color: #caffd2;
  background: rgba(2, 7, 4, 0.56);
  backdrop-filter: blur(9px);
}

.deployment-card__button--detail:hover,
.deployment-card__button--detail:focus-visible {
  border-color: rgba(69, 247, 106, 0.7);
  color: #effff2;
  background: rgba(69, 247, 106, 0.12);
  box-shadow: 0 0 22px rgba(69, 247, 106, 0.14);
  outline: none;
  transform: translateY(-1px);
}

.deployment-card__button--contact {
  border: 1px solid rgba(187, 254, 84, 0.6);
  color: #041208;
  background: linear-gradient(100deg, #bbfe54 0%, #27f19f 100%);
  box-shadow: 0 8px 24px rgba(39, 241, 159, 0.18);
}

.deployment-card__button--contact:hover,
.deployment-card__button--contact:focus-visible {
  border-color: rgba(205, 255, 164, 0.9);
  color: #020a05;
  background: linear-gradient(100deg, #d2ff82 0%, #4dffb4 100%);
  box-shadow: 0 12px 30px rgba(39, 241, 159, 0.28);
  outline: none;
  transform: translateY(-1px);
}

.deployment__hint {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  color: #5e6a61;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.deployment__hint span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(69, 247, 106, 0.75);
}

@media (max-width: 1000px) {
  .deployment__cards {
    max-width: 760px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .deployment-card {
    min-height: 430px;
  }

  .deployment-card h3 {
    font-size: clamp(21px, 2.7vw, 26px);
  }

  .deployment-card__desc {
    font-size: 12px;
  }

  .deployment-card__button {
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .deployment {
    gap: 16px;
    padding: 72px 16px 12px;
  }

  .deployment__kicker {
    gap: 7px;
    font-size: 7px;
    letter-spacing: 0.12em;
  }

  .deployment__kicker i {
    width: 24px;
  }

  .deployment h2 {
    max-width: 96vw;
    font-size: clamp(31px, 8.4vw, 44px);
    line-height: 1.12;
  }

  .deployment__intro {
    font-size: 13px;
    line-height: 1.65;
  }

  .deployment__cards {
    width: min(90vw, 430px);
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .deployment-card {
    min-height: 438px;
  }

  .deployment-card h3 {
    font-size: 22px;
  }

  .deployment-card__desc {
    font-size: 11.5px;
  }

  .deployment-card__button {
    height: 42px;
    font-size: 11.5px;
  }

  .deployment__watermark {
    font-size: 30vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .deployment-card,
  .deployment-card__media img,
  .deployment-card__button {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }

  .deployment-card__glyph {
    transition: none;
  }

  .deployment-card:hover,
  .deployment-card:focus-within {
    transform: none;
  }

  .deployment-card:hover .deployment-card__glyph,
  .deployment-card:focus-within .deployment-card__glyph {
    transform: translate(-50%, -50%);
  }
}

/* Seventh screen cards use the site's existing glass-card language. */
.deployment__cards {
  width: 90vw;
  max-width: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0 calc(50% - 45vw);
}

.deployment-card {
  min-height: clamp(360px, 38vh, 390px);
  flex-direction: column;
  overflow: hidden;
  padding: clamp(24px, 1.7vw, 32px);
  border: 1px solid rgba(69, 247, 106, 0.13);
  border-radius: 22px;
  background:
    linear-gradient(
      155deg,
      rgba(69, 247, 106, 0.055),
      rgba(255, 255, 255, 0.022) 43%,
      rgba(255, 255, 255, 0.014)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 24px 60px rgba(0, 0, 0, 0.24);
  transition:
    opacity 620ms var(--ease-out),
    transform 380ms var(--ease-out),
    filter 620ms var(--ease-out),
    border-color 260ms ease,
    background 300ms ease,
    box-shadow 300ms ease;
  transition-delay:
    var(--deployment-delay, 0ms),
    var(--deployment-delay, 0ms),
    var(--deployment-delay, 0ms),
    0ms,
    0ms,
    0ms;
}

.deployment.is-visible .deployment-card {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.deployment-card:hover,
.deployment-card:focus-within {
  border-color: rgba(69, 247, 106, 0.34);
  background:
    linear-gradient(
      155deg,
      rgba(69, 247, 106, 0.085),
      rgba(255, 255, 255, 0.03) 43%,
      rgba(255, 255, 255, 0.018)
    );
  box-shadow:
    0 32px 74px rgba(0, 0, 0, 0.32),
    0 0 34px rgba(69, 247, 106, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
  transition-delay: 0ms;
}

.deployment-card--featured {
  border-color: rgba(69, 247, 106, 0.28);
  background:
    linear-gradient(
      155deg,
      rgba(69, 247, 106, 0.09),
      rgba(69, 247, 106, 0.026) 44%,
      rgba(255, 255, 255, 0.016)
    );
  box-shadow:
    0 0 0 1px rgba(69, 247, 106, 0.045),
    0 24px 60px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.075);
}

.deployment-card__glow {
  position: absolute;
  top: -72px;
  right: -72px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(69, 247, 106, 0.095);
  filter: blur(48px);
  pointer-events: none;
  transition: background 300ms ease;
}

.deployment-card:hover .deployment-card__glow,
.deployment-card:focus-within .deployment-card__glow {
  background: rgba(69, 247, 106, 0.16);
}

.deployment-card__icon {
  position: relative;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(69, 247, 106, 0.24);
  border-radius: 13px;
  color: var(--accent-soft);
  background: rgba(69, 247, 106, 0.075);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 0 24px rgba(69, 247, 106, 0.055);
  transition:
    border-color 240ms ease,
    color 240ms ease,
    background 240ms ease,
    box-shadow 280ms ease;
}

.deployment-card__icon svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.deployment-card:hover .deployment-card__icon,
.deployment-card:focus-within .deployment-card__icon {
  border-color: rgba(69, 247, 106, 0.46);
  color: #dfffe5;
  background: rgba(69, 247, 106, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 26px rgba(69, 247, 106, 0.13);
}

.deployment-card__eyebrow {
  position: relative;
  z-index: 2;
  margin: clamp(25px, 3vh, 34px) 0 0;
  color: #6f7c73;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
}

.deployment-card__eyebrow span {
  color: var(--accent);
  text-shadow: 0 0 14px rgba(69, 247, 106, 0.5);
}

.deployment-card h3 {
  position: relative;
  z-index: 2;
  min-height: 0;
  margin: 9px 0 0;
  color: #f5fff6;
  font-size: clamp(19px, 1.35vw, 24px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.34;
  text-wrap: balance;
}

.deployment-card__desc {
  position: relative;
  z-index: 2;
  min-height: 84px;
  margin: 12px 0 0;
  color: rgba(193, 212, 198, 0.5);
  font-size: clamp(12px, 0.86vw, 13px);
  letter-spacing: 0.01em;
  line-height: 1.8;
}

.deployment-card__actions {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.deployment-card__button {
  height: 42px;
  border-radius: 10px;
  font-size: clamp(10px, 0.78vw, 12px);
}

@media (max-width: 1000px) {
  .deployment__cards {
    width: 90vw;
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .deployment-card {
    min-height: 360px;
  }

  .deployment-card h3 {
    font-size: clamp(21px, 2.6vw, 26px);
  }

  .deployment-card__desc {
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .deployment__cards {
    width: 90vw;
    max-width: none;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .deployment-card {
    min-height: 320px;
    padding: 24px;
  }

  .deployment-card h3 {
    font-size: 22px;
  }

  .deployment-card__desc {
    min-height: 0;
  }

  .deployment-card__actions {
    margin-top: 26px;
  }

  .deployment-card__button {
    height: 42px;
    font-size: 11.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .deployment-card,
  .deployment-card:hover,
  .deployment-card:focus-within,
  .deployment-card__button {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }

  .deployment-card__glow,
  .deployment-card__icon {
    transition: none;
  }
}

/* Closing call-to-action beneath the deployment cards. */
.deployment__cta {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: clamp(7px, 1vh, 12px);
  margin-top: clamp(4px, 0.8vh, 10px);
  text-align: center;
}

.deployment__slogan {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.2vw, 18px);
  margin: 0;
  color: #baffc8;
  font-size: clamp(14px, 1.05vw, 18px);
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-shadow: 0 0 24px rgba(69, 247, 106, 0.22);
}

.deployment__slogan span {
  width: clamp(24px, 3.2vw, 56px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(69, 247, 106, 0.68));
}

.deployment__slogan span:last-child {
  transform: scaleX(-1);
}

.deployment__cta-title {
  max-width: min(94vw, 1280px);
  margin: 0;
  color: #f6fff8;
  font-size: clamp(28px, 3.15vw, 54px);
  font-weight: 760;
  letter-spacing: -0.05em;
  line-height: 1.12;
  text-wrap: balance;
}

.deployment__cta-title span {
  color: transparent;
  background: linear-gradient(94deg, #e9ffd0 0%, #7dff9b 48%, #27f19f 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 38px rgba(69, 247, 106, 0.16);
}

.deployment__arrow {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--accent);
  filter: drop-shadow(0 0 12px rgba(69, 247, 106, 0.35));
  animation: deployment-arrow-bounce 1.7s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  pointer-events: none;
}

.deployment__arrow svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes deployment-arrow-bounce {
  0%,
  100% {
    opacity: 0.72;
    transform: translateY(-4px);
  }

  50% {
    opacity: 1;
    transform: translateY(7px);
  }
}

.deployment__start {
  display: inline-flex;
  min-width: 196px;
  height: 56px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 34px;
  border: 1px solid rgba(205, 255, 164, 0.72);
  border-radius: 999px;
  color: #031008;
  background: linear-gradient(100deg, #bbfe54 0%, #27f19f 100%);
  box-shadow:
    0 18px 46px rgba(39, 241, 159, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
  font-size: 16px;
  font-weight: 760;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  transition:
    background 240ms ease,
    box-shadow 260ms ease,
    transform 260ms var(--ease-out);
}

.deployment__start svg {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.deployment__start:hover,
.deployment__start:focus-visible {
  outline: none;
  background: linear-gradient(100deg, #d2ff82 0%, #4dffb4 100%);
  box-shadow:
    0 24px 56px rgba(39, 241, 159, 0.34),
    0 0 0 5px rgba(69, 247, 106, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transform: translateY(-3px);
}

.deployment__start:focus-visible {
  box-shadow:
    0 24px 56px rgba(39, 241, 159, 0.34),
    0 0 0 3px #020403,
    0 0 0 5px rgba(187, 254, 84, 0.8);
}

@media (max-width: 640px) {
  .deployment__cta {
    gap: 8px;
    margin-top: 6px;
  }

  .deployment__slogan {
    gap: 8px;
    font-size: 13px;
    letter-spacing: 0.12em;
  }

  .deployment__slogan span {
    width: 18px;
  }

  .deployment__cta-title {
    max-width: 92vw;
    font-size: clamp(25px, 7.2vw, 31px);
    line-height: 1.2;
  }

  .deployment__arrow {
    width: 34px;
    height: 34px;
  }

  .deployment__start {
    min-width: 180px;
    height: 52px;
    padding: 0 28px;
    font-size: 15px;
  }
}

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

  .deployment__start {
    transition: none;
  }

  .deployment__start:hover,
  .deployment__start:focus-visible {
    transform: none;
  }
}

/* Site footer beneath the seventh screen. */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 35px var(--page-pad) 30px;
  border-top: 1px solid rgba(69, 247, 106, 0.13);
  color: #dcefe1;
  background:
    radial-gradient(ellipse at 18% 0%, rgba(69, 247, 106, 0.08), transparent 42%),
    linear-gradient(180deg, #020604 0%, #030906 54%, #010302 100%);
}

.site-footer::before {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 50%;
  width: min(64vw, 980px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(69, 247, 106, 0.68), transparent);
  transform: translateX(-50%);
  content: "";
}

.site-footer__glow {
  position: absolute;
  z-index: -1;
  top: -260px;
  left: 6%;
  width: min(52vw, 760px);
  height: 460px;
  border-radius: 50%;
  background: rgba(69, 247, 106, 0.055);
  filter: blur(90px);
  pointer-events: none;
}

.site-footer__inner {
  width: 90vw;
  margin: 0 auto;
}

.site-footer__top {
  --footer-column-gap: clamp(28px, 4vw, 64px);
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(280px, 1.25fr);
  gap: var(--footer-column-gap);
  padding-bottom: 35px;
}

.site-footer__top > * {
  position: relative;
  min-width: 0;
}

.site-footer__top > *:not(:first-child)::before {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: calc(var(--footer-column-gap) / -2 - 0.5px);
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(69, 247, 106, 0.08), transparent);
  content: "";
  pointer-events: none;
}

.site-footer__intro {
  min-width: 0;
}

.site-footer__brand {
  text-decoration: none;
  transition: opacity 200ms ease;
}

.site-footer__brand:hover,
.site-footer__brand:focus-visible {
  opacity: 0.86;
}

.site-footer__brand .brand__copy strong {
  font-size: 22px;
  letter-spacing: -0.03em;
}

.site-footer__brand .brand__copy small {
  margin-top: 3px;
  color: #65776a;
  font-size: 9px;
  letter-spacing: 0.18em;
}

.site-footer__tagline {
  max-width: 320px;
  margin: 18px 0 0;
  color: rgba(213, 235, 218, 0.58);
  font-size: 13px;
  letter-spacing: 0.03em;
  line-height: 1.8;
}

.site-footer__status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 20px 0 0;
  color: rgba(155, 199, 165, 0.44);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.site-footer__status span {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(69, 247, 106, 0.72);
}

.site-footer__column {
  min-width: 0;
}

.site-footer__column h2 {
  margin: 4px 0 16px;
  color: #f0fff3;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.site-footer__links {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  justify-content: start;
  gap: 10px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__contact {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  justify-content: start;
  align-items: start;
  gap: 16px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #83948a;
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
  transition: color 200ms ease;
}

.site-footer__links a::before {
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 1px;
  background: var(--accent);
  opacity: 0;
  transform: scaleX(0.2);
  transform-origin: left center;
  transition:
    opacity 180ms ease,
    transform 220ms var(--ease-out);
  content: "";
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: #c5ffd2;
}

.site-footer__links a:hover::before,
.site-footer__links a:focus-visible::before {
  opacity: 1;
  transform: scaleX(1);
}

.site-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.site-footer__contact-item--address {
  grid-column: 1 / -1;
}

.site-footer__contact-icon {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  place-items: center;
  border: 1px solid rgba(69, 247, 106, 0.16);
  border-radius: 9px;
  color: #88ff9f;
  background: rgba(69, 247, 106, 0.045);
}

.site-footer__contact-icon svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer__contact-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
  color: #a3b4a9;
  font-size: 13px;
  font-style: normal;
  line-height: 1.65;
}

.site-footer__contact-copy small {
  color: #7f9285;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.site-footer__contact-copy a {
  width: fit-content;
  color: #d6e8db;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-footer__contact-copy a:hover,
.site-footer__contact-copy a:focus-visible {
  color: var(--accent-soft);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.065);
  color: #536259;
  font-size: 11px;
  line-height: 1.6;
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__bottom a {
  color: #5d7064;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-footer__bottom a:hover,
.site-footer__bottom a:focus-visible {
  color: #a7ffb8;
}

@media (max-width: 1200px) {
  .site-footer__top {
    --footer-column-gap: 30px;
    grid-template-columns: minmax(190px, 0.9fr) minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(260px, 1.2fr);
    gap: 30px;
  }

  .site-footer__contact {
    column-gap: 10px;
  }

  .site-footer__contact-copy a {
    font-size: 13px;
  }
}

@media (max-width: 1100px) {
  .site-footer__top {
    --footer-column-gap: 54px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 54px;
  }

  .site-footer__column--contact {
    grid-column: 2;
  }
}

@media (min-width: 641px) and (max-width: 1100px) {
  .site-footer__top > :nth-child(3)::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 35px var(--page-pad) 26px;
  }

  .site-footer__inner {
    width: 90vw;
  }

  .site-footer__top {
    --footer-column-gap: 36px;
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 35px;
  }

  .site-footer__top > *:not(:first-child)::before {
    top: -18px;
    right: 0;
    bottom: auto;
    left: 0;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(69, 247, 106, 0.08), transparent);
  }

  .site-footer__column--contact {
    grid-column: auto;
  }

  .site-footer__column h2 {
    margin-bottom: 17px;
  }

  .site-footer__links {
    gap: 10px 24px;
  }

  .site-footer__contact {
    gap: 18px;
  }

  .site-footer__bottom {
    align-items: center;
    flex-direction: column;
    gap: 6px;
    padding-top: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer__brand,
  .site-footer__links a,
  .site-footer__links a::before,
  .site-footer__contact-copy a,
  .site-footer__bottom a {
    transition: none;
  }
}



