/* 鸿爪落地页 · 深色展墙主题（无外部依赖） */

:root {
  --bg: #0b0908;
  --bg-soft: #100d0a;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.075);
  --line: rgba(245, 239, 227, 0.11);
  --line-strong: rgba(245, 239, 227, 0.22);
  --ink: #f4eee3;
  --ink-soft: #cfc5b5;
  --muted: #9d9284;
  --vermilion: #ff5c3b;
  --gold: #e8b75e;
  --violet: #8b5cf6;
  --cyan: #4fd1c5;
  --grad: linear-gradient(115deg, #ff7a4d 0%, #e8b75e 46%, #b18cff 100%);
  --white: #fffdf8;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  --radius: 20px;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--bg);
  background-image: radial-gradient(900px 620px at 12% -8%, rgba(255, 92, 59, 0.16), transparent 62%),
    radial-gradient(820px 620px at 92% -4%, rgba(139, 92, 246, 0.18), transparent 60%),
    radial-gradient(1000px 720px at 50% 108%, rgba(232, 183, 94, 0.09), transparent 66%);
  background-attachment: fixed;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration-color: rgba(232, 183, 94, 0.4);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: var(--gold);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.16;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

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

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.wrap.narrow {
  width: min(820px, calc(100% - 48px));
}

.skip {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 60;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 10px;
}

.skip:focus {
  left: 16px;
}

/* ---------- header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 9, 8, 0.66);
  backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-head.is-scrolled {
  background: rgba(11, 9, 8, 0.9);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.head-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.06em;
}

.brand img {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 12px rgba(255, 92, 59, 0.35));
}

.nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.nav a {
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

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

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

.lang {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-soft);
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.lang:hover {
  border-color: var(--gold);
  color: var(--ink);
  background: rgba(232, 183, 94, 0.1);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--grad);
  color: #1a110b;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(255, 92, 59, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 16px 44px rgba(255, 92, 59, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

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

button.btn {
  font-family: inherit;
  cursor: pointer;
}

.btn[disabled],
.btn[disabled]:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  border-color: var(--line);
  box-shadow: none;
  filter: none;
  transform: none;
  opacity: 0.6;
  cursor: not-allowed;
}

.plan-pro .btn[disabled],
.plan-pro .btn[disabled]:hover,
.plan-pro .btn-ghost[disabled],
.plan-pro .btn-ghost[disabled]:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  border-color: var(--line);
  box-shadow: none;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--ink-soft);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.btn-small {
  padding: 9px 18px;
  font-size: 14px;
}

.plan-pro .btn {
  background: linear-gradient(115deg, #ffd9a0, #e8b75e 55%, #ff9f6b);
}

.plan-pro .btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.24);
}

.plan-pro .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ---------- hero ---------- */

.hero {
  padding: 40px 0 44px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -10% -10% 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(60deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(-60deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 80px);
  mask-image: radial-gradient(ellipse at 62% 40%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 62% 40%, #000 0%, transparent 72%);
  opacity: 0.9;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vermilion);
  box-shadow: 0 0 0 0 rgba(255, 92, 59, 0.55);
  animation: pulseDot 2.4s ease-out infinite;
}

.hero h1 {
  font-size: clamp(40px, 5.6vw, 74px);
  letter-spacing: -0.025em;
}

.hero h1 span {
  display: block;
}

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

.lede {
  margin-top: 24px;
  font-size: 17.5px;
  color: var(--muted);
  max-width: 34em;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.badges span {
  font-size: 12.5px;
  color: var(--ink-soft);
  padding: 5px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.badges span:first-child::before,
.badges span:nth-child(2)::before,
.badges span:nth-child(3)::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  vertical-align: 1px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(232, 183, 94, 0.8);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.fineprint {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}

.hero-art {
  position: relative;
  aspect-ratio: 1 / 0.86;
  --px: 0px;
  --py: 0px;
}

.art-halo {
  position: absolute;
  inset: 6% 0 2%;
  background: radial-gradient(circle at 55% 45%, rgba(255, 92, 59, 0.35), transparent 58%),
    radial-gradient(circle at 30% 70%, rgba(139, 92, 246, 0.32), transparent 60%);
  filter: blur(46px);
  opacity: 0.75;
  pointer-events: none;
}

.frame {
  position: absolute;
  margin: 0;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(20, 17, 13, 0.9);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transform: translate3d(calc(var(--px) * var(--k, 1)), calc(var(--py) * var(--k, 1)), 0) rotate(var(--r, 0deg));
  transition: transform 0.28s ease-out;
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.frame-a {
  --r: -2.6deg;
  --k: 0.45;
  width: 78%;
  left: 1%;
  top: 7%;
  z-index: 2;
}

.frame-b {
  --r: 3.4deg;
  --k: 0.85;
  width: 42%;
  right: 0;
  top: 0;
  z-index: 3;
}

.frame-c {
  --r: 1.4deg;
  --k: 1.3;
  width: 56%;
  right: 2%;
  bottom: 0;
  z-index: 1;
}

.float-tag {
  position: absolute;
  z-index: 4;
  padding: 6px 13px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: rgba(20, 16, 12, 0.82);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  animation: floatY 6s ease-in-out infinite;
}

.tag-a {
  left: 34%;
  top: -3%;
}

.tag-b {
  right: -3%;
  top: 42%;
  animation-delay: -2s;
}

.tag-c {
  left: 4%;
  bottom: -2%;
  animation-delay: -4s;
}

/* ---------- ticker ---------- */

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  padding: 13px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.ticker-track span {
  margin-right: 40px;
  font-size: 12.5px;
  letter-spacing: 0.2em;
  color: var(--muted);
  white-space: nowrap;
}

.ticker-track span::after {
  content: "◆";
  margin-left: 40px;
  font-size: 7px;
  vertical-align: 3px;
  color: var(--gold);
  opacity: 0.6;
}

/* ---------- sections ---------- */

.section {
  padding: 92px 0;
  position: relative;
}

.section-quiet {
  background: rgba(255, 255, 255, 0.018);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 730px;
  margin-bottom: 44px;
}

.section-head h2 {
  font-size: clamp(30px, 3.6vw, 46px);
}

.section-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin-top: 18px;
  background: var(--grad);
  border-radius: 2px;
}

.section-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16.5px;
}

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

.card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 26px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease,
    background 0.24s ease;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    340px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.09),
    transparent 62%
  );
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: var(--surface-2);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.4);
}

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

