/* ==========================================================================
   燕云小助手 · 官网
   黑金 / 克制 / 清晰
   ========================================================================== */

@font-face {
  font-family: "Ma Shan Zheng";
  src: url("../assets/fonts/mashanzheng.woff2?v=20261024-55") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


:root {
  --bg: #08080a;
  --bg-soft: #0a0a0d;
  --bg-elev: #101014;
  --ink: #f1ede3;
  --ink-2: #c5bfb1;
  --muted: #8b8578;
  --muted-2: #6f6b61;
  --gold: #c8ab6d;
  --gold-bright: #e5d2a4;
  --gold-deep: #967a45;
  --gold-soft: rgba(200, 171, 109, 0.09);
  --line: rgba(200, 171, 109, 0.15);
  --line-strong: rgba(200, 171, 109, 0.27);
  --white-line: rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.035);
  --glass-2: rgba(255, 255, 255, 0.055);
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-serif: "Songti SC", "STSong", "SimSun", Georgia, serif;
  --font-brush: "Ma Shan Zheng", "STKaiti", "KaiTi", "Songti SC", serif;
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-panel: 0 30px 80px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: rgba(200, 171, 109, 0.28) #08080a;
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: #08080a;
}

::-webkit-scrollbar-thumb {
  border: 2px solid #08080a;
  border-radius: 999px;
  background: rgba(200, 171, 109, 0.28);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 65% 48% at 78% -4%, rgba(200, 171, 109, 0.13), transparent 64%),
    radial-gradient(ellipse 45% 42% at 0% 35%, rgba(200, 171, 109, 0.045), transparent 70%),
    linear-gradient(180deg, #08080a 0%, #09090c 45%, #07070a 100%);
}

body.lock-scroll {
  overflow: hidden;
}

.page-grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("../assets/img/grain.svg");
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
}

::selection {
  background: rgba(200, 171, 109, 0.28);
  color: #fff8e9;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

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

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

.container {
  width: min(var(--container), calc(100% - 56px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 16px;
  background: var(--gold);
  color: #171208;
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ------------------------------------------------------------------ button */

.btn {
  --btn-h: 44px;
  position: relative;
  display: inline-flex;
  height: var(--btn-h);
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.22s var(--ease), background 0.22s, border-color 0.22s, box-shadow 0.22s,
    color 0.22s;
}

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

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

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

.btn-primary {
  overflow: hidden;
  background: linear-gradient(115deg, #d9c18d 0%, #c2a266 48%, #a98a50 100%);
  border-color: rgba(255, 245, 219, 0.2);
  color: #181307;
  box-shadow:
    0 8px 24px rgba(174, 140, 77, 0.2),
    inset 0 1px 0 rgba(255, 252, 240, 0.55);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.32) 45%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
  pointer-events: none;
}

.btn-primary:hover {
  background: linear-gradient(115deg, #e3cf9f 0%, #cfb176 50%, #b59558 100%);
  box-shadow:
    0 12px 32px rgba(192, 154, 87, 0.28),
    inset 0 1px 0 rgba(255, 252, 240, 0.6);
}

.btn-primary:hover::after {
  transform: translateX(120%);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line-strong);
  color: var(--ink);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  border-color: rgba(200, 171, 109, 0.52);
  background: rgba(200, 171, 109, 0.08);
}

.btn-gold-outline {
  background: transparent;
  border-color: rgba(200, 171, 109, 0.5);
  color: var(--gold-bright);
}

.btn-gold-outline:hover {
  background: rgba(200, 171, 109, 0.1);
  border-color: var(--gold);
}

.btn-sm {
  --btn-h: 38px;
  padding: 0 16px;
  font-size: 13px;
  border-radius: 9px;
}

.btn-lg {
  --btn-h: 54px;
  padding: 0 28px;
  font-size: 15px;
  border-radius: 11px;
}

.btn-lg svg {
  width: 19px;
  height: 19px;
}

.btn-block {
  width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 800;
  background: rgba(8, 8, 10, 0.68);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  transition: background 0.25s, border-color 0.25s;
}

.site-header.is-scrolled {
  background: rgba(8, 8, 10, 0.9);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  height: var(--header-h);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 40px;
  flex: none;
}

.brand-seal {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  flex: none;
  border: 1px solid rgba(200, 171, 109, 0.45);
  border-radius: 9px;
  background:
    radial-gradient(circle at 30% 15%, rgba(229, 210, 164, 0.16), transparent 55%),
    linear-gradient(145deg, #15120c, #0b0a08);
  box-shadow:
    inset 0 0 0 3px rgba(8, 8, 10, 0.65),
    0 4px 14px rgba(0, 0, 0, 0.4);
  color: var(--gold-bright);
  font-family: var(--font-brush);
  font-size: 23px;
  line-height: 1;
  padding-bottom: 2px;
}

.brand-seal::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 3px;
  border: 1px solid rgba(200, 171, 109, 0.13);
  border-radius: 6px;
  pointer-events: none;
}

.brand-seal img {
  position: absolute;
  z-index: 1;
  inset: 3px;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  border-radius: 6px;
  object-fit: cover;
}

.brand-seal.has-image {
  padding-bottom: 0;
}

.brand-seal-lg {
  width: 54px;
  height: 54px;
  font-size: 32px;
  border-radius: 12px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  padding: 9px 14px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s, background 0.2s;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 4px;
  left: 14px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.desktop-nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

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

.version-pill {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
  background: var(--gold-soft);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.25s;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.mobile-panel {
  display: none;
}

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

.hero {
  position: relative;
  isolation: isolate;
  padding: 40px 0 28px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 54% 52% at 74% 31%, rgba(200, 171, 109, 0.055), transparent 70%),
    linear-gradient(180deg, #08080a 0%, #09090c 76%, #08080a 100%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(200, 171, 109, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 171, 109, 0.045) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(ellipse 72% 72% at 58% 36%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 58% 36%, #000 0%, transparent 72%);
  opacity: 0.8;
}

.hero-halo {
  position: absolute;
  top: 1%;
  right: 3%;
  z-index: -1;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 171, 109, 0.13) 0%, rgba(200, 171, 109, 0.03) 38%, transparent 68%);
  filter: blur(4px);
  pointer-events: none;
}

.hero-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(200, 171, 109, 0.11);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(200, 171, 109, 0.9);
}

.hero-orbit-a {
  top: 8%;
  right: 1%;
  width: 620px;
  height: 620px;
  transform: rotate(-20deg);
}

.hero-orbit-b {
  top: 17%;
  right: 8%;
  width: 450px;
  height: 450px;
  border-style: dashed;
  border-color: rgba(200, 171, 109, 0.08);
  transform: rotate(19deg);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: center;
  gap: 64px;
  min-height: 570px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 610px;
  padding: 14px 0 20px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow-mark {
  display: inline-block;
  width: 22px;
  height: 1px;
  flex: none;
  background: linear-gradient(90deg, var(--gold), transparent);
}

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

.hero-title {
  margin-left: -3px;
  font-size: clamp(44px, 5.1vw, 74px);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.12;
  text-wrap: balance;
}

.hero-title-line {
  display: block;
}

.hero-title-brush {
  padding: 0 0 4px;
  font-family: var(--font-brush);
  font-size: 0.93em;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.14;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(100deg, #b6975e 0%, #e7d5a9 42%, #c9aa6c 74%, #a48750 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 8px 22px rgba(163, 130, 72, 0.12));
}

.hero-title-line + .hero-title-line {
  margin-top: -2px;
}

.hero-desc {
  max-width: 565px;
  margin-top: 22px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.9;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  margin-top: 22px;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12.5px;
}

.hero-points li b {
  font-weight: 400;
}

.hero-points li span {
  position: relative;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(200, 171, 109, 0.42);
  border-radius: 50%;
}

.hero-points li span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 13px;
  margin-top: 33px;
}

.hero-download {
  display: flex;
  width: 390px;
  flex-direction: column;
  gap: 8px;
}

.hero-download-main {
  --btn-h: 60px;
  justify-content: flex-start;
  gap: 12px;
  padding: 0 20px;
}

.hero-download-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: none;
  place-items: center;
  border: 1px solid rgba(24, 19, 7, 0.17);
  border-radius: 8px;
  background: rgba(24, 19, 7, 0.07);
}

.hero-download-icon svg {
  width: 19px;
  height: 19px;
}

.hero-download-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.2;
}

.hero-download-copy strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-download-copy small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(24, 19, 7, 0.67);
  font-size: 9.5px;
  font-weight: 500;
}

.hero-download-copy .line-dot {
  width: 5px;
  height: 5px;
  background: #467c59;
  box-shadow: none;
}

.hero-download-copy .line-dot.is-idle {
  background: #6b624f;
}

.hero-download-copy .line-dot.is-checking {
  background: #7d622f;
}

.hero-download-copy .line-dot.is-offline {
  background: #a4483d;
}

.hero-line-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.hero-line-chip {
  min-height: 44px;
  padding: 9px 10px;
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.022);
}

