:root {
  --accent: #3d7bff;
  --accent-2: #7a5cff;
  --ink: #121624;
  --muted: #5d6679;
  --line: #e3e7ef;
  --bg: #f5f7fb;
  --card: #ffffff;
  --ok: #16a34a;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
img, svg { max-width: 100%; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.nav { display: flex; align-items: center; gap: 12px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; }
.nav .spacer { flex: 1; }
.nav a.link { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px; border: 0; font-weight: 700; text-decoration: none; background: #e6eaf2; color: var(--ink); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(61, 123, 255, .35); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.sm { padding: 8px 14px; font-size: 14px; border-radius: 10px; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 40px 0 56px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 56px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 18px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 19px; color: var(--muted); margin: 0 0 26px; max-width: 34em; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.phone { position: relative; justify-self: center; width: 280px; aspect-ratio: 9 / 18.5; border-radius: 40px; background: #0b0d12; padding: 12px; box-shadow: 0 40px 80px rgba(20, 30, 60, .3), inset 0 0 0 2px #2a2f3d; }
.phone .screen { position: relative; height: 100%; border-radius: 30px; overflow: hidden; background: linear-gradient(135deg, #8a5a32, #a8703f 40%, #7e5230); }
.phone .paper { position: absolute; left: 18%; top: 14%; width: 62%; height: 58%; background: #fbfaf6; transform: perspective(500px) rotateX(18deg) rotateZ(-4deg); box-shadow: 0 10px 20px rgba(0, 0, 0, .35); padding: 12px; }
.phone .paper i { display: block; height: 4px; background: #c9ccd4; border-radius: 2px; margin: 6px 0; }
.phone .paper i:first-child { width: 60%; height: 7px; background: #555b6b; margin-bottom: 10px; }
.phone .paper i:nth-child(3n) { width: 80%; }
.phone .dotc { position: absolute; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); box-shadow: 0 0 0 6px rgba(61, 123, 255, .25); animation: breathe 1.6s infinite ease-in-out; }
@keyframes breathe { 50% { box-shadow: 0 0 0 10px rgba(61, 123, 255, .12); } }
.phone .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: #0b0d12; display: flex; align-items: center; justify-content: center; gap: 8px; }
.phone .bar span { width: 26px; height: 36px; border-radius: 3px; background: #fff; opacity: .9; }
.phone .bar b { width: 46px; height: 46px; border-radius: 50%; border: 3px solid #fff; margin: 0 14px; box-shadow: inset 0 0 0 4px #0b0d12, inset 0 0 0 30px #fff; }
.phone .pill { position: absolute; left: 50%; bottom: 26%; transform: translateX(-50%); background: rgba(34, 197, 94, .95); color: #fff; font-size: 11px; font-weight: 700; padding: 6px 12px; border-radius: 99px; white-space: nowrap; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 56px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.feature h3 { margin: 10px 0 6px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.feature .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #eaf0ff; color: var(--accent); }
.feature .ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.section-title { font-size: 28px; letter-spacing: -0.02em; margin: 0 0 6px; }
.section-sub { color: var(--muted); margin: 0 0 22px; }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 56px; }
.way h3 { margin: 0 0 6px; }
.way p { color: var(--muted); margin: 0 0 14px; font-size: 15px; }
pre { margin: 0; background: #0f1320; color: #d6def5; border-radius: 12px; padding: 14px 16px; overflow-x: auto; font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
pre .c { color: #7c89a8; }
pre .k { color: #c792ea; }
pre .s { color: #a5e3a0; }
code { font: 0.92em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: #e9edf5; padding: 1px 5px; border-radius: 5px; }

.qr-box { display: flex; gap: 18px; align-items: center; }
.qr-box .qr { width: 132px; height: 132px; flex: none; background: #fff; border-radius: 12px; padding: 6px; border: 1px solid var(--line); }
.qr-box .qr svg { width: 100%; height: 100%; display: block; }
footer { color: var(--muted); font-size: 14px; padding: 30px 0 50px; border-top: 1px solid var(--line); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 16px; }
  .phone { width: 230px; }
  .features, .ways { grid-template-columns: 1fr; }
  .desktop-only { display: none !important; }
}