.card > * {
  position: relative;
  z-index: 1;
}

.card .num {
  display: block;
  font-family: var(--mono);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: linear-gradient(120deg, #ff7a4d, #e8b75e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.85;
}

.card h3 {
  font-size: 20px;
  margin: 12px 0 8px;
}

.card p {
  font-size: 14px;
  line-height: 1.68;
  color: var(--muted);
}

/* ---------- effects ---------- */

.section-effects {
  overflow: hidden;
}

.section-effects::before {
  content: "";
  position: absolute;
  inset: 10% 0 auto;
  height: 60%;
  background: radial-gradient(ellipse at 30% 50%, rgba(139, 92, 246, 0.14), transparent 62%),
    radial-gradient(ellipse at 72% 40%, rgba(255, 92, 59, 0.12), transparent 60%);
  pointer-events: none;
}

.fx-strip {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.fx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  height: 54px;
  padding: 0 20px;
  font-size: 15px;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  will-change: transform;
}

.fx:nth-child(2n) {
  animation-delay: 0.4s;
}

.fx:nth-child(3n) {
  animation-delay: 0.9s;
}

.fx-bounce {
  animation: fxBounce 1.6s ease-in-out infinite;
}

.fx-heartbeat {
  animation: fxHeartbeat 1.8s ease-in-out infinite;
}

.fx-breathe {
  animation: fxBreathe 3.4s ease-in-out infinite;
}

.fx-sway {
  animation: fxSway 2.6s ease-in-out infinite;
}

.fx-shake {
  animation: fxShake 2.2s ease-in-out infinite;
}

.fx-burst {
  animation: fxBurst 2.4s ease-out infinite;
}

.fx-float {
  animation: fxFloat 4s ease-in-out infinite;
}

.fx-spin {
  animation: fxSpin 7s linear infinite;
}

.fx-neon {
  color: #bff7ef;
  border-color: rgba(79, 209, 197, 0.55);
  animation: fxNeon 2.2s ease-in-out infinite;
}

.fx-rainbow {
  border: 1px solid transparent;
  background: linear-gradient(#12100d, #12100d) padding-box,
    linear-gradient(90deg, #ff5c3b, #e8b75e, #4fd1c5, #8b5cf6, #ff5c3b) border-box;
  background-size: auto, 300% 100%;
  animation: fxRainbow 4s linear infinite;
}

/* ---------- screenshots ---------- */

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

.shot {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 8px 14px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.shot:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

.shot-wide {
  grid-column: span 2;
}

.shot img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.shot figcaption {
  padding: 12px 8px 0;
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- demo videos ---------- */

.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.demo-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 8px 14px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.demo-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

.demo-card video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #0b0908;
}

.demo-card figcaption {
  padding: 12px 8px 0;
  font-size: 13.5px;
  color: var(--muted);
}

/* 放大入口：压在录屏右下角，键盘也能聚焦 */
.demo-card {
  position: relative;
}

.demo-zoom {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  font-size: 12px;
  line-height: 1;
  color: var(--ink);
  background: rgba(10, 8, 7, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  cursor: zoom-in;
  opacity: 0.82;
  backdrop-filter: blur(6px);
  transition: opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.demo-zoom:hover,
.demo-zoom:focus-visible {
  opacity: 1;
  background: rgba(10, 8, 7, 0.92);
  border-color: var(--line-strong);
}

/* 录屏放大层 */
.demo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 5, 4, 0.9);
  backdrop-filter: blur(8px);
}

.demo-lightbox[hidden] {
  display: none;
}

.demo-lightbox-box {
  width: min(1180px, 96vw);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
}

.demo-lightbox video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 78vh;
  background: #000;
}

.demo-lightbox-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
}

.demo-lightbox-cap {
  margin-right: auto;
  font-size: 13.5px;
  color: var(--muted);
}

.demo-lightbox-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-size: 12.5px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.demo-lightbox-btn:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.1);
}

