:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #14171c;
  --muted: #5a6270;
  --line: #e2e5ea;
  --accent: #0b6bcb;
  --accent-text: #ffffff;
  --radius: 14px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1116;
    --surface: #161a21;
    --text: #e8ebf0;
    --muted: #9aa3b2;
    --line: #262c36;
    --accent: #4c9bff;
    --accent-text: #0b0e13;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

header { border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 20px; }
.brand svg { width: 34px; height: 34px; }
.login { font-size: 15px; font-weight: 500; text-decoration: none; }

.hero { padding: 72px 0 56px; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.15; margin: 0 0 18px; letter-spacing: -0.02em; max-width: 18ch; }
.hero p { font-size: 18px; color: var(--muted); margin: 0 0 28px; max-width: 58ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; padding: 12px 20px; border-radius: 10px;
  font-weight: 600; text-decoration: none; border: 1px solid var(--accent);
}
.btn.primary { background: var(--accent); color: var(--accent-text); }
.btn.ghost { color: var(--accent); }

section h2 { font-size: 24px; margin: 0 0 20px; letter-spacing: -0.01em; }
.features { padding: 24px 0 64px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card svg { width: 26px; height: 26px; color: var(--accent); margin-bottom: 10px; }

.how { padding: 0 0 64px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: step; }
.step { padding: 4px 0 0 44px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
  background: var(--surface); border: 1px solid var(--line); color: var(--accent);
}
.step h3 { margin: 0 0 4px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.contact { padding: 0 0 72px; }
.contact .card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 28px; }
.contact h2 { margin: 0 0 4px; }
.contact p { margin: 0; color: var(--muted); }

footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 20px; padding-bottom: 28px; }
.nav { display: flex; align-items: center; gap: 18px; }
.lang { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; padding: 4px 9px; }
.lang:hover { color: var(--text); }

.screens { padding: 8px 0 56px; }
.shot { margin: 0 0 28px; }
.shot img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.06), 0 12px 32px -12px rgb(0 0 0 / 0.18);
  background: var(--surface);
}
.shot figcaption { margin-top: 10px; color: var(--muted); font-size: 15px; }
.shot-note { margin: -8px 0 0; color: var(--muted); font-size: 13px; }