.hero-line-chip .line-radio {
  display: none;
}

.hero-line-chip .line-main strong {
  font-size: 10.5px;
  letter-spacing: 0.01em;
}

.hero-line-chip .line-main small {
  margin-top: 1px;
  padding: 0 4px;
  font-size: 7.5px;
  line-height: 1.45;
}

.hero-line-chip .line-state {
  gap: 4px;
  font-size: 9.5px;
}

.hero-line-chip .line-dot {
  width: 4px;
  height: 4px;
}

.hero-line-chip[disabled] {
  opacity: 0.48;
  cursor: not-allowed;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 13px;
  margin-top: 17px;
  color: var(--muted-2);
  font-size: 11.5px;
  letter-spacing: 0.01em;
}

.hero-meta a {
  color: var(--muted);
  border-bottom: 1px solid rgba(200, 171, 109, 0.25);
  transition: color 0.2s;
}

.hero-meta a:hover {
  color: var(--gold-bright);
}

.hero-meta-divider {
  width: 1px;
  height: 10px;
  background: var(--line-strong);
}

.hero-shortcuts {
  display: grid;
  width: 390px;
  max-width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.hero-shortcut {
  display: flex;
  min-width: 0;
  min-height: 56px;
  align-items: center;
  gap: 7px;
  padding: 0 8px;
  border: 1px solid rgba(200, 171, 109, 0.24);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(200, 171, 109, 0.1), rgba(200, 171, 109, 0.035));
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.hero-shortcut:hover {
  border-color: rgba(200, 171, 109, 0.5);
  background: linear-gradient(180deg, rgba(200, 171, 109, 0.16), rgba(200, 171, 109, 0.06));
  transform: translateY(-1px);
}

.hero-shortcut-wide {
  grid-column: 1 / -1;
}

.hero-shortcut-icon {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border: 1px solid rgba(200, 171, 109, 0.24);
  border-radius: 8px;
  color: var(--gold-bright);
  background: rgba(200, 171, 109, 0.09);
}

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

.hero-shortcut-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.hero-shortcut-copy strong {
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.28;
}

.hero-shortcut-copy small {
  color: var(--gold);
  font-size: 7px;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.hero-shortcut-arrow {
  margin-left: auto;
  color: var(--gold);
  font-size: 13px;
  transition: color 0.2s, transform 0.2s;
}

.hero-shortcut:hover .hero-shortcut-arrow {
  color: var(--gold);
}

.hero-announcement {
  display: flex;
  max-width: 550px;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.hero-announcement[hidden] {
  display: none;
}

.announcement-dot {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 171, 109, 0.1);
  animation: glowPulse 2.6s ease-in-out infinite;
}

.hero-announcement a {
  margin-left: auto;
  flex: none;
  color: var(--gold);
  font-weight: 600;
  border-bottom: 1px solid rgba(200, 171, 109, 0.3);
}

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

.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.app-stage {
  --rx: 2.5deg;
  --ry: -6deg;
  position: relative;
  width: 100%;
  max-width: 630px;
  perspective: 1400px;
}

.app-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 12% 2% -12% 2%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(200, 171, 109, 0.18), transparent 68%);
  filter: blur(36px);
}

.app-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(200, 171, 109, 0.26);
  border-radius: 14px;
  background: #111114;
  box-shadow:
    0 45px 100px rgba(0, 0, 0, 0.62),
    0 0 0 6px rgba(255, 255, 255, 0.016),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: rotateY(var(--ry)) rotateX(var(--rx));
  transform-style: preserve-3d;
  transition: transform 0.7s var(--ease);
  will-change: transform;
}

.app-stage:hover .app-window {
  --rx: 0deg;
  --ry: -1.5deg;
}

.app-bar {
  display: flex;
  height: 38px;
  align-items: center;
  gap: 12px;
  padding: 0 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  background: linear-gradient(180deg, #1a1a1f, #131316);
}

.app-dots {
  display: flex;
  gap: 5px;
  flex: none;
}

.app-dots i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4d4b45;
}

.app-dots i:first-child {
  background: #8e7650;
}

.app-bar-title {
  flex: 1;
  text-align: center;
  color: #a29d91;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.app-bar-title em {
  color: #d3bb8c;
  font-style: normal;
}

.app-bar-actions {
  display: flex;
  gap: 12px;
  width: 42px;
  justify-content: flex-end;
  flex: none;
}

.app-bar-actions i {
  width: 8px;
  height: 1px;
  background: #56534b;
}

.app-screen {
  position: relative;
  background: #0d0d10;
}

.app-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 72%, rgba(8, 8, 10, 0.12) 100%);
}

.app-screen img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: brightness(1.36) contrast(1.06);
}

.app-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-left: 4px;
  color: var(--muted-2);
  font-size: 8.5px;
  letter-spacing: 0.2em;
}

.app-caption i {
  width: 38px;
  height: 1px;
  background: var(--line-strong);
}

.vertical-copy {
  position: absolute;
  top: 2px;
  right: -52px;
  color: rgba(200, 171, 109, 0.26);
  font-family: var(--font-serif);
  font-size: 10px;
  letter-spacing: 0.42em;
  line-height: 1.8;
  writing-mode: vertical-rl;
}

.hero-bottom {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 44px;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--muted-2);
  font-size: 8.5px;
  letter-spacing: 0.25em;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 1px;
  height: 34px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 45%;
  background: var(--gold);
  animation: scrollTrace 2.4s ease-in-out infinite;
}

.hero-seal {
  color: rgba(200, 171, 109, 0.16);
  font-family: var(--font-brush);
  font-size: 27px;
  letter-spacing: 0.18em;
  line-height: 1;
  transform: translateY(-8px);
}

.ink-hills {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 330px;
  pointer-events: none;
  opacity: 0.9;
}

/* ------------------------------------------------------------------- stats */

.stats-section {
  position: relative;
  z-index: 4;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(9, 9, 12, 0.86);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  align-items: center;
  min-height: 96px;
}