/* 原生全屏时让画面撑满、控制条留在底部 */
.demo-lightbox-box:fullscreen {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  border: 0;
  border-radius: 0;
  background: #000;
}

.demo-lightbox-box:fullscreen video {
  flex: 1;
  min-height: 0;
  max-height: none;
  object-fit: contain;
}

body.is-lightbox {
  overflow: hidden;
}

/* ---------- tiers table ---------- */

.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
  overflow-x: auto;
}

.tiers {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 14.5px;
}

.tiers th,
.tiers td {
  padding: 15px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.tiers thead th {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.tiers tbody th {
  font-weight: 500;
  width: 46%;
  color: var(--ink-soft);
}

.tiers td {
  width: 27%;
  color: var(--ink-soft);
}

.tiers .pro-col,
.tiers td:last-child {
  background: linear-gradient(180deg, rgba(232, 183, 94, 0.11), rgba(232, 183, 94, 0.03));
  color: var(--ink);
}

.tiers tbody tr:last-child th,
.tiers tbody tr:last-child td {
  border-bottom: 0;
}

.tiers tbody tr:hover th,
.tiers tbody tr:hover td {
  background: rgba(232, 183, 94, 0.07);
}

/* ---------- pricing ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px 30px 36px;
  display: flex;
  flex-direction: column;
}

.plan h3 {
  font-size: 24px;
  letter-spacing: 0.04em;
}

.amount {
  margin-top: 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.amount span {
  font-family: var(--serif);
  font-size: 50px;
  line-height: 1;
}

.amount em {
  font-style: normal;
  font-size: 15px;
  color: var(--muted);
}

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

.plan ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 11px;
  font-size: 14.5px;
}

.plan li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-soft);
}

.plan li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.6em;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--vermilion), var(--gold));
  opacity: 0.85;
}

.plan-pro {
  border: 1px solid transparent;
  background: linear-gradient(#12100d, #12100d) padding-box,
    linear-gradient(135deg, #ff6b45, #e8b75e 46%, #8b5cf6) border-box;
  box-shadow: 0 30px 80px rgba(255, 92, 59, 0.14);
}

.plan-pro::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(600px circle at 80% 0%, rgba(232, 183, 94, 0.14), transparent 60%),
    radial-gradient(500px circle at 0% 100%, rgba(139, 92, 246, 0.12), transparent 60%);
  pointer-events: none;
}

.plan-pro > * {
  position: relative;
  z-index: 1;
}

.plan-pro .plan-desc,
.plan-pro li,
.plan-pro .fineprint,
.plan-pro .amount em {
  color: rgba(244, 238, 227, 0.68);
}

.plan-pro .amount span {
  background: linear-gradient(115deg, #ffe0b0, #e8b75e 60%, #ff9f6b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.plan-pro li::before {
  background: linear-gradient(135deg, #ffd9a0, #e8b75e);
}

.plan-flag {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  padding: 4px 11px;
  border-radius: 999px;
  background: linear-gradient(115deg, #ffd9a0, #e8b75e);
  color: #1a120b;
  font-weight: 600;
}

.buy-email {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.buy-email label {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.buy-email input {
  flex: 1 1 190px;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.25);
  color: var(--ink);
  font-size: 14px;
}

.buy-email input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.buy-email.is-bad input {
  border-color: #d9534f;
  outline: 2px solid rgba(217, 83, 79, 0.45);
  outline-offset: 1px;
}

.buy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.buy-row .btn {
  flex: 1 1 170px;
}

.plan-pro .fineprint a {
  color: var(--gold);
}

/* ---------- faq ---------- */

details {
  border-top: 1px solid var(--line);
  padding: 19px 0;
}

details:last-of-type {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16.5px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.2s ease;
}

summary:hover {
  color: var(--gold);
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 22px;
  line-height: 1;
  color: var(--gold);
  transition: transform 0.2s ease;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 64ch;
}

/* ---------- privacy ---------- */

.privacy-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.privacy-list li {
  padding-left: 26px;
  position: relative;
  color: var(--ink-soft);
  font-size: 15px;
}

.privacy-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--vermilion), var(--gold));
  opacity: 0.8;
}

