:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #121212;
  --panel-strong: #1b1b1b;
  --text: #f6f6f4;
  --muted: #a5a5a0;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #ff9f0a;
  --accent-soft: rgba(255, 159, 10, 0.14);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(20px, calc((100vw - 1080px) / 2));
  background: rgba(5, 5, 5, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand img,
.app-card img {
  border-radius: 12px;
  object-fit: cover;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
}

nav a {
  color: var(--muted);
}

main {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: center;
  padding: 66px 0 44px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(44px, 8vw, 82px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  color: #d8d8d4;
  font-size: 19px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
}

.primary {
  color: #050505;
  background: var(--accent);
}

.secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: #161616;
}

.app-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.app-card dl {
  margin: 22px 0 0;
}

.app-card div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  text-align: right;
  font-weight: 700;
}

.section {
  scroll-margin-top: 86px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

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

article,
.support-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

article {
  padding: 18px;
}

article p,
.legal p,
.section > p {
  color: #d2d2ce;
}

.support-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 16px 18px;
  background: var(--panel-strong);
}

.support-box span,
.date {
  color: var(--muted);
}

.legal h3 {
  margin-top: 22px;
}

footer {
  width: min(1080px, calc(100% - 40px));
  margin: 34px auto 0;
  padding: 22px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer p {
  margin-bottom: 6px;
}

@media (max-width: 780px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  nav {
    gap: 12px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 44px;
  }

  .app-card {
    max-width: 360px;
  }

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

  .support-box {
    align-items: flex-start;
    flex-direction: column;
  }
}
