/* =========================================================
   云怀科技 YUNHUAI — 官网样式
   现代化 · 抽象 · 极简
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg: #07080d;
  --bg-soft: #0b0d15;
  --surface: rgba(255, 255, 255, .035);
  --text: #eef0f7;
  --muted: #99a0b5;
  --dim: #6b7288;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);

  --mint: #7cf5d4;
  --violet: #7cff7c;
  --pink: #588aff;
  --amber: #ffc46b;

  --grad: linear-gradient(120deg, var(--mint) 0%, var(--violet) 52%, var(--pink) 100%);
  --grad-soft: linear-gradient(120deg, rgba(124,245,212,.16), rgba(139,124,255,.16) 50%, rgba(255,122,182,.16));

  --radius: 20px;
  --radius-sm: 12px;
  --maxw: 1200px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --font: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "PingFang SC",
          "HarmonyOS Sans SC", "Source Han Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", "Cascadia Mono", Menlo, Consolas, monospace;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  letter-spacing: .01em;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

/* ---------- Utilities ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.only-desktop { display: inline; }

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

em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Ambient layers ---------- */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 9998;
  pointer-events: none;
  opacity: .3;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='140' height='140' filter='url(%23n)' opacity='.42'/></svg>");
  mix-blend-mode: overlay;
  animation: grain 6s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 1%); }
}

.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 460px; height: 460px;
  margin: -230px 0 0 -230px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity .5s var(--ease);
  background: radial-gradient(circle, rgba(139,124,255,.13) 0%, rgba(124,245,212,.06) 38%, transparent 68%);
  will-change: transform;
}

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--grad);
  z-index: 9999;
  opacity: .85;
}

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 14px;
  --pad-x: 26px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease),
              background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform .4s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.975); }

.btn--primary {
  color: #06070b;
  background: var(--grad);
  background-size: 160% 160%;
  box-shadow: 0 10px 34px -12px rgba(139, 124, 255, .7);
  font-weight: 600;
}
.btn--primary:hover {
  background-position: 100% 50%;
  box-shadow: 0 16px 44px -12px rgba(139, 124, 255, .9);
  transform: translateY(-2px);
}

.btn--line {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, .02);
  backdrop-filter: blur(8px);
}
.btn--line:hover { border-color: rgba(255, 255, 255, .38); background: rgba(255, 255, 255, .06); transform: translateY(-2px); }

.btn--ghost {
  border: 1px solid var(--line);
  color: var(--text);
}
.btn--ghost:hover { border-color: rgba(124, 245, 212, .55); color: #fff; }
.btn--sm { --pad-y: 10px; --pad-x: 18px; font-size: 14px; }
.btn--lg { --pad-y: 18px; --pad-x: 36px; font-size: 16.5px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 18px 0;
  transition: padding .5s var(--ease), background-color .5s var(--ease),
              border-color .5s var(--ease), backdrop-filter .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  padding: 10px 0;
  background: rgba(7, 8, 13, .62);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { width: 300px; height: auto; color: rgba(255, 255, 255, .82); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text b { font-size: 16.5px; font-weight: 600; letter-spacing: .06em; }
.brand__text i {
  font-style: normal;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .34em;
  color: var(--dim);
}

.nav__links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__links a {
  position: relative;
  padding: 9px 15px;
  font-size: 14.5px;
  color: var(--muted);
  border-radius: 999px;
  transition: color .3s var(--ease), background-color .3s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 5px;
  height: 1px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .45s var(--ease-out);
}
.nav__links a:hover, .nav__links a.is-active { color: #fff; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }

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

.nav__burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  place-items: center;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav__burger span {
  display: block;
  width: 17px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .4s var(--ease-out), opacity .3s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  overflow: hidden;
  isolation: isolate;
}

.aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
  will-change: transform;
}
.orb--1 {
  width: 46vw; height: 46vw; min-width: 380px; min-height: 380px;
  top: -12%; left: -8%;
  background: radial-gradient(circle at 35% 35%, rgba(124,245,212,.7), rgba(124,245,212,0) 68%);
  animation: float1 22s ease-in-out infinite;
}
.orb--2 {
  width: 44vw; height: 44vw; min-width: 360px; min-height: 360px;
  top: 4%; right: -10%;
  background: radial-gradient(circle at 60% 40%, rgba(139,124,255,.75), rgba(139,124,255,0) 68%);
  animation: float2 26s ease-in-out infinite;
}
.orb--3 {
  width: 38vw; height: 38vw; min-width: 300px; min-height: 300px;
  bottom: -18%; left: 26%;
  background: radial-gradient(circle at 50% 50%, rgba(255,122,182,.5), rgba(255,122,182,0) 70%);
  animation: float3 30s ease-in-out infinite;
}
@keyframes float1 { 0%,100%{transform:translate3d(0,0,0) scale(1)} 50%{transform:translate3d(6%,8%,0) scale(1.12)} }
@keyframes float2 { 0%,100%{transform:translate3d(0,0,0) scale(1)} 50%{transform:translate3d(-8%,6%,0) scale(1.08)} }
@keyframes float3 { 0%,100%{transform:translate3d(0,0,0) scale(1)} 50%{transform:translate3d(5%,-9%,0) scale(1.14)} }

.grid-floor {
  position: absolute;
  inset: auto -20% -30% -20%;
  height: 62vh;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 68px 68px;
  transform: perspective(620px) rotateX(66deg);
  transform-origin: 50% 100%;
  mask-image: linear-gradient(to top, rgba(0,0,0,.9), transparent 72%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,.9), transparent 72%);
  animation: gridmove 14s linear infinite;
}
@keyframes gridmove { to { background-position: 0 68px, 68px 0; } }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120% 80% at 50% 0%, transparent 40%, rgba(7,8,13,.75) 100%);
}

