:root {
  color-scheme: light dark;
  --ink: #111827;
  --muted: #5f6675;
  --canvas: #f7f8fc;
  --surface: #ffffff;
  --border: #e2e5ee;
  --primary: #5e70f7;
  --primary-soft: #e9ecff;
  --success: #138a61;
  --radius: 20px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--canvas); color: var(--ink); }
body { margin: 0; min-height: 100vh; background: var(--canvas); }
a { color: var(--primary); }

.shell { width: min(100% - 32px, 1040px); margin: 0 auto; }
header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--canvas) 94%, transparent);
  backdrop-filter: blur(12px);
}
nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 750; }
.mark { width: 38px; height: 38px; border-radius: 12px; background: var(--ink); position: relative; border: 1px solid #2f3a51; }
.mark::before, .mark::after { content: ""; position: absolute; top: 9px; bottom: 9px; width: 4px; border-radius: 3px; background: #fff; }
.mark::before { left: 8px; }
.mark::after { right: 8px; }
.mark span { position: absolute; left: 14px; right: 14px; top: 12px; height: 3px; background: var(--primary); box-shadow: 0 6px 0 var(--primary), 0 12px 0 var(--primary); }
.navlinks { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.navlinks a { color: var(--muted); text-decoration: none; }

main { padding: 64px 0 72px; }
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
.eyebrow { color: var(--primary); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 10px 0 16px; max-width: 760px; font-size: clamp(42px, 6vw, 72px); line-height: .98; letter-spacing: -.045em; }
.lead { max-width: 680px; margin: 0; color: var(--muted); font-size: clamp(18px, 2.4vw, 22px); line-height: 1.55; }
.status { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 9px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 13px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--success); }

.preview { border: 1px solid var(--border); border-radius: 28px; background: var(--surface); padding: 18px; }
.phone { min-height: 420px; border-radius: 22px; border: 1px solid var(--border); background: var(--canvas); overflow: hidden; }
.phone-head { padding: 22px 20px 16px; background: var(--primary); color: white; font-weight: 760; }
.phone-body { padding: 18px; display: grid; gap: 12px; }
.card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 18px; }
.card strong { display: block; margin-bottom: 8px; }
.lines { display: grid; gap: 8px; }
.line { height: 10px; border-radius: 6px; background: var(--primary-soft); }
.line:nth-child(2) { width: 78%; }
.line:nth-child(3) { width: 58%; }
.aa { margin-left: auto; width: 48px; height: 58px; display: grid; place-items: center; border: 1px solid var(--primary); border-radius: 18px 0 0 18px; background: var(--ink); color: #fff; font-weight: 800; }

section { padding-top: 72px; }
.section-title { max-width: 720px; margin-bottom: 28px; }
.section-title h2 { margin: 0 0 10px; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.025em; }
.section-title p { margin: 0; color: var(--muted); line-height: 1.65; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid3 .card p { margin: 0; color: var(--muted); line-height: 1.6; }
.number { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; margin-bottom: 16px; background: var(--primary-soft); color: var(--primary); font-weight: 800; }

.policy { max-width: 800px; }
.policy h1 { font-size: clamp(34px, 5vw, 54px); }
.policy h2 { margin-top: 42px; }
.policy p, .policy li { color: var(--muted); line-height: 1.7; }
.policy code { color: var(--ink); }
.policy section[lang], main > section[lang] { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--border); }
.notice { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 18px; }

footer { border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--muted); font-size: 13px; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .navlinks { gap: 12px; }
  .hero { grid-template-columns: 1fr; }
  main { padding-top: 42px; }
  .grid3 { grid-template-columns: 1fr; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f3f5fb;
    --muted: #b3bacc;
    --canvas: #0b1020;
    --surface: #151c2e;
    --border: #2b354c;
    --primary: #9ca8ff;
    --primary-soft: #26306b;
  }
  .mark { background: #111827; }
}
