:root {
  --ink: #0b0b0d;
  --panel: #141414;
  --panel-2: #1a1812;
  --gold: #c9a227;
  --gold-light: #e3c15c;
  --cream: #fbf8f1;
  --paper: #f4efe3;
  --muted: #6e6658;
  --muted-dark: #bdb5a4;
  --line: #e5dccb;
  --line-dark: #2e2a20;
  --safe: #8ea889;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.75 -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--gold); color: var(--ink); }

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

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 11, 13, .92);
  border-bottom: 1px solid #242016;
  backdrop-filter: blur(14px);
}
.nav-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand strong { color: var(--cream); font-size: 18px; letter-spacing: .5px; }
.brand span { color: var(--gold); }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a {
  color: #cfc7b7;
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--gold-light); }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, #2d2614 0, transparent 34%),
    radial-gradient(circle at 8% 85%, #1a1810 0, transparent 30%),
    var(--ink);
  color: var(--cream);
  padding: 74px 0 66px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #56451d, transparent);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  color: var(--gold-light);
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
}
.hero h1 {
  margin: 14px 0 16px;
  font-size: clamp(38px, 5.2vw, 58px);
  line-height: 1.08;
  letter-spacing: -.5px;
  font-weight: 800;
}
.hero h1 span { color: var(--gold); }
.hero .lead {
  max-width: 600px;
  color: #d9d1c0;
  font-size: 17px;
  margin: 0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 13px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: #151109; }
.btn-primary:hover { background: var(--gold-light); }
.btn-ghost { color: var(--cream); border: 1px solid #57491f; }
.btn-ghost:hover { border-color: var(--gold); }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
  color: #9c9484;
  font-size: 12px;
}
.hero-meta span::before { content: "·"; color: var(--gold); margin-right: 8px; }
.hero-meta span:first-child::before { content: ""; margin: 0; }

.phone-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.phone {
  width: min(300px, 100%);
  aspect-ratio: 9 / 18.5;
  border: 7px solid #242424;
  border-radius: 38px;
  background: #070707;
  box-shadow: 0 30px 80px #000, 0 0 0 1px #3c3218;
  padding: 12px;
  position: relative;
}
.phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 18px;
  border-radius: 20px;
  background: #050505;
  z-index: 2;
}
.phone-screen {
  height: 100%;
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 0, #3a2e13 0, transparent 38%),
    linear-gradient(160deg, #fbf8f1, #efe6d2);
  padding: 34px 14px 16px;
  overflow: hidden;
}
.phone-head { display: flex; align-items: center; gap: 9px; }
.phone-head img { width: 34px; height: 34px; border-radius: 9px; }
.phone-head strong { font-size: 17px; color: var(--ink); }
.phone-head small { display: block; color: var(--muted); font-size: 9px; line-height: 1.2; }
.phone-label {
  margin-top: 20px;
  color: var(--muted);
  font-size: 10px;
}
.phone-cards { display: grid; gap: 9px; margin-top: 9px; }
.phone-card {
  background: #fff;
  border: 1px solid #e8decc;
  border-radius: 13px;
  padding: 11px;
  box-shadow: 0 5px 16px #8e7c4c12;
}
.phone-card b { display: block; font-size: 12px; color: var(--ink); }
.phone-card p { margin: 3px 0 0; color: var(--muted); font-size: 9px; line-height: 1.45; }
.phone-note {
  margin-top: 12px;
  padding: 8px;
  border-radius: 10px;
  background: #fff4da;
  border: 1px solid #ecd8a8;
  color: #6b5a2b;
  font-size: 8px;
  line-height: 1.4;
}
.phone-caption { text-align: center; color: #7f7768; font-size: 10px; margin-top: 12px; }

.trust { background: #11110f; border-bottom: 1px solid #272217; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #272217;
}
.trust-item { background: #11110f; padding: 18px 16px; text-align: center; }
.trust-item b { display: block; color: var(--gold-light); font-size: 13px; }
.trust-item span { color: #9d9584; font-size: 11px; }

.section { padding: 76px 0; }
.section.dark { background: var(--ink); color: var(--cream); }
.section.dark .sub, .section.dark p { color: var(--muted-dark); }
.section-head { max-width: 760px; margin-bottom: 30px; }
.section-head h2 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.18;
  letter-spacing: -.3px;
}
.section-head p { margin: 0; color: var(--muted); font-size: 15px; }
.section.dark .section-head p { color: var(--muted-dark); }
.kicker { color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 14px 40px #6e5d2a0d;
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f4e7c6;
  color: #6e5512;
  font-weight: 800;
  font-size: 20px;
}
.feature-card h3 { margin: 16px 0 7px; font-size: 20px; }
.feature-card p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.feature-card ul { margin: 0; padding: 0; list-style: none; }
.feature-card li { color: #4f493e; font-size: 13px; padding: 4px 0 4px 16px; position: relative; }
.feature-card li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); position: absolute; left: 0; top: 12px; }
.tag {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 9px;
  border-radius: 20px;
  background: #f4efe3;
  color: #6e6658;
  font-size: 10px;
}

.positioning {
  margin-top: 18px;
  border: 1px solid #d8c58c;
  background: #fff8e8;
  border-radius: var(--radius);
  padding: 20px 22px;
  color: #4d4126;
  font-size: 14px;
}
.positioning strong { color: #211a0b; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { border-left: 1px solid #3d331a; padding-left: 20px; }
.step b { display: block; color: var(--gold-light); font-size: 13px; letter-spacing: 1px; }
.step h3 { margin: 8px 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--muted-dark); font-size: 13px; }
.boundary {
  margin-top: 28px;
  border: 1px solid #4a3d1d;
  background: #17140d;
  border-radius: 14px;
  padding: 16px 18px;
  color: #c9c1ae;
  font-size: 13px;
}

.security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.security-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.security-item b { display: block; font-size: 15px; margin-bottom: 5px; }
.security-item p { margin: 0; color: var(--muted); font-size: 13px; }

.download-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  background:
    radial-gradient(circle at 90% 0, #2f2715 0, transparent 36%),
    #12120f;
  border: 1px solid #4a3d1d;
  border-radius: 24px;
  padding: 32px;
  color: var(--cream);
}
.download-card h2 { margin: 0 0 8px; font-size: 30px; }
.download-card p { margin: 0; color: #bdb5a4; font-size: 14px; }
.download-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px; color: #9e9582; font-size: 11px; }
.download-meta span::before { content: "·"; color: var(--gold); margin-right: 7px; }
.download-meta span:first-child::before { content: ""; margin: 0; }
.download-actions { display: flex; flex-direction: column; gap: 8px; min-width: 190px; }
.download-actions .btn { width: 100%; }
.sha {
  margin-top: 16px;
  padding: 10px 12px;
  border: 1px solid #2e2a20;
  border-radius: 10px;
  color: #7f786a;
  font: 10px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace;
  word-break: break-all;
}

.faq { max-width: 900px; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  color: #2b251a;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--gold); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }

footer {
  background: #090909;
  color: #8d8576;
  padding: 34px 0 40px;
  font-size: 12px;
}
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: #c9a227; text-decoration: none; }
.footer-links a:hover { color: var(--gold-light); }
.footer-note { margin-top: 14px; max-width: 780px; line-height: 1.75; }
.icp-link { color: var(--gold); text-decoration: none; }
.icp-link:hover { color: var(--gold-light); }

.page-hero { background: var(--ink); color: var(--cream); padding: 56px 0; }
.page-hero h1 { margin: 6px 0 8px; font-size: 38px; }
.page-hero p { margin: 0; color: #bdb5a4; }
.guide { max-width: 900px; }
.guide h2 { margin: 32px 0 10px; font-size: 24px; }
.guide h3 { margin: 22px 0 6px; font-size: 17px; }
.guide p, .guide li { color: #4f493e; font-size: 14px; }
.guide li { margin: 4px 0; }
.code {
  background: #14140f;
  color: #e8dfce;
  border-radius: 12px;
  padding: 14px 16px;
  overflow: auto;
  font: 12px/1.65 ui-monospace, SFMono-Regular, Consolas, monospace;
}
.notice {
  background: #fff5da;
  border: 1px solid #e5cd91;
  border-radius: 14px;
  padding: 16px 18px;
  color: #5f4d1c;
  font-size: 13px;
}
.policy-text {
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
  color: #4f493e;
  font: inherit;
  font-size: 14px;
  line-height: 1.9;
}

.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 34px;
  align-items: start;
}
.profile-card {
  background:
    radial-gradient(circle at 30% 0, #332914 0, transparent 38%),
    #12120f;
  border: 1px solid #4a3d1d;
  border-radius: 24px;
  padding: 26px;
  color: var(--cream);
  position: sticky;
  top: 92px;
}
.profile-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: #171208;
  overflow: hidden;
  box-shadow: 0 0 0 7px #211c12;
}
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.profile-card h1 { margin: 20px 0 4px; font-size: 28px; color: var(--cream); }
.profile-role { color: var(--gold-light); font-size: 13px; }
.profile-card p { color: #bdb5a4; font-size: 13px; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.profile-tag {
  border: 1px solid #4a3d1d;
  border-radius: 100px;
  padding: 4px 9px;
  color: #d8cfbd;
  font-size: 10px;
}
.profile-links { margin-top: 22px; display: grid; gap: 8px; }
.profile-links a {
  color: var(--gold-light);
  text-decoration: none;
  font-size: 12px;
}
.about-body h2 {
  margin: 30px 0 9px;
  font-size: 25px;
  color: #221c12;
}
.about-body h2:first-child { margin-top: 0; }
.about-body p { margin: 0 0 12px; color: #4f493e; font-size: 14px; line-height: 1.9; }
.about-body ul { margin: 8px 0 18px; padding-left: 20px; }
.about-body li { color: #4f493e; font-size: 14px; line-height: 1.8; margin: 4px 0; }
.about-quote {
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 18px;
  margin: 18px 0 24px;
  color: #2b251a;
  font-size: 18px;
  line-height: 1.7;
  font-weight: 600;
}
.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.about-mini {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 15px;
  padding: 15px;
}
.about-mini b { display: block; font-size: 13px; margin-bottom: 4px; }
.about-mini p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.contact-panel {
  margin-top: 24px;
  background: #12120f;
  color: var(--cream);
  border: 1px solid #4a3d1d;
  border-radius: 18px;
  padding: 20px;
}
.contact-panel b { color: var(--gold-light); }
.contact-panel a { color: var(--gold-light); text-decoration: none; word-break: break-all; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .profile-card { position: static; }
  .about-cards { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .phone-wrap { order: 2; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .download-card { grid-template-columns: 1fr; }
  .download-actions { min-width: 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .container { width: min(100% - 32px, 1120px); }
  .nav-links { display: none; }
  .hero { padding-top: 52px; }
  .hero h1 { font-size: 34px; }
  .section { padding: 56px 0; }
  .download-card { padding: 24px; }
}
