/* ═══════════════════════════════════════════════════════
   vercap.cn — 品牌主页
   极简 · 深色 · 单文件样式（无外部依赖）
   ═══════════════════════════════════════════════════════ */

:root {
  --bg: #0a0a0b;
  --bg-soft: #0f0f11;
  --ink: #f2eee6;
  --muted: #8b8780;
  --muted-dim: #7a766f;
  --line: rgba(242, 238, 230, 0.11);
  --line-strong: rgba(242, 238, 230, 0.22);
  --accent: #ff4d2e;
  --accent-dim: rgba(255, 77, 46, 0.14);

  --max: 1280px;
  --pad: 48px;

  --font-sans: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", "Cascadia Mono", ui-monospace, Menlo, Consolas,
    "Courier New", monospace;

  --ease: cubic-bezier(0.22, 0.68, 0.2, 1);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: #fff;
}

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

img,
svg {
  display: block;
}

.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  border-radius: 6px;
  transition: top 0.2s;
}
.skip:focus {
  top: 16px;
}

:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}

/* ── 背景层 ─────────────────────────────────────────── */

.grain,
.glow,
.grid-lines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.grain {
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.glow {
  background:
    radial-gradient(900px 520px at 82% -12%, rgba(255, 77, 46, 0.1), transparent 62%),
    radial-gradient(760px 480px at 8% 108%, rgba(120, 140, 190, 0.07), transparent 65%);
}

.grid-lines {
  background-image:
    linear-gradient(to right, rgba(242, 238, 230, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(242, 238, 230, 0.028) 1px, transparent 1px);
  background-size: 120px 120px;
  -webkit-mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, #000 10%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, #000 10%, transparent 78%);
}

/* ── 顶栏 ───────────────────────────────────────────── */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
  padding: 0 var(--pad);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
}

.topbar.is-scrolled {
  background: rgba(10, 10, 11, 0.72);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.mark {
  width: 22px;
  height: 22px;
  color: var(--ink);
}

.wordmark {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-dim);
  letter-spacing: 0.04em;
  margin-left: -4px;
  margin-top: 4px;
}

.nav {
  display: flex;
  gap: 40px;
  font-size: 13.5px;
  color: var(--muted);
}

.nav a {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  transition: color 0.25s;
}

.nav a:hover {
  color: var(--ink);
}

.nav-num {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--muted-dim);
}

.clock {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.clock .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #58c98a;
  box-shadow: 0 0 0 3px rgba(88, 201, 138, 0.14);
  animation: pulse 3.2s infinite;
}

.clock-zone {
  font-size: 9.5px;
  color: var(--muted-dim);
  letter-spacing: 0.12em;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* ── 通用 ───────────────────────────────────────────── */

main,
.footer {
  position: relative;
  z-index: 1;
}

section {
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  padding-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.18em;
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.section-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.section-head p {
  margin: 0 0 2px;
  font-size: 13px;
  color: var(--muted);
  max-width: 30em;
  text-align: right;
  text-wrap: pretty;
}

/* ── HERO ───────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100svh;
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 180px;
  padding-bottom: 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(46px, 7.6vw, 118px);
  font-weight: 500;
  line-height: 0.99;
  letter-spacing: -0.035em;
}

.hero h1 .dim {
  color: var(--muted);
}

.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: end;
  margin-top: clamp(56px, 8vh, 96px);
  max-width: 1020px;
}

.lede {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 32em;
  text-wrap: pretty;
}

.lede .ln {
  display: inline;
}

.spec {
  margin: 0;
  border-top: 1px solid var(--line);
}

.spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.spec dt {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--muted-dim);
}

.spec dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.spec .unit {
  font-size: 13px;
  color: var(--muted);
  margin-left: 1px;
}

.scroll-hint {
  position: absolute;
  right: var(--pad);
  bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--muted-dim);
  writing-mode: vertical-rl;
}

.scroll-hint svg {
  width: 10px;
  height: 26px;
  color: var(--muted);
  animation: drift 2.6s var(--ease) infinite;
}

@keyframes drift {
  0%, 100% { transform: translateY(0); opacity: 0.9; }
  50% { transform: translateY(6px); opacity: 0.35; }
}

/* ── 入口通道 ───────────────────────────────────────── */

.index {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 120px;
  padding-bottom: 140px;
}

.feature-wrap {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.feature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 44px 20px 44px 8px;
  transition: background 0.45s var(--ease), padding 0.45s var(--ease);
}

.feature + .feature {
  border-top: 1px solid var(--line);
}

.feature:hover {
  background: linear-gradient(90deg, rgba(255, 77, 46, 0.08), rgba(255, 77, 46, 0.01) 62%, transparent);
  padding-left: 26px;
}

.feature-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.feature-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.feature-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted-dim);
  transition: color 0.3s;
}

.feature:hover .feature-num {
  color: var(--accent);
}

.feature-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dim);
}

.feature-name {
  font-size: clamp(32px, 3.6vw, 50px);
  font-weight: 450;
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--ink);
}

.feature-desc {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--muted);
}

.feature-arrow {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--muted);
  transition: all 0.4s var(--ease);
}

.feature-arrow svg {
  width: 24px;
  height: 24px;
}

.feature:hover .feature-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translate(2px, -2px);
}