.support {
  margin-top: 26px;
  font-size: 15px;
}

.support a {
  color: var(--gold);
}

/* ---------- footer ---------- */

.site-foot {
  background: rgba(0, 0, 0, 0.35);
  border-top: 1px solid var(--line);
  color: var(--ink);
  padding: 46px 0 28px;
}

.foot-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  align-items: flex-start;
}

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

.foot-brand img {
  width: 26px;
  height: 26px;
}

.foot-brand strong {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.06em;
}

.foot-brand p {
  font-size: 13px;
  color: var(--muted);
}

.foot-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 14px;
}

.foot-links a {
  color: var(--ink-soft);
  text-decoration: none;
}

.foot-links a:hover {
  color: var(--gold);
}

.foot-legal {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}

.foot-beian {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.foot-beian a {
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

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

.beian-icon {
  width: 18px;
  height: 19px;
  display: inline-block;
  vertical-align: -3px;
}

/* ---------- legal pages ---------- */

.legal-page .legal {
  max-width: 760px;
  padding: 48px 0 72px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.legal-page .legal h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 8px;
  color: var(--ink);
}

.legal-page .legal h2 {
  font-size: 18px;
  margin: 32px 0 8px;
  color: var(--ink);
}

.legal-page .legal p,
.legal-page .legal li {
  font-size: 15px;
}

.legal-page .legal ul {
  padding-left: 20px;
}

.legal-page .legal a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-meta {
  color: var(--muted);
  font-size: 13px;
}

/* ---------- motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 92, 59, 0.55);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(255, 92, 59, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 92, 59, 0);
  }
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes fxBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  35% {
    transform: translateY(-11px);
  }
  55% {
    transform: translateY(0);
  }
  70% {
    transform: translateY(-4px);
  }
  85% {
    transform: translateY(0);
  }
}

@keyframes fxHeartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.12);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.12);
  }
  56% {
    transform: scale(1);
  }
}

@keyframes fxBreathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.75;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes fxSway {
  0%,
  100% {
    transform: rotate(-4deg);
  }
  50% {
    transform: rotate(4deg);
  }
}

@keyframes fxShake {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-4px);
  }
  40% {
    transform: translateX(4px);
  }
  60% {
    transform: translateX(-3px);
  }
  80% {
    transform: translateX(3px);
  }
}

@keyframes fxBurst {
  0%,
  55%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 92, 59, 0);
  }
  62% {
    transform: scale(1.1);
    box-shadow: 0 0 0 0 rgba(255, 92, 59, 0.45);
  }
  82% {
    transform: scale(1);
    box-shadow: 0 0 0 16px rgba(255, 92, 59, 0);
  }
}

@keyframes fxFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes fxSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes fxNeon {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(79, 209, 197, 0.18), inset 0 0 12px rgba(79, 209, 197, 0.12);
  }
  50% {
    box-shadow: 0 0 26px rgba(79, 209, 197, 0.55), inset 0 0 18px rgba(79, 209, 197, 0.22);
  }
}

@keyframes fxRainbow {
  from {
    background-position: 0 0, 0 50%;
  }
  to {
    background-position: 0 0, 300% 50%;
  }
}

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

  .btn,
  .card,
  .shot,
  .reveal,
  summary::after,
  .frame {
    transition: none;
  }

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

  .pulse,
  .float-tag,
  .ticker-track,
  .fx {
    animation: none;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero {
    padding-top: 60px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .hero-art {
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
  }

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

  .nav {
    display: none;
  }

  .head-inner {
    justify-content: space-between;
  }

  .head-actions {
    margin-left: auto;
  }

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

  .shot-wide {
    grid-column: span 2;
  }

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

@media (max-width: 720px) {
  .wrap,
  .wrap.narrow {
    width: calc(100% - 32px);
  }

  .section {
    padding: 64px 0;
  }

  .shot-grid,
  .demo-grid,
  .plans {
    grid-template-columns: minmax(0, 1fr);
  }

  /* 小屏只留放大图标，别压住录屏主体 */
  .demo-zoom span {
    display: none;
  }

  .demo-lightbox {
    padding: 12px;
  }

  .demo-lightbox-cap {
    display: none;
  }

  .shot-wide {
    grid-column: span 1;
  }

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

  .hero h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .lede {
    font-size: 16px;
  }

  .amount span {
    font-size: 42px;
  }

  .tiers th,
  .tiers td {
    padding: 13px 14px;
  }

  .tag-a {
    left: 18%;
    top: -5%;
  }

  .tag-b {
    right: -1%;
  }

  .fx {
    min-width: 84px;
    height: 48px;
    font-size: 14px;
    padding: 0 16px;
  }
}

/* ---------- 雪泥小鸿：官网上的桌面宠物 ---------- */

.pet {
  position: relative;
  width: 86px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.pet-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.pet-standalone {
  position: fixed;
  right: 22px;
  bottom: 18px;
  z-index: 45;
  width: 76px;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.45));
}

