:root {
  --obsidian: #060a10;
  --coal-blue: #111b26;
  --steel-night: #1b2b3c;
  --ember: #d9503f;
  --ember-glow: rgba(217, 80, 63, 0.35);
  --bronze: #c58a3a;
  --bronze-deep: #8e5b20;
  --frost: #59c7c2;
  --text-primary: #e9eef2;
  --text-secondary: #91a1b3;
  --line: #2b3949;
  --panel: rgba(255, 255, 255, 0.03);
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  --soft-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: ui-rounded, "SF Pro Rounded", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 12% 8%, rgba(217, 80, 63, 0.14), transparent 28rem),
    radial-gradient(circle at 88% 14%, rgba(89, 199, 194, 0.1), transparent 24rem),
    radial-gradient(circle at 50% 100%, rgba(197, 138, 58, 0.08), transparent 32rem),
    linear-gradient(145deg, var(--obsidian), var(--coal-blue) 48%, var(--obsidian));
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(43, 57, 73, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 57, 73, 0.22) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

a {
  color: inherit;
}

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

.site-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(6, 10, 16, 0.82);
  border-bottom: 1px solid rgba(43, 57, 73, 0.65);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(197, 138, 58, 0.35), var(--soft-shadow);
}

.brand span {
  font-size: 1.02rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  min-height: 40px;
  padding: 9px 13px;
  border-radius: 12px;
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(197, 138, 58, 0.35);
  color: var(--bronze);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: 72px 0 56px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: 0.06em;
}

.hero .subtitle {
  margin: 0 0 18px;
  color: var(--bronze);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.lede {
  margin: 0 0 24px;
  max-width: 36rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.button.primary {
  color: var(--obsidian);
  background: linear-gradient(135deg, var(--bronze), var(--ember));
  box-shadow: 0 10px 28px var(--ember-glow);
}

.button.secondary {
  color: var(--text-primary);
  border: 1px solid rgba(89, 199, 194, 0.35);
  background: rgba(27, 43, 60, 0.55);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-ring {
  position: absolute;
  width: min(360px, 88%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(197, 138, 58, 0.28);
  box-shadow: inset 0 0 40px rgba(217, 80, 63, 0.08);
}

.hero-ring.inner {
  width: min(300px, 74%);
  border-style: dashed;
  border-color: rgba(217, 80, 63, 0.22);
}

.hero-phone {
  position: relative;
  width: min(280px, 72vw);
  padding: 12px;
  border-radius: 34px;
  background: linear-gradient(160deg, rgba(43, 57, 73, 0.9), rgba(17, 27, 38, 0.95));
  border: 1px solid rgba(89, 199, 194, 0.18);
  box-shadow: var(--shadow);
}

.hero-phone img {
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.section {
  padding: 56px 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  color: var(--text-secondary);
}

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

.card {
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--panel), rgba(17, 27, 38, 0.88));
  border: 1px solid rgba(43, 57, 73, 0.85);
  box-shadow: var(--soft-shadow);
}

.card .icon {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.card.ember {
  border-color: rgba(217, 80, 63, 0.35);
  box-shadow: 0 16px 40px rgba(217, 80, 63, 0.08);
}

.card.bronze {
  border-color: rgba(197, 138, 58, 0.35);
}

.card.frost {
  border-color: rgba(89, 199, 194, 0.35);
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  align-items: start;
}

.shot {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--steel-night);
  border: 1px solid rgba(43, 57, 73, 0.9);
  box-shadow: var(--soft-shadow);
}

.shot img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  object-position: top center;
}

.shot figcaption {
  padding: 10px 12px 12px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  border-top: 1px solid rgba(43, 57, 73, 0.65);
}

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

.feature-band article {
  padding: 22px 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(27, 43, 60, 0.75), rgba(17, 27, 38, 0.92));
  border: 1px solid rgba(43, 57, 73, 0.85);
}

.feature-band strong {
  display: block;
  margin-bottom: 6px;
  color: var(--bronze);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.feature-band h3 {
  margin: 0 0 8px;
}

.feature-band p {
  margin: 0;
  color: var(--text-secondary);
}

.support-band {
  padding: 34px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(217, 80, 63, 0.12), rgba(89, 199, 194, 0.08)),
    linear-gradient(145deg, rgba(17, 27, 38, 0.95), rgba(6, 10, 16, 0.98));
  border: 1px solid rgba(197, 138, 58, 0.28);
  box-shadow: var(--shadow);
}

.support-band h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.support-band p {
  margin: 0 0 20px;
  max-width: 52rem;
  color: var(--text-secondary);
}

.site-footer {
  margin-top: 24px;
  padding: 28px 0 36px;
  border-top: 1px solid rgba(43, 57, 73, 0.75);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  color: var(--text-secondary);
  font-size: 0.86rem;
}

.footer-inner a {
  color: var(--frost);
  text-decoration: none;
  font-weight: 700;
}

.footer-inner a:hover {
  text-decoration: underline;
}

.legal-shell {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 64px;
}

.legal-hero {
  margin-bottom: 24px;
}

.legal-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(27, 43, 60, 0.8);
  border: 1px solid rgba(43, 57, 73, 0.9);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 700;
}

.legal-card {
  padding: 28px 30px;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--panel), rgba(17, 27, 38, 0.92));
  border: 1px solid rgba(43, 57, 73, 0.9);
  box-shadow: var(--soft-shadow);
}

.legal-card h2 {
  margin: 28px 0 10px;
  font-size: 1.15rem;
  color: var(--bronze);
}

.legal-card h2:first-of-type {
  margin-top: 18px;
}

.legal-card p,
.legal-card li {
  color: var(--text-secondary);
}

.legal-card ul {
  padding-left: 1.2rem;
}

.legal-card li + li {
  margin-top: 8px;
}

@media (max-width: 960px) {
  .hero,
  .section-head {
    grid-template-columns: 1fr;
  }

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

  .feature-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .grid,
  .screenshot-gallery {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 40px;
  }

  .legal-card {
    padding: 22px 18px;
  }
}