.stat-item {
  position: relative;
  padding: 20px 28px;
}

.stat-item:first-child {
  padding-left: 0;
}

.stat-item + .stat-item::before {
  content: "";
  position: absolute;
  top: 27px;
  bottom: 27px;
  left: 0;
  width: 1px;
  background: var(--line);
}

.stat-item strong {
  display: block;
  color: var(--gold-bright);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.stat-item span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.stat-live {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 16px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(200, 171, 109, 0.035);
}

.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7fc99b;
  box-shadow: 0 0 0 4px rgba(127, 201, 155, 0.08);
}

.stat-live small {
  display: block;
  color: var(--muted-2);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  line-height: 1.3;
}

.stat-live strong {
  display: block;
  margin-top: 2px;
  color: var(--ink-2);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.3;
}

/* ----------------------------------------------------------------- section */

.section {
  position: relative;
  padding: 76px 0;
  scroll-margin-top: 8px;
}

.section-head {
  margin-bottom: 34px;
}

.section-head h2 {
  margin-top: 17px;
  font-size: clamp(31px, 3.6vw, 45px);
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.24;
  text-wrap: balance;
}

.section-head > p,
.section-head-split > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.section-head-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
}

.section-head-split > div {
  min-width: 0;
  max-width: 720px;
}

.section-head-split > p {
  max-width: 330px;
  flex: none;
  padding-bottom: 5px;
}

.section-head-center {
  max-width: 670px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head-center .eyebrow {
  justify-content: center;
}

.section-head-center > p {
  max-width: 620px;
  margin: 18px auto 0;
  text-wrap: pretty;
}

.section-footnote {
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold);
  font-size: 12.5px;
  font-weight: 600;
  border-bottom: 1px solid rgba(200, 171, 109, 0.25);
  transition: gap 0.22s, color 0.22s, border-color 0.22s;
}

.text-link svg {
  width: 16px;
  height: 16px;
}

.text-link:hover {
  gap: 11px;
  color: var(--gold-bright);
  border-color: var(--gold);
}

/* ---------------------------------------------------------------- features */

.features-section {
  background:
    radial-gradient(ellipse 48% 40% at 88% 0%, rgba(200, 171, 109, 0.045), transparent 70%),
    var(--bg);
}

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

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 306px;
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)),
    rgba(10, 10, 13, 0.7);
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 22px;
  left: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229, 210, 164, 0.72), transparent);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
}

.feature-card::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 171, 109, 0.08), transparent 68%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 171, 109, 0.33);
  background:
    linear-gradient(180deg, rgba(200, 171, 109, 0.065), rgba(255, 255, 255, 0.015)),
    rgba(10, 10, 13, 0.78);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

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

.feature-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background:
    radial-gradient(circle at 30% 15%, rgba(229, 210, 164, 0.12), transparent 62%),
    rgba(200, 171, 109, 0.045);
  color: var(--gold);
}

.feature-icon svg {
  width: 23px;
  height: 23px;
}

.feature-num {
  color: rgba(200, 171, 109, 0.3);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.feature-card h3 {
  margin-top: 29px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.feature-card > p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 22px;
}

.feature-tags span {
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.35;
}

.more-features {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.more-features[hidden] {
  display: none;
}

.more-label {
  flex: none;
  padding-top: 5px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.more-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.more-tags span {
  padding: 5px 10px;
  border: 1px solid var(--white-line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.more-tags span:hover {
  border-color: var(--line-strong);
  background: var(--gold-soft);
  color: var(--ink-2);
}

/* ------------------------------------------------------------------- steps */

.steps-section {
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  background:
    radial-gradient(ellipse 60% 48% at 50% 0%, rgba(200, 171, 109, 0.05), transparent 70%),
    linear-gradient(180deg, #09090c, #0b0b0f 55%, #08080a);
}

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

.steps-grid::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 15%, var(--line-strong) 85%, transparent);
}

.step-card {
  position: relative;
  min-height: 250px;
  padding: 30px 28px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.step-card:first-child {
  padding-left: 0;
}

.step-card:last-child {
  border-right: 0;
  padding-right: 0;
}

.step-num {
  position: absolute;
  top: 13px;
  right: 18px;
  color: rgba(200, 171, 109, 0.11);
  font-family: var(--font-serif);
  font-size: 67px;
  font-weight: 400;
  line-height: 1;
}

.step-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold);
}

.step-icon svg {
  width: 21px;
  height: 21px;
}

.step-card h3 {
  margin-top: 34px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.step-card p {
  max-width: 270px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.steps-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 14px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 12.5px;
}

/* --------------------------------------------------------------- showcase */

.showcase-section {
  background: var(--bg);
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: 56px;
}

.showcase-tabs {
  display: grid;
  gap: 9px;
}

.showcase-tab {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 15px;
  padding: 15px 16px;
  border: 1px solid var(--white-line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.018);
  text-align: left;
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease);
}

.showcase-tab:hover {
  border-color: var(--line-strong);
  background: rgba(200, 171, 109, 0.04);
  transform: translateX(3px);
}

.showcase-tab.is-active {
  border-color: rgba(200, 171, 109, 0.38);
  background:
    linear-gradient(90deg, rgba(200, 171, 109, 0.12), rgba(200, 171, 109, 0.025)),
    rgba(255, 255, 255, 0.018);
  box-shadow: inset 2px 0 0 var(--gold);
}

.tab-index {
  color: var(--muted-2);
  font-size: 9.5px;
  letter-spacing: 0.1em;
}

.showcase-tab.is-active .tab-index {
  color: var(--gold);
}

.tab-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tab-copy strong {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.tab-copy small {
  color: var(--muted);
  font-size: 11px;
}

.tab-arrow {
  margin-left: auto;
  color: var(--muted-2);
  font-size: 15px;
  transition: color 0.2s, transform 0.2s;
}

.showcase-tab.is-active .tab-arrow {
  color: var(--gold);
  transform: translate(2px, -2px);
}

.showcase-detail {
  margin-top: 12px;
  padding: 21px 22px;
  border-left: 1px solid rgba(200, 171, 109, 0.42);
  background: linear-gradient(90deg, rgba(200, 171, 109, 0.055), transparent 88%);
  transition: opacity 0.2s;
}

.showcase-detail p {
  color: var(--ink-2);
  font-size: 12.5px;
  line-height: 1.85;
}

.showcase-detail ul {
  display: grid;
  gap: 7px;
  margin-top: 13px;
}

.showcase-detail li {
  position: relative;
  padding-left: 15px;
  color: var(--muted);
  font-size: 11.5px;
}

.showcase-detail li::before {
  content: "·";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--gold);
  font-size: 16px;
}

.showcase-stage {
  position: relative;
  min-width: 0;
}

.showcase-glow {
  position: absolute;
  inset: 8% 0 0;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(200, 171, 109, 0.14), transparent 70%);
  filter: blur(30px);
}

.app-window-showcase {
  transform: none;
}

.app-window-showcase:hover {
  transform: none;
}

.showcase-screen {
  position: relative;
  background: #0d0d10;
}

.showcase-screen img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  opacity: 1;
  filter: brightness(1.28) contrast(1.05);
  transition: opacity 0.22s ease;
}

.showcase-screen.is-switching img {
  opacity: 0.35;
}

.shot-tag {
  flex: none;
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--gold);
  font-size: 8.5px;
  letter-spacing: 0.08em;
}

