@font-face {
  font-family: "Noto Serif SC";
  src: url("./noto-serif-sc.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b0912;
  --bg-soft: #13101f;
  --ink: #ede9f6;
  --muted: #a9a2c0;
  --faint: #7e7798;
  --purple: #a78bfa;
  --gold: #d8b87a;
  --line: rgba(237, 233, 246, 0.12);
  --card: rgba(30, 27, 46, 0.62);
  --serif: "Noto Serif SC", "Songti SC", "STSong", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background-color: var(--bg);
  background-image:
    radial-gradient(1000px 680px at 78% -12%, rgba(124, 58, 237, 0.22), transparent 62%),
    radial-gradient(820px 520px at -8% 18%, rgba(90, 60, 160, 0.12), transparent 60%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ---------- nav ---------- */
.site-nav { border-bottom: 1px solid var(--line); }

.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #1e1b2e;
  border: 1px solid var(--line);
}

.brand-mark svg { width: 16px; height: 16px; }

.brand-name {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.14em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s ease;
}

.nav-links a:hover { color: var(--ink); }

.nav-contact {
  color: #1a1528 !important;
  background: #efe9ff;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 500;
}

/* ---------- hero ---------- */
.hero { padding: 82px 0 96px; }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 34px;
}

.eyebrow {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--faint);
  text-transform: uppercase;
}

h1 {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: clamp(46px, 6.1vw, 84px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.02em;
}

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

.hero-sub {
  margin: 26px 0 0;
  max-width: 36em;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 36px;
}

.btn-primary,
.btn-ghost {
  font-size: 14px;
  text-decoration: none;
}

.btn-primary {
  background: #efe9ff;
  color: #1a1528;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 500;
  transition: transform 0.18s ease, background 0.18s ease;
}

.btn-primary:hover { background: #fff; transform: translateY(-1px); }

.btn-ghost {
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(237, 233, 246, 0.28);
}

.btn-ghost:hover { border-color: var(--ink); }

.hero-visual {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-orb {
  position: absolute;
  top: 0;
  right: 8%;
  width: 226px;
  height: 226px;
  object-fit: contain;
  pointer-events: none;
  opacity: 0.96;
  filter: drop-shadow(0 0 72px rgba(167, 139, 250, 0.42));
}

.floating-note {
  position: absolute;
  right: 0;
  bottom: 48px;
  z-index: 2;
  width: 232px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(18, 15, 28, 0.88);
  backdrop-filter: blur(8px);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.floating-note p { margin: 0; }

.note-title {
  margin-bottom: 6px !important;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
}

/* ---------- why ---------- */
.why {
  padding: 42px 0 104px;
  border-top: 1px solid var(--line);
}

.why-head {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: end;
  gap: 48px;
}

h2 {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 400;
  line-height: 1.26;
}

.why-intro {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}

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

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(30, 27, 46, 0.56), rgba(18, 15, 28, 0.32));
}

.card-no {
  margin: 0 0 30px;
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.card h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
}

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

/* ---------- footer ---------- */
.site-footer {
  padding: 44px 0 30px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand p {
  margin: 10px 0 0;
  color: var(--faint);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 13px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

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

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(237, 233, 246, 0.08);
  color: var(--faint);
  font-size: 12px;
  line-height: 1.8;
}

.footer-legal a {
  color: var(--muted);
  text-decoration: none;
}

.footer-legal a:hover { color: var(--ink); }

/* ---------- legal pages ---------- */
.legal {
  max-width: 820px;
  padding-top: 78px;
  padding-bottom: 104px;
}

.legal h1 {
  margin: 14px 0 10px;
  font-size: clamp(34px, 4.4vw, 52px);
}

.legal-date {
  margin: 0 0 24px;
  color: var(--faint);
  font-size: 12px;
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.legal h2 {
  margin: 38px 0 10px;
  font-size: 22px;
}

.legal ul {
  margin: 8px 0;
  padding-left: 20px;
}

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

.copy-btn {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
}

.copy-btn:hover { border-color: var(--purple); }

.legal-meta {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--faint) !important;
  font-size: 12px !important;
}

.crisis {
  margin: 28px 0;
  padding: 22px 24px;
  border: 1px solid rgba(216, 184, 122, 0.35);
  border-radius: 16px;
  background: rgba(216, 184, 122, 0.06);
}

.crisis h2 { margin-top: 0; }

.crisis strong { color: var(--gold); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero { padding: 58px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 16px; }
  .hero-visual { min-height: 600px; margin-top: 10px; }
  .why-head { grid-template-columns: 1fr; gap: 20px; }
  .cards { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 36px); }
  .nav-links { gap: 14px; }
  .nav-links a:not(.nav-contact) { display: none; }
  .hero-visual { min-height: 540px; }
  .phone-orb { width: 170px; height: 170px; right: 2%; }
  .floating-note { right: -4px; bottom: 18px; width: 204px; }
  .why { padding-bottom: 76px; }
  .legal { padding-top: 52px; padding-bottom: 76px; }
}