/* 眨眼：眼皮默认收在 0，只在 is-blink 的 130ms 里合上 */
.pet-lids ellipse {
  transform-box: fill-box;
  transform-origin: center;
  transform: scaleY(0);
}

.pet.is-blink .pet-lids ellipse {
  transform: scaleY(1);
}

/* 点一下：整只蹦起来，落地时压扁一点 */
.pet.is-hop .pet-svg {
  animation: pet-hop 0.62s cubic-bezier(0.3, 0.2, 0.3, 1);
}

@keyframes pet-hop {
  0% { transform: translateY(0) scale(1, 1); }
  22% { transform: translateY(2px) scale(1.06, 0.94); }
  52% { transform: translateY(-20px) scale(0.97, 1.05); }
  76% { transform: translateY(0) scale(1.05, 0.95); }
  100% { transform: translateY(0) scale(1, 1); }
}

/* 推的时候：身体前倾，两只翅膀一前一后地扇 */
.pet.is-push .pet-svg {
  animation: pet-lean 0.5s ease-in-out infinite alternate;
}

.pet.is-push .pet-wing-l {
  animation: pet-flap 0.32s ease-in-out infinite alternate;
  transform-box: fill-box;
  transform-origin: 70% 10%;
}

.pet.is-push .pet-wing-r {
  animation: pet-flap 0.32s ease-in-out infinite alternate-reverse;
  transform-box: fill-box;
  transform-origin: 30% 10%;
}