.shot-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(8, 8, 10, 0.22));
}

.stage-caption {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.stage-caption-line {
  width: 28px;
  height: 1px;
  background: var(--line-strong);
}

/* --------------------------------------------------------------- download */

.download-section {
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  background:
    radial-gradient(ellipse 55% 46% at 50% 12%, rgba(200, 171, 109, 0.085), transparent 70%),
    linear-gradient(180deg, #09090c, #0b0b0e 50%, #08080a);
}

.download-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(200, 171, 109, 0.22);
  border-radius: 22px;
  background:
    linear-gradient(130deg, rgba(200, 171, 109, 0.05), transparent 42%),
    rgba(10, 10, 13, 0.88);
  box-shadow: var(--shadow-panel), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.download-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 12%;
  left: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229, 210, 164, 0.7), transparent);
}

.download-main {
  padding: 34px 36px 32px;
}

.download-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.download-kicker {
  color: var(--muted-2);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.download-brand h3 {
  margin-top: 5px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.download-brand h3 em {
  margin-left: 6px;
  color: var(--gold);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.download-copy {
  max-width: 520px;
  margin-top: 21px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.download-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.download-meta > div {
  padding: 14px 16px 14px 0;
}

.download-meta > div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.download-meta dt {
  color: var(--muted-2);
  font-size: 9.5px;
  letter-spacing: 0.08em;
}

.download-meta dd {
  margin-top: 5px;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

/* ------------------------------------------------------------ line picker */

.line-picker {
  margin-top: 22px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background:
    linear-gradient(180deg, rgba(200, 171, 109, 0.035), transparent),
    rgba(0, 0, 0, 0.16);
}

.line-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
}

.line-picker-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.line-picker-label {
  color: var(--ink-2);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.line-summary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted-2);
  font-size: 9.5px;
}

.line-refresh {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted-2);
  font-size: 9px;
  white-space: nowrap;
  transition: color 0.2s;
}

.line-refresh svg {
  width: 11px;
  height: 11px;
}

.line-refresh:hover {
  color: var(--gold);
}

.line-refresh.is-loading svg {
  animation: spin 0.9s linear infinite;
}

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

.line-option {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  padding: 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  text-align: left;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.line-option:not(:disabled):hover {
  border-color: var(--line-strong);
  background: rgba(200, 171, 109, 0.055);
}

.line-option:disabled {
  opacity: 0.56;
  cursor: not-allowed;
}

.line-option.is-active {
  border-color: rgba(200, 171, 109, 0.48);
  background:
    linear-gradient(135deg, rgba(200, 171, 109, 0.14), rgba(200, 171, 109, 0.025)),
    rgba(255, 255, 255, 0.015);
  box-shadow: inset 2px 0 0 var(--gold);
}

.line-radio {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
  flex: none;
  border: 1px solid rgba(200, 171, 109, 0.34);
  border-radius: 50%;
}

.line-option.is-active .line-radio {
  border-color: var(--gold);
}

.line-option.is-active .line-radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--gold);
}

.line-main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.line-main strong {
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
}

.line-main small {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  margin-top: 2px;
  padding: 1px 5px;
  border: 1px solid rgba(200, 171, 109, 0.2);
  border-radius: 3px;
  background: rgba(200, 171, 109, 0.06);
  color: var(--gold);
  font-size: 8px;
  font-weight: 500;
  line-height: 1.4;
}

.line-option.is-active .line-main small {
  border-color: rgba(200, 171, 109, 0.38);
  background: rgba(200, 171, 109, 0.11);
  color: var(--gold-bright);
}

.line-option.is-active .line-main strong {
  color: var(--ink);
}

.line-state {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  color: var(--muted-2);
  font-size: 8px;
  white-space: nowrap;
}

.line-dot {
  display: block;
  width: 4px;
  height: 4px;
  flex: none;
  border-radius: 50%;
  background: #6f6b61;
}

.line-dot.is-idle {
  background: #6f6b61;
}

.line-dot.is-checking {
  background: var(--gold);
  animation: glowPulse 1.2s ease-in-out infinite;
}

.line-dot.is-online {
  background: #7fc99b;
  box-shadow: 0 0 0 3px rgba(127, 201, 155, 0.07);
}

.line-dot.is-offline,
.line-dot.is-missing,
.line-dot.is-blocked {
  background: #d68a7e;
  box-shadow: 0 0 0 3px rgba(214, 138, 126, 0.06);
}

.line-option[data-status="online"] .line-state {
  color: #9ec4ae;
}

.line-option[data-status="offline"] .line-state,
.line-option[data-status="timeout"] .line-state,
.line-option[data-status="missing"] .line-state,
.line-option[data-status="blocked"] .line-state {
  color: #d68a7e;
}

.line-disclaimer {
  margin-top: 9px;
  color: var(--muted-2);
  font-size: 8.5px;
  line-height: 1.6;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  margin-top: 18px;
}

.download-cta {
  --btn-h: 62px;
  display: inline-flex;
  min-width: 255px;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  padding: 0 19px;
}

.download-cta-icon {
  display: grid;
  width: 31px;
  height: 31px;
  flex: none;
  place-items: center;
  border: 1px solid rgba(24, 19, 7, 0.18);
  border-radius: 8px;
  background: rgba(24, 19, 7, 0.08);
}

.download-cta-icon svg {
  width: 17px;
  height: 17px;
}

.download-cta-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.2;
}

.download-cta-copy strong {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.download-cta-copy small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(24, 19, 7, 0.68);
  font-size: 9px;
  font-weight: 500;
}

.download-cta-copy .line-dot {
  width: 5px;
  height: 5px;
  background: #467c59;
  box-shadow: none;
}

.download-cta-copy .line-dot.is-idle {
  background: #6b624f;
}

.download-cta-copy .line-dot.is-checking {
  background: #7d622f;
}

.download-cta-copy .line-dot.is-offline,
.download-cta-copy .line-dot.is-timeout,
.download-cta-copy .line-dot.is-missing,
.download-cta-copy .line-dot.is-blocked {
  background: #a4483d;
}

.download-note {
  margin-top: 15px;
  color: var(--muted-2);
  font-size: 10px;
}

.trial-card {
  position: relative;
  overflow: hidden;
  padding: 40px 34px 34px;
  border-left: 1px solid var(--line);
  background:
    radial-gradient(ellipse 100% 70% at 100% 0%, rgba(200, 171, 109, 0.11), transparent 60%),
    linear-gradient(180deg, rgba(200, 171, 109, 0.045), rgba(200, 171, 109, 0.012));
}

.trial-seal {
  position: absolute;
  right: 6px;
  bottom: -40px;
  color: rgba(200, 171, 109, 0.055);
  font-family: var(--font-brush);
  font-size: 190px;
  line-height: 1;
  pointer-events: none;
  transform: rotate(-7deg);
}

.trial-card-head {
  position: relative;
  z-index: 1;
}

.trial-card .eyebrow {
  font-size: 9px;
  letter-spacing: 0.17em;
}

.trial-card h3 {
  margin-top: 18px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.trial-card-head > p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.85;
}

.trial-card .btn {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 27px;
}

.trial-purchase {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 11px;
  transition: color 0.2s;
}

.trial-purchase span {
  color: var(--gold);
  font-size: 13px;
}

.trial-purchase:hover {
  color: var(--gold-bright);
}

.trial-note {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(200, 171, 109, 0.1);
  color: var(--muted-2);
  font-size: 9.5px;
  line-height: 1.7;
}

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

