/* Phoenix public site (home, 关于我们): same palette as app.css, its own layout. fire 2026-11-20. */
:root {
  --bg: #f6f3ef; --card: #ffffff; --ink: #1f1a17; --muted: #6f655f; --line: #e9e2db; --soft: #f1ece6;
  --accent: #ef5a2b; --accent-ink: #b8401b; --top: #1f1a17; --top-ink: #efe7df; --radius: 14px;
  --hero-a: #1f1a17; --hero-b: #3a2418;
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #141110; --card: #1d1917; --ink: #eee6df; --muted: #a2968e; --line: #322b27; --soft: #1a1614;
          --top: #0d0b0a; --accent-ink: #ff8a5c; --hero-a: #0d0b0a; --hero-b: #2a1810; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body.site { font-size: 15px; line-height: 1.7; -webkit-text-size-adjust: 100%; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
.s-in { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* top bar */
.s-top { position: sticky; top: 0; z-index: 10; background: var(--top); color: var(--top-ink); }
.s-top .s-in { display: flex; align-items: center; gap: 20px; height: 60px; }
.s-brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.s-brand:hover { text-decoration: none; }
.s-brand span { display: flex; flex-direction: column; line-height: 1.15; }
.s-brand b { font-size: 17px; letter-spacing: .5px; }
.s-brand small { color: #b9ada4; font-size: 11px; }
.s-nav { display: flex; gap: 2px; flex: 1; justify-content: center; overflow-x: auto; scrollbar-width: none; }
.s-nav::-webkit-scrollbar { display: none; }
.s-nav a { color: #c9bdb4; padding: 8px 12px; border-radius: 8px; white-space: nowrap; font-size: 14px; }
.s-nav a:hover, .s-nav a.on { color: #fff; background: rgba(255,255,255,.08); text-decoration: none; }
.s-login { background: var(--accent); color: #fff; padding: 8px 18px; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.s-login:hover { text-decoration: none; filter: brightness(1.06); }

/* hero */
.s-hero { background: linear-gradient(135deg, var(--hero-a) 0%, var(--hero-b) 100%); color: #f7efe8; padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; }
.eyebrow { color: #ffb08f; font-size: 13px; letter-spacing: 1px; margin: 0 0 10px; }
.s-hero h1 { font-size: 40px; line-height: 1.25; margin: 0 0 18px; letter-spacing: 1px; }
.s-hero .lead { color: #e2d6cc; font-size: 16px; margin: 0 0 26px; max-width: 620px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-p, .btn-s { display: inline-block; padding: 12px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.btn-p { background: var(--accent); color: #fff; }
.btn-s { border: 1px solid rgba(255,255,255,.35); color: #fff; }
.btn-p:hover, .btn-s:hover { text-decoration: none; filter: brightness(1.08); }
.s-hero .note { color: #b9ada4; font-size: 13px; margin: 16px 0 0; }

/* phone mock: a 9:16 frame of colour blocks, no real footage */
.phone { justify-self: center; width: 240px; aspect-ratio: 9 / 18.5; border-radius: 36px; padding: 10px;
         background: #0b0908; box-shadow: 0 24px 60px rgba(0,0,0,.45), inset 0 0 0 2px #3b302a; }
.screen { position: relative; height: 100%; border-radius: 28px; overflow: hidden; display: grid; gap: 6px; padding: 38px 10px 54px;
          grid-template-rows: 1.3fr 1fr 1fr; background: linear-gradient(180deg, #2b211c, #17110e); }
.frame { border-radius: 12px; }
.f1 { background: linear-gradient(160deg, #f4b28f, #ef5a2b); }
.f2 { background: linear-gradient(160deg, #f6d9a8, #f0a33a); }
.f3 { background: linear-gradient(160deg, #e9ddd2, #b9a493); }
.chip { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.14); color: #fff; font-size: 11px;
        padding: 3px 10px; border-radius: 999px; }
.chip.out { top: auto; bottom: 14px; left: auto; right: 12px; background: var(--accent); }
.cap { position: absolute; left: 14px; right: 14px; bottom: 46px; text-align: center; color: #fff; font-size: 12px; font-weight: 600;
       background: rgba(0,0,0,.45); border-radius: 8px; padding: 4px 6px; }

/* sections */
.s-sec { padding: 64px 0; }
.s-sec.alt { background: var(--soft); }
.s-h { font-size: 26px; margin: 0 0 8px; text-align: center; letter-spacing: .5px; }
.s-sub { color: var(--muted); text-align: center; margin: 0 0 32px; }
.s-sub.left, .two .s-h { text-align: left; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.s-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.s-card h3 { margin: 0 0 10px; font-size: 18px; }
.s-card h3 small { color: var(--muted); font-weight: 400; font-size: 13px; }
.s-card p { margin: 0 0 8px; color: var(--ink); }
.s-card .ic { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; margin-bottom: 12px;
              background: rgba(239,90,43,.12); color: var(--accent-ink); font-weight: 700; }
.mode { border-top: 4px solid var(--accent); }
.fit { color: var(--muted) !important; font-size: 14px; }
.steps { list-style: none; counter-reset: s; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 16px; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
                    background: var(--accent); color: #fff; font-weight: 700; margin-bottom: 10px; }
.steps b { display: block; font-size: 16px; margin-bottom: 4px; }
.steps span { color: var(--muted); font-size: 14px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 8px 0 8px 28px; border-bottom: 1px dashed var(--line); }
.ticks li::before { content: "✓"; position: absolute; left: 4px; top: 8px; color: var(--accent); font-weight: 700; }
.price .big { font-size: 26px; font-weight: 700; color: var(--accent-ink); margin: 0 0 8px; }
.price .big small { font-size: 14px; color: var(--muted); font-weight: 400; }
.more { text-align: center; margin: 24px 0 0; }
.contact p { margin: 0 0 6px; }

/* about page */
.narrow { max-width: 820px; }
.s-page-h { font-size: 30px; margin: 0 0 24px; }
.about { display: grid; grid-template-columns: 120px 1fr; gap: 0; margin: 0; background: var(--card); border: 1px solid var(--line);
         border-radius: var(--radius); overflow: hidden; }
.about dt, .about dd { padding: 16px 20px; border-bottom: 1px solid var(--line); margin: 0; }
.about dt { color: var(--muted); background: var(--soft); }
.about dt:last-of-type, .about dd:last-of-type { border-bottom: 0; }

/* footer */
.s-foot { background: var(--top); color: #b9ada4; padding: 36px 0 28px; font-size: 14px; }
.s-foot a { color: #e2d6cc; }
.s-foot-cols { display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
.s-foot-co b { color: #fff; }
.s-foot-co p { margin: 4px 0 0; }
.s-foot-links { display: flex; gap: 18px; flex-wrap: wrap; align-items: flex-start; }
.s-foot-contact p { margin: 0 0 4px; }
.s-beian { margin: 24px 0 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); text-align: center; font-size: 13px; }

@media (max-width: 900px) {
  .hero-grid, .two { grid-template-columns: 1fr; }
  .phone { display: none; }
  .grid3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .s-hero h1 { font-size: 30px; }
  .s-nav { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .s-top .s-in { gap: 10px; }
  .s-brand small { display: none; }
  .s-nav a { padding: 8px 8px; }
  .steps { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about dt { border-bottom: 0; padding-bottom: 4px; }
  .s-hero { padding: 40px 0 48px; }
}
.s-reg { color: var(--accent); font-weight: 600; padding: 8px 12px; margin-right: 4px; white-space: nowrap; }

.s-beian a.police img { width: 14px; height: 14px; vertical-align: -2px; margin-right: 3px; }   /* 公安备案图标 (beian.gov.cn) */