@keyframes pet-lean {
  from { transform: rotate(-2.5deg) translateX(-1px); }
  to { transform: rotate(3deg) translateX(2px); }
}

@keyframes pet-flap {
  from { transform: rotate(-14deg); }
  to { transform: rotate(12deg); }
}

.pet.is-near .pet-cheek {
  opacity: 0.85;
}

/* 被点：大眼换成弯弯的笑眼 */
.pet-eyes-happy {
  opacity: 0;
  transition: opacity 0.1s linear;
}

.pet.is-happy .pet-eyes-normal {
  opacity: 0;
}

.pet.is-happy .pet-eyes-happy {
  opacity: 1;
}

/* 头顶的雪花一直在慢慢转；围巾尾与墨尾轻轻摆 */
.pet-snow {
  transform-box: fill-box;
  transform-origin: center;
  animation: pet-snow 7s linear infinite;
}

@keyframes pet-snow {
  to { transform: rotate(360deg); }
}

.pet-scarf-tail {
  transform-box: fill-box;
  transform-origin: 8% 18%;
  animation: pet-scarf 2.6s ease-in-out infinite alternate;
}

@keyframes pet-scarf {
  from { transform: rotate(-5deg); }
  to { transform: rotate(6deg); }
}

.pet-ink-tail {
  transform-box: fill-box;
  transform-origin: 90% 10%;
  animation: pet-scarf 3.4s ease-in-out infinite alternate-reverse;
}

/* 气泡：贴在头顶，带一个小尖角 */
.pet-bubble {
  position: absolute;
  left: 50%;
  bottom: calc(100% - 4px);
  z-index: 3;
  /* 绝对定位默认 shrinking-to-fit 会被宠物宽度（~76px）挤成一字一行，这里按内容撑开 */
  width: max-content;
  max-width: min(220px, 56vw);
  padding: 7px 11px;
  border-radius: 13px;
  background: var(--white);
  color: #2a2320;
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.45;
  text-align: center;
  white-space: normal;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 6px) scale(0.96);
  transform-origin: 50% 100%;
  transition: opacity 0.18s ease, transform 0.22s cubic-bezier(0.3, 1.4, 0.5, 1);
}

.pet-bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  background: var(--white);
  transform: rotate(45deg);
  border-radius: 2px;
}

.pet-bubble.is-on {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

/* 点出来的小爱心 */
.pet-hearts {
  position: absolute;
  left: 50%;
  bottom: 62%;
  width: 0;
  height: 0;
  pointer-events: none;
}

.pet-heart {
  position: absolute;
  width: 9px;
  height: 9px;
  margin-left: -4px;
  background: var(--vermilion);
  transform: rotate(45deg);
  border-radius: 2px 2px 2px 0;
  animation: pet-heart 0.95s ease-out forwards;
  animation-delay: calc(var(--i) * 90ms);
}

.pet-heart:nth-child(2) {
  --dx: -18px;
}

.pet-heart:nth-child(3) {
  --dx: 16px;
}

@keyframes pet-heart {
  0% { opacity: 0; transform: translate(0, 0) rotate(45deg) scale(0.5); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx, 0), -46px) rotate(45deg) scale(1.05); }
}