.resource-row > a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--white-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.018);
  transition: border-color 0.22s, background 0.22s, transform 0.22s var(--ease);
}

.resource-row > a:hover {
  border-color: var(--line-strong);
  background: rgba(200, 171, 109, 0.04);
  transform: translateY(-2px);
}

.resource-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--gold-soft);
  color: var(--gold);
}

.resource-icon svg {
  width: 17px;
  height: 17px;
}

.resource-row small {
  display: block;
  color: var(--muted-2);
  font-size: 7.5px;
  letter-spacing: 0.15em;
  line-height: 1.3;
}

.resource-row strong {
  display: block;
  margin-top: 2px;
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 500;
}

.resource-row > a > i {
  margin-left: auto;
  color: var(--muted-2);
  font-size: 13px;
  font-style: normal;
}

.update-line {
  display: grid;
  gap: 0;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px dashed rgba(200, 171, 109, 0.2);
  border-radius: 10px;
  color: var(--muted);
  font-size: 11px;
}

.update-entry {
  min-width: 0;
}

.update-entry-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

.update-entry + .update-entry {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px dashed rgba(200, 171, 109, 0.16);
}

.update-entry.is-previous .update-label {
  color: var(--muted-2);
}

.update-label {
  color: var(--gold);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.update-version {
  color: var(--ink-2);
  font-weight: 600;
}

.update-title {
  color: var(--ink-2);
}

.update-date {
  color: var(--muted-2);
}

.update-entry p {
  width: 100%;
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  color: var(--muted-2);
  line-height: 1.7;
  white-space: pre-line;
}

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

.faq-section {
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  background:
    radial-gradient(ellipse 42% 48% at 5% 30%, rgba(200, 171, 109, 0.045), transparent 70%),
    #09090c;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 86px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 120px;
}

.faq-intro h2 {
  margin-top: 19px;
  font-size: clamp(30px, 3.2vw, 41px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.32;
  white-space: pre-line;
}

.faq-intro > p {
  white-space: pre-line;
}

.faq-intro > p {
  margin-top: 21px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.faq-intro .text-link {
  margin-top: 24px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 0;
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.7;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--ink);
}

.faq-q {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  flex: none;
  margin-top: 1px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 10px;
  line-height: 1;
}

.faq-item summary span:nth-child(2) {
  flex: 1;
}

.faq-item summary i {
  position: relative;
  display: block;
  width: 14px;
  height: 14px;
  flex: none;
  margin-top: 5px;
}

.faq-item summary i::before,
.faq-item summary i::after {
  content: "";
  position: absolute;
  top: 6.5px;
  left: 1px;
  width: 12px;
  height: 1px;
  background: var(--muted);
  transition: transform 0.25s, background 0.25s;
}

.faq-item summary i::after {
  transform: rotate(90deg);
}

.faq-item[open] summary {
  color: var(--ink);
}

.faq-item[open] summary i::before {
  background: var(--gold);
}

.faq-item[open] summary i::after {
  transform: rotate(0deg);
  background: var(--gold);
}

.faq-answer {
  padding: 0 30px 18px 38px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.95;
}

/* ----------------------------------------------------------------- closing */

.closing-section {
  padding: 24px 0 32px;
  background: #08080a;
}

.closing-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 38px;
  overflow: hidden;
  padding: 32px 40px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(ellipse 45% 130% at 92% 20%, rgba(200, 171, 109, 0.1), transparent 70%),
    linear-gradient(110deg, rgba(200, 171, 109, 0.06), rgba(255, 255, 255, 0.012) 55%, rgba(200, 171, 109, 0.03));
}

.closing-inner::before {
  content: "江 湖";
  position: absolute;
  top: 10px;
  right: 21%;
  color: rgba(200, 171, 109, 0.04);
  font-family: var(--font-brush);
  font-size: 150px;
  line-height: 1;
  pointer-events: none;
}

.closing-seal {
  display: grid;
  width: 72px;
  height: 88px;
  place-items: center;
  flex: none;
  border: 1px solid rgba(200, 171, 109, 0.26);
  border-radius: 8px;
  color: rgba(200, 171, 109, 0.66);
  font-family: var(--font-brush);
  font-size: 25px;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-align: center;
}

.closing-copy {
  position: relative;
  z-index: 1;
}

.closing-copy h2 {
  margin-top: 14px;
  color: var(--gold-bright);
  font-family: var(--font-brush);
  font-size: clamp(27px, 3.1vw, 38px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-wrap: balance;
}

.closing-copy h2 em {
  color: inherit;
  font-family: var(--font-brush);
  font-size: 1em;
  font-style: normal;
  font-weight: 400;
}

.closing-copy > p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
}

.closing-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
}

.closing-actions .btn {
  --btn-h: 48px;
  padding: 0 20px;
  font-size: 13px;
}

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

.site-footer {
  padding: 58px 0 26px;
  border-top: 1px solid var(--line);
  background: #060608;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  gap: 48px;
  padding-bottom: 44px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-brand > p {
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 10.5px;
}

.footer-contact[hidden] {
  display: none;
}

.footer-icp {
  color: var(--muted-2);
}

.footer-icp[hidden] {
  display: none;
}

.footer-links {
  display: flex;
  gap: 90px;
}

.footer-links h3 {
  margin-bottom: 15px;
  color: var(--muted-2);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.17em;
}

.footer-links a {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
  transition: color 0.2s;
}

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

.footer-disclaimer {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 17px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.015);
}

.disclaimer-mark {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  flex: none;
  margin-top: 1px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 9px;
  line-height: 1;
}

.footer-disclaimer p {
  color: var(--muted-2);
  font-size: 10.5px;
  line-height: 1.8;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  color: var(--muted-2);
  font-size: 10px;
}

.footer-bottom-sep {
  width: 1px;
  height: 9px;
  background: var(--line-strong);
}

.back-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  color: var(--ink-2);
  font-size: 10px;
  line-height: 1.2;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.back-top span {
  display: inline-block;
  color: var(--gold);
  transition: transform 0.2s;
}

.back-top:hover {
  border-color: var(--line-strong);
  background: var(--gold-soft);
  color: var(--ink);
}

.back-top:hover span {
  transform: translateY(-2px);
}

/* ------------------------------------------------------------------- modal */

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 22px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.28s, visibility 0.28s;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 6, 0.76);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(458px, 100%);
  max-height: calc(100svh - 44px);
  overflow: auto;
  padding: 34px 34px 30px;
  border: 1px solid rgba(200, 171, 109, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(200, 171, 109, 0.1), transparent 65%),
    #0d0d11;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transform: translateY(12px) scale(0.985);
  transition: transform 0.3s var(--ease);
}

.modal.is-open .modal-card {
  transform: none;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--white-line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s;
}

.modal-close:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.modal-close svg {
  width: 15px;
  height: 15px;
}