.hero__content { position: relative; width: 100%; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  backdrop-filter: blur(10px);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 30px;
}
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(124, 245, 212, .16);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0%,100%{opacity:1; transform:scale(1)} 50%{opacity:.45; transform:scale(.8)} }

.hero__title {
  font-size: clamp(2.9rem, 8.2vw, 6.6rem);
  line-height: 1.04;
  font-weight: 650;
  letter-spacing: -.035em;
  max-width: 15ch;
}
.hero__title .line { display: block; overflow: hidden; }

.hero__sub {
  margin-top: 30px;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: var(--muted);
  max-width: 46ch;
  line-height: 1.95;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 42px; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 78px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.hero__stats dt {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__stats dd {
  margin-top: 6px;
  font-size: 12.5px;
  letter-spacing: .12em;
  color: var(--dim);
  text-transform: uppercase;
  font-family: var(--mono);
}

.hero__scroll {
  position: absolute;
  right: 26px; bottom: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--dim);
}
.hero__scroll i {
  display: block;
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, var(--line-strong), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--mint);
  animation: scrolldown 2.2s var(--ease) infinite;
}
@keyframes scrolldown { 0%{transform:translateY(-100%)} 60%,100%{transform:translateY(100%)} }

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  padding: 26px 0;
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
.marquee__group span {
  font-size: 15px;
  letter-spacing: .1em;
  color: var(--muted);
  white-space: nowrap;
  transition: color .3s;
}
.marquee__group span:hover { color: #fff; }
.marquee__group i {
  font-style: normal;
  font-size: 8px;
  color: rgba(139, 124, 255, .8);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 132px 0; }
.section--alt {
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(139, 124, 255, .07), transparent 62%),
    var(--bg-soft);
  border-block: 1px solid var(--line);
}

.sec-head { max-width: 720px; margin-bottom: 68px; }
.sec-head:not(.sec-head--left) { margin-inline: auto; text-align: center; }
.sec-head--left { max-width: 620px; }

.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 22px;
  padding-left: 26px;
  position: relative;
}
.tag::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 16px; height: 1px;
  background: var(--grad);
}

.h2 {
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  line-height: 1.16;
  font-weight: 620;
  letter-spacing: -.03em;
}
.h2--xl { font-size: clamp(2.4rem, 6.4vw, 5rem); line-height: 1.08; }

.sec-desc { margin-top: 22px; color: var(--muted); font-size: 1.05rem; }

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 72px;
  align-items: start;
}
.about__left { position: sticky; top: 130px; }
.about__right p { color: var(--muted); }
.about__right .lead {
  font-size: clamp(1.1rem, 1.9vw, 1.4rem);
  line-height: 1.85;
  color: #d4d8e6;
  font-weight: 400;
}
.about__right p + p { margin-top: 22px; }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.pill-row li {
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--muted);
  background: rgba(255, 255, 255, .02);
  transition: border-color .4s var(--ease), color .4s var(--ease), transform .4s var(--ease-out);
}
.pill-row li:hover { border-color: rgba(124, 245, 212, .5); color: #fff; transform: translateY(-3px); }

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  position: relative;
  padding: 36px 30px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  overflow: hidden;
  transition: transform .6s var(--ease-out), border-color .5s var(--ease), box-shadow .6s var(--ease-out);
  will-change: transform;
}
.card__glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%),
              rgba(139, 124, 255, .18), rgba(124, 245, 212, .08) 42%, transparent 68%);
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.card:hover {
  border-color: rgba(255, 255, 255, .2);
  box-shadow: 0 28px 70px -34px rgba(0, 0, 0, .9);
  transform: translateY(-6px);
}
.card:hover .card__glow { opacity: 1; }

.card__idx {
  position: absolute;
  top: 26px; right: 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .18);
}
.card__icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: var(--grad-soft);
  color: var(--mint);
  margin-bottom: 26px;
  transition: transform .55s var(--ease-out), border-color .45s;
}
.card__icon svg { width: 25px; height: 25px; }
.card:hover .card__icon { transform: translateY(-3px) rotate(-4deg); border-color: rgba(124, 245, 212, .45); }

.card h3 {
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 12px;
}
.card > p { color: var(--muted); font-size: 14.8px; line-height: 1.85; }
.card ul {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.card ul li {
  font-size: 12.5px;
  color: var(--dim);
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .05);
  transition: color .3s, border-color .3s;
}
.card:hover ul li { color: var(--muted); border-color: var(--line); }

