/* SSRemote website — ink + one signal green. No external requests (fonts are self-hosted:
   Google Fonts is unreachable from mainland China). */
@font-face { font-family: "Bricolage"; src: url("BricolageGrotesque.ttf") format("truetype"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "GeistMono"; src: url("GeistMono.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0D0E0B; --panel: #121311; --graphite: #17191A; --raised: #23262A; --line: #2A2D26;
  --paper: #F3F2EC; --soft: #C9CBC1; --muted: #9A9C92; --dim: #4A4D44;
  --lime: #C8F13A; --amber: #FFB547; --coral: #FF6B57;
  --display: "Bricolage", "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  --body: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "GeistMono", ui-monospace, "SF Mono", Menlo, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--body); line-height: 1.6; }
a { color: var(--lime); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(13,14,11,.82); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--paper); font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.nav-links { display: flex; gap: 22px; align-items: center; font-size: 14px; }
.nav-links a { color: var(--soft); }
.nav-links a.cta { color: var(--ink); background: var(--lime); padding: 8px 14px; border-radius: 10px; font-weight: 600; }
.nav-links a.cta:hover { text-decoration: none; filter: brightness(1.05); }

/* Hero */
.hero { padding: 88px 0 72px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
h1 { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -.035em; margin: 14px 0 20px; }
h1 em { font-style: normal; color: var(--lime); }
.lede { font-size: 19px; color: var(--soft); max-width: 560px; margin: 0 0 32px; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 14px; font-weight: 600; font-size: 16px; }
.btn:hover { text-decoration: none; }
.btn.primary { background: var(--lime); color: var(--ink); }
.btn.ghost { background: var(--graphite); color: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.btn small { font-weight: 400; opacity: .7; font-size: 13px; }
.note { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* Phone mock */
.stage { position: relative; display: flex; justify-content: center; }
.glow { position: absolute; inset: -10% -10% auto; height: 120%; background: radial-gradient(circle at 50% 45%, rgba(200,241,58,.18), rgba(200,241,58,0) 58%); pointer-events: none; }
.phone { position: relative; width: 300px; aspect-ratio: 9 / 19.5; border-radius: 48px; background: #050505; padding: 12px; box-shadow: 0 0 0 1px #2c2c2c, 0 40px 80px rgba(0,0,0,.55); }
.screen { width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: #1E1F22; position: relative; display: flex; flex-direction: column; }
.macbar { height: 22px; background: rgba(255,255,255,.06); display: flex; align-items: center; gap: 8px; padding: 0 14px; font-size: 9px; color: #c9c9c9; margin-top: 30px; }
.editor { flex: 1; padding: 12px 14px; font-family: var(--mono); font-size: 10.5px; line-height: 1.75; color: #C9CBC1; }
.editor .k { color: #C8F13A; } .editor .s { color: #FFB547; } .editor .c { color: #6E7066; }
.column { position: absolute; right: 10px; top: 46%; display: flex; flex-direction: column; gap: 8px; }
.column span { width: 30px; height: 30px; border-radius: 50%; background: rgba(23,25,26,.92); box-shadow: inset 0 0 0 1px #2A2D26; display: flex; align-items: center; justify-content: center; }
.column span.kb { background: var(--lime); }

/* Sections */
section { padding: 88px 0; border-top: 1px solid var(--line); }
h2 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4vw, 44px); letter-spacing: -.03em; line-height: 1.1; margin: 0 0 14px; }
.sub { color: var(--soft); font-size: 17px; max-width: 640px; margin: 0 0 44px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--graphite); border-radius: 22px; padding: 26px; box-shadow: inset 0 0 0 1px var(--line); }
.card h3 { margin: 18px 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--soft); font-size: 15px; }
.ico { width: 44px; height: 44px; border-radius: 13px; background: var(--raised); display: flex; align-items: center; justify-content: center; color: var(--lime); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { padding: 26px; border-radius: 22px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.step::before { counter-increment: step; content: counter(step); font-family: var(--mono); display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: var(--lime); color: var(--ink); align-items: center; justify-content: center; font-weight: 600; }
.step h3 { margin: 16px 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--soft); font-size: 15px; }
.plate { font-family: var(--mono); font-size: 26px; letter-spacing: .04em; margin-top: 14px; color: var(--paper); }
.plate b { color: var(--dim); font-weight: 400; }

.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { color: var(--muted); font-weight: 500; font-size: 13px; }
.compare td:first-child { color: var(--soft); }
.compare .yes { color: var(--lime); }
.tablebox { overflow-x: auto; background: var(--graphite); border-radius: 22px; padding: 8px 14px; box-shadow: inset 0 0 0 1px var(--line); }

details { background: var(--graphite); border-radius: 16px; padding: 18px 22px; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--lime); font-family: var(--mono); }
details[open] summary::after { content: "–"; }
details p { color: var(--soft); margin: 12px 0 0; }

.final { text-align: center; }
.final .buttons { justify-content: center; }
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
footer a { color: var(--soft); }

/* Legal pages */
.doc { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.doc h1 { font-size: clamp(34px, 5vw, 52px); }
.doc h2 { font-size: 22px; margin-top: 40px; }
.doc p, .doc li { color: var(--soft); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .phone { width: 230px; }
  .grid, .steps { grid-template-columns: 1fr; }
  .nav-links a:not(.cta) { display: none; }
  .hero { padding-top: 48px; }
  section { padding: 64px 0; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .phone { width: 250px; }
  .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