.modal-kicker {
  display: block;
  color: var(--gold);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.modal-card h2 {
  margin-top: 12px;
  font-size: 29px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.modal-desc {
  margin-top: 9px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

#trialForm {
  margin-top: 24px;
}

.field {
  margin-top: 15px;
}

.field label {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 7px;
  color: var(--ink-2);
  font-size: 11.5px;
  font-weight: 500;
}

.field label span {
  color: var(--gold);
}

.field label small {
  margin-left: 4px;
  color: var(--muted-2);
  font-size: 9.5px;
  font-weight: 400;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.6;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.field input {
  height: 43px;
  padding: 0 13px;
}

.field textarea {
  min-height: 84px;
  padding: 11px 13px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #5f5b52;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(200, 171, 109, 0.55);
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 0 3px rgba(200, 171, 109, 0.07);
}

.field input.is-error,
.field textarea.is-error {
  border-color: rgba(214, 113, 100, 0.65);
}

#trialForm .btn {
  margin-top: 21px;
}

.form-note {
  margin-top: 12px;
  color: var(--muted-2);
  font-size: 9.5px;
  line-height: 1.7;
  text-align: center;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-success {
  padding-top: 22px;
  text-align: center;
}

.form-success[hidden] {
  display: none;
}

.success-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin: 0 auto 16px;
  border: 1px solid rgba(127, 201, 155, 0.35);
  border-radius: 50%;
  background: rgba(127, 201, 155, 0.08);
  color: #8ed4a9;
}

.success-icon svg {
  width: 24px;
  height: 24px;
}

.form-success h3 {
  font-size: 20px;
  font-weight: 600;
}

.form-success p {
  max-width: 300px;
  margin: 9px auto 19px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

/* ------------------------------------------------------------------- toast */

.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  z-index: 1200;
  max-width: calc(100% - 40px);
  padding: 11px 17px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(17, 17, 21, 0.96);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.5;
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ------------------------------------------------------------------ reveal */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  }

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

  .js .feature-card:nth-child(2) {
    transition-delay: 0.07s;
  }

  .js .feature-card:nth-child(3) {
    transition-delay: 0.14s;
  }

  .js .feature-card:nth-child(4) {
    transition-delay: 0.21s;
  }
}

@media print {
  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

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

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

/* ------------------------------------------------------------------ animes */

@keyframes glowPulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(200, 171, 109, 0.08);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(200, 171, 109, 0.02);
  }
}