/* ---------- Capability ---------- */
.capability { display: grid; gap: 60px; }
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.cap-item {
  padding: 38px 28px;
  background: var(--bg);
  transition: background-color .5s var(--ease);
  position: relative;
}
.cap-item::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .6s var(--ease-out);
}
.cap-item:hover { background: rgba(255, 255, 255, .03); }
.cap-item:hover::before { transform: scaleX(1); }
.cap-item__num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--mint);
  display: inline-block;
  margin-bottom: 20px;
  transition: transform .5s var(--ease-out);
}
.cap-item:hover .cap-item__num { transform: translateX(6px); }
.cap-item h3 { font-size: 1.06rem; font-weight: 600; margin-bottom: 10px; }
.cap-item p { font-size: 14px; color: var(--dim); line-height: 1.8; }

.band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding: 44px 40px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(80% 140% at 10% 0%, rgba(124,245,212,.1), transparent 58%),
    radial-gradient(80% 140% at 92% 100%, rgba(255,122,182,.1), transparent 58%),
    rgba(255, 255, 255, .025);
  backdrop-filter: blur(12px);
}
.band__item b {
  display: block;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 620;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.band__item span {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  letter-spacing: .14em;
  color: var(--dim);
  font-family: var(--mono);
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 32px 26px 34px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
  transition: transform .55s var(--ease-out), border-color .45s, background-color .45s;
}
.step:hover { transform: translateY(-6px); border-color: var(--line-strong); background: rgba(255,255,255,.045); }
.step__no {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--mint);
  background: rgba(124, 245, 212, .07);
  margin-bottom: 24px;
}
.step h3 { font-size: 1.18rem; font-weight: 600; margin-bottom: 10px; }
.step p { font-size: 14.2px; color: var(--dim); line-height: 1.8; }
.step::after {
  content: "";
  position: absolute;
  top: 50%; right: -22px;
  width: 22px; height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}
.step:last-child::after { display: none; }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; padding: 150px 0; }
.aurora--soft { opacity: .5; }
.contact__inner { position: relative; text-align: center; display: grid; justify-items: center; }
.contact .tag { padding-left: 0; }
.contact .tag::before { display: none; }

.contact__mail { margin-top: 34px; }
.contact__mail a {
  font-size: clamp(1.1rem, 2.6vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--muted);
  position: relative;
  transition: color .4s var(--ease);
}
.contact__mail a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .55s var(--ease-out);
}
.contact__mail a:hover { color: #fff; }
.contact__mail a:hover::after { transform: scaleX(1); }

.contact__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 46px 0 40px;
}
.contact__meta div {
  padding: 14px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .025);
  backdrop-filter: blur(8px);
  text-align: left;
}
.contact__meta span {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 5px;
}
.contact__meta b { font-size: 14.5px; font-weight: 500; color: var(--text); }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  border-top: 1px solid var(--line);
  background: #05060a;
  padding: 74px 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr;
  gap: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.brand--footer .brand__mark { color: rgba(255,255,255,.7); }
.footer__brand p { margin-top: 20px; color: var(--dim); font-size: 14.5px; max-width: 30ch; }

.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 500;
  margin-bottom: 20px;
}
.footer__col a {
  display: block;
  font-size: 14.5px;
  color: var(--muted);
  padding: 6px 0;
  transition: color .3s var(--ease), transform .35s var(--ease-out);
}
.footer__col a:hover { color: #fff; transform: translateX(4px); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 28px;
}
.copyright, .beian {
  font-size: 13px;
  color: var(--dim);
  font-family: var(--mono);
  letter-spacing: .04em;
}
.beian a {
  color: var(--dim);
  transition: color .3s var(--ease);
  position: relative;
}
.beian a:hover { color: var(--mint); }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: 0ms;
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step::after { display: none; }
  .band { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
  .about { grid-template-columns: 1fr; gap: 44px; }
  .about__left { position: static; }
}

@media (max-width: 860px) {
  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    margin: 0;
    background: rgba(6, 7, 12, .93);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s var(--ease), visibility .45s;
    z-index: -1;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; }
  .nav__links a { font-size: 1.5rem; padding: 12px 20px; color: var(--text); }
  .nav__links a::after { display: none; }
  .nav__burger { display: flex; z-index: 2; }
  .nav__actions .btn { display: none; }

  .hero { padding: 130px 0 80px; min-height: auto; }
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; margin-top: 54px; }
  .hero__scroll { display: none; }
  .only-desktop { display: none; }

  .section { padding: 92px 0; }
  .contact { padding: 100px 0; }
  .sec-head { margin-bottom: 48px; }

  .footer__top { grid-template-columns: 1fr; gap: 44px; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cursor-glow { display: none; }
}

@media (max-width: 560px) {
  .wrap { padding-inline: 18px; }
  .cards { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr 1fr; padding: 32px 24px; }
  .contact__meta { flex-direction: column; width: 100%; }
  .contact__meta div { width: 100%; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .btn--lg { width: 100%; justify-content: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .grain { display: none; }
}