/* 展台：一块带雪意的玻璃墙 */
.pet-stage {
  position: relative;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(520px 220px at 28% 108%, rgba(139, 92, 246, 0.16), transparent 70%),
    radial-gradient(420px 200px at 82% 0%, rgba(255, 92, 59, 0.12), transparent 70%),
    rgba(255, 255, 255, 0.028);
}

.pet-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 0.7px, transparent 0.7px);
  background-size: 22px 22px;
  opacity: 0.5;
  pointer-events: none;
}

.pet-stage .pet {
  position: absolute;
  left: 12%;
  bottom: 10px;
  z-index: 3;
  width: 102px;
}

/* 地面：一道淡淡的雪线，让小鹅站得住 */
.pet-stage::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 239, 227, 0.22), transparent);
  pointer-events: none;
}

.pet-tile {
  position: absolute;
  left: 48%;
  bottom: 112px;
  z-index: 2;
  width: 126px;
  padding: 16px 12px 12px;
  border: 1px solid rgba(245, 239, 227, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(10px);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.36);
  text-align: center;
  transition: box-shadow 0.3s ease;
  will-change: transform;
}

.pet-tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(140deg, rgba(232, 183, 94, 0.24), rgba(255, 92, 59, 0.18));
  color: var(--gold);
}

.pet-tile-name {
  display: block;
  margin-top: 9px;
  font-size: 11.5px;
  color: var(--ink-soft);
  line-height: 1.4;
}

.pet-hint {
  position: absolute;
  right: 16px;
  bottom: 14px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
  pointer-events: none;
}

.pet-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.pet-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.65;
}

.pet-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(232, 183, 94, 0.6);
}

.pet-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 52px;
  align-items: center;
}

.pet-wrap h2 {
  font-size: clamp(32px, 4vw, 46px);
}

/* 页脚的小鸿落款：把 logo 和吉祥物放在一起 */
.foot-pet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--muted);
}

.foot-pet img {
  width: 22px;
  height: 22px;
  opacity: 0.9;
}

@media (max-width: 900px) {
  .pet-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .pet-stage {
    min-height: 320px;
    order: 2;
  }
}

/* ---------- 安装页 ---------- */

.install {
  padding: 56px 0 90px;
}

.install-hero {
  max-width: 700px;
  margin-bottom: 40px;
}

.install-hero h1 {
  font-size: clamp(34px, 5vw, 54px);
}

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

.install-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.install-card h2 {
  font-size: 22px;
}

.install-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.install-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.install-badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(232, 183, 94, 0.4);
  background: rgba(232, 183, 94, 0.1);
  color: var(--gold);
  font-size: 11.5px;
  letter-spacing: 0.08em;
}

.install-card .btn {
  margin-top: 2px;
}

.install-note {
  font-size: 12.5px !important;
  color: var(--muted) !important;
}

.install-faq {
  margin-top: 56px;
}

.install-faq h2 {
  margin-bottom: 22px;
  font-size: 28px;
}

.install-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.install-faq-item {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.install-faq-item h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.install-faq-item p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}

.install-pet {
  position: fixed;
  right: 22px;
  bottom: 18px;
  z-index: 45;
  width: 76px;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.45));
}

@media (max-width: 860px) {
  .install-grid,
  .install-faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .install-pet {
    width: 62px;
    right: 12px;
    bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pet.is-hop .pet-svg,
  .pet.is-push .pet-svg,
  .pet.is-push .pet-wing-l,
  .pet.is-push .pet-wing-r,
  .pet-snow,
  .pet-scarf-tail,
  .pet-ink-tail,
  .pet-heart {
    animation: none !important;
  }
}

/* ---------- 回到顶部 ---------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(16, 13, 10, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  color: var(--ink-soft);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.42);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s, color 0.2s ease,
    border-color 0.2s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  color: var(--gold);
  border-color: rgba(232, 183, 94, 0.5);
  background: rgba(24, 19, 14, 0.86);
}

.to-top:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .to-top {
    right: 16px;
    bottom: 16px;
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .to-top {
    transition: none;
  }
}