@keyframes scrollTrace {
  0% {
    transform: translateY(-110%);
  }
  55%,
  100% {
    transform: translateY(240%);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

@media (max-width: 1120px) {
  .hero-inner {
    gap: 40px;
  }

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

  .feature-card {
    min-height: 300px;
  }

  .vertical-copy {
    display: none;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 68px;
  }

  .container {
    width: min(var(--container), calc(100% - 40px));
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-panel {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 799;
    display: block;
    height: calc(100svh - var(--header-h));
    visibility: hidden;
    padding: 20px 20px 40px;
    background:
      radial-gradient(ellipse 80% 35% at 50% 0%, rgba(200, 171, 109, 0.07), transparent 70%),
      #08080a;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
    overflow-y: auto;
  }

  .site-header.menu-open .mobile-panel {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .mobile-panel nav {
    max-width: 560px;
    margin: 0 auto;
    border-top: 1px solid var(--line);
  }

  .mobile-panel nav a {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 4px;
    border-bottom: 1px solid var(--line);
    color: var(--ink-2);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.05em;
  }

  .mobile-panel nav a span {
    color: var(--gold);
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .mobile-panel .btn {
    max-width: 560px;
    margin: 24px auto 0;
  }

  .site-header.menu-open {
    background: #08080a;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 62px;
    min-height: 0;
  }

  .hero-copy {
    max-width: 660px;
    padding-top: 0;
  }

  .hero-visual {
    width: 100%;
    max-width: 690px;
    margin: 0 auto;
  }

  .hero-title {
    font-size: clamp(46px, 9vw, 70px);
  }

  .hero-title-brush {
    padding-bottom: 4px;
    font-size: 0.93em;
  }

  .app-stage {
    max-width: 640px;
  }

  .hero-bottom {
    margin-top: 38px;
  }

  .hero-orbit-a {
    right: -220px;
  }

  .hero-orbit-b {
    right: -110px;
  }

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

  .stat-live {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .section-head-split {
    display: block;
  }

  .section-head-split > p {
    max-width: 560px;
    margin-top: 16px;
    padding-bottom: 0;
  }

  .section-head {
    margin-bottom: 28px;
  }

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

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

  .showcase-tab {
    display: block;
    padding: 15px;
  }

  .showcase-tab .tab-index {
    display: block;
    margin-bottom: 10px;
  }

  .showcase-tab .tab-arrow {
    display: none;
  }

  .tab-copy small {
    margin-top: 2px;
  }

  .showcase-detail {
    grid-column: 1 / -1;
    margin-top: 3px;
  }

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

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

  .trial-card {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .faq-intro {
    position: static;
  }

  .faq-intro > p br {
    display: none;
  }

  .closing-inner {
    grid-template-columns: auto 1fr;
  }

  .closing-actions {
    grid-column: 1 / -1;
    padding-top: 6px;
  }

  .footer-top {
    gap: 30px;
  }

  .footer-links {
    gap: 58px;
  }
}

@media (max-width: 700px) {
  .container {
    width: calc(100% - 36px);
  }

  .header-actions {
    gap: 8px;
  }

  .version-pill {
    display: none;
  }

  .header-download {
    display: none;
  }

  .hero {
    padding-top: 26px;
    padding-bottom: 18px;
  }

  .hero-eyebrow {
    margin-bottom: 20px;
    font-size: 9px;
    letter-spacing: 0.16em;
  }

  .hero-title {
    font-size: clamp(39px, 11.2vw, 56px);
    line-height: 1.17;
  }

  .hero-title-brush {
    font-size: 0.88em;
    line-height: 1.16;
  }

  .hero-desc {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.85;
  }

  .hero-points {
    gap: 8px 13px;
    margin-top: 17px;
  }

  .hero-points li {
    font-size: 11.5px;
  }

  .hero-cta {
    gap: 9px;
    margin-top: 25px;
  }

  .hero-download {
    width: 100%;
  }

  .hero-download-main {
    --btn-h: 54px;
    width: 100%;
    padding: 0 16px;
  }

  .hero-line-chip {
    min-height: 42px;
    padding: 8px 8px;
  }

  .hero-line-chip .line-main strong {
    font-size: 10px;
  }

  .hero-line-chip .line-state {
    font-size: 9px;
  }

  .hero-cta > .btn {
    --btn-h: 49px;
    flex: 1 1 100%;
    width: 100%;
    min-width: 145px;
    padding: 0 16px;
    font-size: 13.5px;
  }

  .hero-meta {
    font-size: 10.5px;
  }

  .hero-shortcuts {
    gap: 6px;
  }

  .hero-shortcut {
    min-height: 62px;
    padding: 7px 8px;
    gap: 6px;
  }

  .hero-shortcut-icon {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }

  .hero-shortcut-copy strong {
    font-size: 10px;
  }

  .hero-shortcut-copy small {
    font-size: 6px;
  }

  .hero-shortcut-arrow {
    display: none;
  }

  .hero-announcement {
    margin-top: 22px;
    padding-top: 16px;
    font-size: 11px;
  }

  .hero-announcement a {
    display: none;
  }

  .app-caption {
    margin-top: 12px;
  }

  .hero-bottom {
    display: none;
  }

  .ink-hills {
    height: 190px;
    opacity: 0.65;
  }

  .stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
    padding: 7px 0;
  }

  .stat-item {
    padding: 17px 16px;
  }

  .stat-item:first-child,
  .stat-item:nth-child(3) {
    padding-left: 0;
  }

  .stat-item:nth-child(3)::before {
    display: none;
  }

  .stat-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .stat-item + .stat-item::before {
    top: 20px;
    bottom: 20px;
  }

  .stat-item strong {
    font-size: 24px;
  }

  .section {
    padding: 54px 0;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .section-head h2 {
    margin-top: 14px;
    font-size: 29px;
  }

  .section-head > p,
  .section-head-split > p {
    font-size: 13px;
  }

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

  .feature-card {
    min-height: 0;
    padding: 22px 20px;
  }

  .feature-card h3 {
    margin-top: 22px;
  }

  .feature-card > p {
    font-size: 12.5px;
  }

  .more-features {
    display: block;
    margin-top: 25px;
    padding-top: 19px;
  }

  .more-label {
    display: block;
    margin-bottom: 11px;
  }

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

  .steps-grid::before {
    display: none;
  }

  .step-card {
    min-height: 0;
    padding: 25px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .step-card:first-child {
    padding-left: 0;
  }

  .step-card:last-child {
    border-bottom: 0;
    padding-right: 0;
  }

  .step-num {
    top: 20px;
    right: 0;
    font-size: 53px;
  }

  .step-card h3 {
    margin-top: 22px;
  }

  .step-card p {
    max-width: 300px;
  }

  .steps-foot {
    display: block;
    padding-top: 21px;
  }

  .steps-foot .text-link {
    margin-top: 12px;
  }

  .showcase-tabs {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }

  .showcase-tab {
    display: flex;
    padding: 14px 15px;
  }

  .showcase-tab .tab-index {
    display: inline;
    margin: 0;
  }

  .showcase-detail {
    padding: 15px 16px;
  }

  .showcase-detail ul {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .download-main {
    padding: 28px 20px 26px;
  }

  .download-brand h3 {
    font-size: 23px;
  }

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

  .download-meta > div {
    padding: 11px 0;
  }

  .download-meta > div + div {
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 0;
  }

  .line-picker {
    padding: 12px;
  }

  .line-options {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .line-option {
    padding: 10px 11px;
  }

  .line-state {
    font-size: 9px;
  }

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

  .download-actions .btn {
    width: 100%;
    padding: 0 16px;
  }

  .download-cta {
    justify-content: flex-start;
    min-width: 0;
  }

  .trial-card {
    padding: 28px 20px 26px;
  }

  .trial-card h3 {
    font-size: 25px;
  }

  .trial-seal {
    font-size: 150px;
  }

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

  .update-line {
    padding: 14px;
  }

  .update-entry p {
    font-size: 10.5px;
  }

  .faq-layout {
    gap: 30px;
  }

  .faq-intro h2 {
    font-size: 29px;
  }

  .faq-item summary {
    gap: 11px;
    padding: 18px 0;
    font-size: 13.5px;
  }

  .faq-answer {
    padding: 0 18px 19px 34px;
    font-size: 12px;
  }

  .closing-section {
    padding-bottom: 72px;
  }

  .closing-inner {
    display: block;
    padding: 29px 23px;
  }

  .closing-seal {
    width: 48px;
    height: 58px;
    font-size: 19px;
    margin-bottom: 20px;
  }

  .closing-copy h2 {
    font-size: 27px;
  }

  .closing-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin-top: 22px;
  }

  .closing-actions .btn {
    width: 100%;
  }

  .footer-top {
    display: block;
  }

  .footer-links {
    gap: 50px;
    margin-top: 32px;
  }

  .footer-disclaimer {
    margin-top: 28px;
  }

  .footer-bottom {
    flex-wrap: wrap;
    gap: 8px 10px;
  }

  .back-top {
    width: 100%;
    margin-top: 4px;
  }

  .modal {
    padding: 12px;
  }

  .modal-card {
    padding: 29px 21px 24px;
    max-height: calc(100svh - 24px);
  }

  .modal-card h2 {
    font-size: 26px;
  }
}

@media (max-width: 390px) {
  .container {
    width: calc(100% - 30px);
  }

  .brand-copy small {
    display: none;
  }

  .hero-title {
    font-size: 36px;
  }

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

  .hero-cta .btn {
    width: 100%;
  }

}

/* ------------------------------------------------------------------ theme */
.theme-toggle {
  display: inline-flex;
  height: 34px;
  align-items: center;
  gap: 6px;
  padding: 0 10px 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.theme-toggle:hover {
  border-color: var(--line-strong);
  background: var(--gold-soft);
  color: var(--ink);
}

.theme-toggle-icon {
  position: relative;
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  color: var(--gold);
}

.theme-icon {
  display: none;
  width: 15px;
  height: 15px;
}

html[data-theme-mode="auto"] .theme-icon-auto,
html[data-theme-mode="light"] .theme-icon-light,
html[data-theme-mode="dark"] .theme-icon-dark {
  display: block;
}

@media (max-width: 480px) {
  .theme-toggle-label {
    display: none;
  }

  .theme-toggle {
    padding: 0 8px;
  }
}

/* Light theme */
:root[data-theme="light"] {
  --bg: #ffffff;
  --bg-soft: #eef4ff;
  --bg-elev: #ffffff;
  --ink: #0f1b2d;
  --ink-2: #24344c;
  --muted: #5b6b82;
  --muted-2: #8390a4;
  --gold: #2f6fed;
  --gold-bright: #1d4fbd;
  --gold-deep: #6f9bf5;
  --gold-soft: rgba(47, 111, 237, 0.1);
  --line: rgba(47, 111, 237, 0.17);
  --line-strong: rgba(47, 111, 237, 0.3);
  --white-line: rgba(15, 27, 45, 0.1);
  --glass: rgba(255, 255, 255, 0.58);
  --glass-2: rgba(255, 255, 255, 0.78);
  --shadow-panel: 0 24px 60px rgba(28, 60, 120, 0.12);
  color-scheme: light;
}

html[data-theme="light"] {
  scrollbar-color: rgba(47, 111, 237, 0.35) #ffffff;
}

html[data-theme="light"] ::-webkit-scrollbar-track {
  background: #ffffff;
}

html[data-theme="light"] ::-webkit-scrollbar-thumb {
  border-color: #ffffff;
  background: rgba(47, 111, 237, 0.35);
}

html[data-theme="light"] body {
  background: var(--bg);
}

html[data-theme="light"] .site-header {
  background: #ffffff;
  border-bottom-color: var(--line);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html[data-theme="light"] .site-header.is-scrolled {
  background: #ffffff;
  border-bottom-color: var(--line);
}

html[data-theme="light"] .site-header.menu-open {
  background: #ffffff;
}

html[data-theme="light"] .mobile-panel {
  background:
    radial-gradient(ellipse 80% 35% at 50% 0%, rgba(47, 111, 237, 0.08), transparent 70%),
    #f7faff;
}

html[data-theme="light"] .menu-toggle {
  background: rgba(255, 255, 255, 0.62);
}

html[data-theme="light"] .hero {
  background:
    radial-gradient(ellipse 54% 52% at 74% 31%, rgba(47, 111, 237, 0.08), transparent 70%),
    linear-gradient(180deg, #fbfdff 0%, #eef5ff 76%, #f7faff 100%);
}

html[data-theme="light"] .hero-grid-lines {
  background-image:
    linear-gradient(rgba(47, 111, 237, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 111, 237, 0.07) 1px, transparent 1px);
  opacity: 0.7;
}

html[data-theme="light"] .hero-halo {
  background: radial-gradient(circle, rgba(47, 111, 237, 0.16) 0%, rgba(47, 111, 237, 0.04) 38%, transparent 68%);
}

html[data-theme="light"] .hero-title-brush {
  background: linear-gradient(100deg, #1c4fa8 0%, #4f86f7 42%, #2b62cf 74%, #123a80 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

html[data-theme="light"] .vertical-copy {
  color: rgba(47, 111, 237, 0.18);
}

html[data-theme="light"] .hero-shortcut {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.62);
}

html[data-theme="light"] .hero-shortcut:hover {
  border-color: var(--line-strong);
  background: rgba(47, 111, 237, 0.08);
}

html[data-theme="light"] .line-option {
  border-color: var(--white-line);
  background: rgba(255, 255, 255, 0.58);
}

html[data-theme="light"] .line-option.is-active {
  border-color: rgba(47, 111, 237, 0.5);
  background:
    linear-gradient(135deg, rgba(47, 111, 237, 0.13), rgba(47, 111, 237, 0.025)),
    rgba(255, 255, 255, 0.7);
}

html[data-theme="light"] .line-option:not(:disabled):hover {
  background: rgba(47, 111, 237, 0.07);
}

html[data-theme="light"] .stats-section {
  background: rgba(255, 255, 255, 0.94);
}

html[data-theme="light"] .stat-live {
  background: rgba(255, 255, 255, 0.55);
}

html[data-theme="light"] .feature-card {
  border-color: var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 253, 248, 0.4)),
    #ffffff;
  box-shadow: 0 18px 40px rgba(28, 60, 120, 0.08);
}

html[data-theme="light"] .showcase-tab {
  border-color: var(--white-line);
  background: rgba(255, 255, 255, 0.55);
}

html[data-theme="light"] .showcase-tab:hover {
  background: rgba(47, 111, 237, 0.07);
}

html[data-theme="light"] .showcase-tab.is-active {
  border-color: rgba(47, 111, 237, 0.4);
  background:
    linear-gradient(90deg, rgba(47, 111, 237, 0.13), rgba(47, 111, 237, 0.025)),
    rgba(255, 255, 255, 0.65);
}

html[data-theme="light"] .showcase-detail {
  background: linear-gradient(90deg, rgba(47, 111, 237, 0.08), transparent 88%);
}

html[data-theme="light"] .download-section {
  border-top-color: var(--line);
  background:
    radial-gradient(ellipse 55% 46% at 50% 12%, rgba(47, 111, 237, 0.1), transparent 70%),
    linear-gradient(180deg, #f3f8ff, #fbfdff 50%, #ffffff);
}

html[data-theme="light"] .download-panel {
  border-color: rgba(47, 111, 237, 0.25);
  background:
    linear-gradient(130deg, rgba(47, 111, 237, 0.06), transparent 42%),
    rgba(255, 253, 248, 0.94);
  box-shadow: var(--shadow-panel), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

html[data-theme="light"] .line-picker {
  border-color: var(--line);
  background:
    linear-gradient(180deg, rgba(47, 111, 237, 0.04), transparent),
    rgba(255, 255, 255, 0.65);
}

html[data-theme="light"] .resource-row > a {
  border-color: var(--white-line);
  background: rgba(255, 255, 255, 0.62);
}

html[data-theme="light"] .resource-row > a:hover {
  background: rgba(47, 111, 237, 0.08);
}

html[data-theme="light"] .update-line {
  border-color: rgba(47, 111, 237, 0.28);
  background: rgba(255, 255, 255, 0.35);
}

html[data-theme="light"] .update-entry + .update-entry {
  border-top-color: var(--white-line);
}

html[data-theme="light"] .update-entry p {
  border-top-color: var(--white-line);
}

html[data-theme="light"] .faq-section {
  border-top-color: var(--line);
  background:
    radial-gradient(ellipse 42% 48% at 5% 30%, rgba(47, 111, 237, 0.06), transparent 70%),
    #f3f8ff;
}

html[data-theme="light"] .faq-q {
  background: rgba(47, 111, 237, 0.08);
}

html[data-theme="light"] .site-footer {
  border-top-color: var(--line);
  background: #eef4ff;
}

html[data-theme="light"] .footer-disclaimer {
  border-color: var(--white-line);
  background: rgba(255, 255, 255, 0.45);
}

html[data-theme="light"] .footer-bottom {
  border-top-color: var(--white-line);
}

html[data-theme="light"] .btn-ghost {
  background: rgba(255, 255, 255, 0.5);
  border-color: var(--line-strong);
  color: var(--ink);
}

html[data-theme="light"] .btn-ghost:hover {
  background: rgba(47, 111, 237, 0.08);
}

html[data-theme="light"] .theme-toggle {
  background: rgba(255, 255, 255, 0.5);
}

html[data-theme="light"] .theme-toggle:hover {
  background: rgba(47, 111, 237, 0.08);
}

html[data-theme="light"] .feature-card::after,
html[data-theme="light"] .download-panel::before {
  opacity: 0.65;
}

html[data-theme="light"] .closing-section {
  background: var(--bg);
}

html[data-theme="light"] .closing-inner {
  background:
    radial-gradient(ellipse 45% 130% at 92% 20%, rgba(47, 111, 237, 0.1), transparent 70%),
    linear-gradient(110deg, rgba(47, 111, 237, 0.06), rgba(255, 255, 255, 0.5) 55%, rgba(47, 111, 237, 0.04));
}

html[data-theme="light"] .closing-inner::before {
  color: rgba(47, 111, 237, 0.06);
}

/* Blue primary buttons in light theme */
html[data-theme="light"] .btn-primary {
  border-color: rgba(255, 255, 255, 0.32);
  background: linear-gradient(115deg, #6f9dff 0%, #2f6fed 52%, #1f57c7 100%);
  color: #ffffff;
  box-shadow:
    0 8px 24px rgba(47, 111, 237, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

html[data-theme="light"] .btn-primary:hover {
  background: linear-gradient(115deg, #84acff 0%, #3f7cf4 52%, #2a63d6 100%);
  box-shadow:
    0 12px 32px rgba(47, 111, 237, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

html[data-theme="light"] .hero-download-icon,
html[data-theme="light"] .download-cta-icon {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

html[data-theme="light"] .hero-download-copy small,
html[data-theme="light"] .download-cta-copy small {
  color: rgba(255, 255, 255, 0.8);
}

html[data-theme="light"] .hero-download-copy strong,
html[data-theme="light"] .download-cta-copy strong {
  color: #ffffff;
}






















@media (max-width: 900px) {
  .footer-top {
    display: block;
  }

  .footer-disclaimer {
    margin-top: 28px;
  }
}






/* Nav anchor: bring section heading close to the sticky header */
@media (max-width: 1120px) {
  .section {
    scroll-margin-top: 20px;
  }
}

@media (max-width: 700px) {
  .section {
    scroll-margin-top: 30px;
  }
}

/* ------------------------------------------------------------ notice modal */

.notice-modal {
  z-index: 1100;
}

.notice-modal .modal-card {
  width: min(520px, 100%);
  border-color: var(--line-strong);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, var(--gold-soft), transparent 65%),
    var(--bg-elev);
  box-shadow: var(--shadow-panel), inset 0 1px 0 var(--white-line);
}

.notice-body {
  max-height: 45vh;
  margin-top: 16px;
  overflow: auto;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.9;
  white-space: pre-line;
}

.notice-body:empty {
  display: none;
}

.notice-actions {
  margin-top: 22px;
}

.notice-actions .btn {
  width: 100%;
}

/* Center notice heading and body text */
.notice-modal .modal-kicker,
.notice-modal .modal-card h2,
.notice-body {
  text-align: center;
}