.index-note {
  margin: 20px 0 0;
  font-size: 12.5px;
  color: var(--muted-dim);
}

.tag {
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
}

.tag-lock {
  color: var(--muted);
}

.tag-open {
  color: var(--ink);
  border-color: rgba(242, 238, 230, 0.28);
}

/* ── 说明 ───────────────────────────────────────────── */

.about {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 120px;
  padding-bottom: 140px;
  border-top: 1px solid var(--line);
}

.about-body {
  padding-top: 76px;
}

.statement {
  margin: 0;
  font-size: clamp(25px, 2.9vw, 36px);
  line-height: 1.5;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--ink);
  max-width: 920px;
}

.statement .line {
  display: block;
  text-wrap: pretty;
}

.statement .u {
  position: relative;
  color: var(--accent);
  white-space: nowrap;
}

.statement .u::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}

.principles {
  list-style: none;
  margin: 88px 0 0;
  padding: 40px 0 0;
  border-top: 1px solid var(--line-strong);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.principles li {
  margin: 0;
}

.p-num {
  display: block;
  margin-bottom: 26px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.principles h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.principles p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 26em;
}

/* ── 联络 ───────────────────────────────────────────── */

.contact {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 100px;
  padding-bottom: 160px;
}

.contact-inner {
  border-top: 1px solid var(--line);
  padding-top: 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 48px;
}

.contact .eyebrow {
  margin-bottom: 28px;
}

.contact h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.contact-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  font-size: 12.5px;
  color: var(--muted);
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.25s, border-color 0.25s;
  white-space: nowrap;
}

.contact-more svg {
  width: 13px;
  height: 13px;
}

.contact-more:hover {
  color: var(--ink);
  border-color: var(--accent);
}

.mail {
  display: inline-block;
  font-size: clamp(20px, 2.6vw, 32px);
  letter-spacing: -0.01em;
  color: var(--muted);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 6px;
  transition: color 0.3s, border-color 0.3s;
}

.mail:hover {
  color: var(--ink);
  border-color: var(--accent);
}

.contact-note {
  margin: 26px 0 0;
  font-size: 13px;
  color: var(--muted-dim);
}

/* ── 页脚 ───────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--line);
  padding: 48px var(--pad) 44px;
}

.footer-top,
.footer-bottom {
  max-width: calc(var(--max) - var(--pad) * 2);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 36px;
}

.brand-sm .mark {
  width: 18px;
  height: 18px;
}

.brand-sm .wordmark {
  font-size: 15px;
}

.footer-line {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.footer-bottom {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.copyright {
  margin: 0;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.beian {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  justify-content: flex-end;
}

.beian a {
  color: var(--muted);
  transition: color 0.25s;
}

.beian a:hover {
  color: var(--ink);
}

.beian .sep {
  color: var(--line-strong);
}

/* ── 滚动显现 ───────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}

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

/* ── 响应式 ─────────────────────────────────────────── */

@media (max-width: 1080px) {
  :root {
    --pad: 32px;
  }

  .hero-foot {
    grid-template-columns: 1fr;
    gap: 44px;
    max-width: 620px;
  }

  .spec {
    max-width: 380px;
  }

  .principles {
    gap: 28px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: start;
  }

  .contact-more {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  :root {
    --pad: 20px;
  }

  .topbar {
    height: 64px;
  }

  .nav {
    display: none;
  }

  .clock {
    font-size: 11.5px;
  }

  .hero {
    padding-top: 132px;
    padding-bottom: 72px;
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(30px, 8.7vw, 56px);
    letter-spacing: -0.04em;
  }

  .eyebrow {
    margin-bottom: 28px;
    font-size: 9.5px;
    letter-spacing: 0.12em;
  }

  .hero-foot {
    margin-top: 48px;
    gap: 36px;
  }

  .lede {
    font-size: 14px;
  }

  .lede .ln {
    display: block;
  }

  .scroll-hint {
    display: none;
  }

  .index,
  .about,
  .contact {
    padding-top: 88px;
    padding-bottom: 96px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-bottom: 22px;
  }

  .section-head p {
    text-align: left;
    font-size: 12.5px;
  }

  .feature {
    gap: 22px;
    padding: 26px 6px;
  }

  .feature:hover {
    padding-left: 10px;
  }

  .feature-meta {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
  }

  .feature-name {
    font-size: 28px;
  }

  .feature-desc {
    font-size: 12.5px;
    margin-top: 10px;
  }

  .feature-arrow {
    width: 42px;
    height: 42px;
  }

  .feature-arrow svg {
    width: 17px;
    height: 17px;
  }

  .tag {
    padding: 3px 9px;
    font-size: 10px;
  }

  .index-note {
    font-size: 12px;
  }

  .statement {
    font-size: clamp(23px, 6.4vw, 30px);
    line-height: 1.55;
  }

  .about-body {
    padding-top: 52px;
  }

  .principles {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-top: 56px;
    padding-top: 34px;
  }

  .p-num {
    margin-bottom: 14px;
  }

  .principles p {
    max-width: 30em;
  }

  .contact {
    padding-bottom: 96px;
  }

  .mail {
    font-size: 19px;
  }

  .footer {
    padding-top: 36px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .beian {
    justify-content: flex-start;
    line-height: 1.9;
  }
}

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

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

  .scroll-hint svg,
  .clock .dot {
    animation: none;
  }
}
