:root {
  --bg: #121a26;
  --bg2: #1c1630;
  --card: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.1);
  --text: #eef2f7;
  --muted: #a7b1c2;
  --accent: #35e6c4;
  --accent-ink: #0d2a26;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: linear-gradient(160deg, var(--bg) 0%, var(--bg2) 100%) fixed;
  line-height: 1.6;
}

a { color: var(--accent); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

header.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--text); text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav a.link { color: var(--muted); text-decoration: none; margin-left: 20px; font-size: 15px; }
.nav a.link:hover { color: var(--text); }

.hero {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
  padding: 48px 0 80px;
}
.hero h1 { font-size: clamp(36px, 6vw, 58px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: 19px; color: var(--muted); margin: 0 0 30px; max-width: 34em; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; text-decoration: none; padding: 14px 24px; border-radius: 14px;
}
.btn:hover { filter: brightness(1.08); }
.btn svg { width: 22px; height: 22px; }
.note { color: var(--muted); font-size: 14px; margin-top: 14px; }

/* Phone frame around real screenshots */
.phone {
  justify-self: center; width: 300px; padding: 10px;
  border-radius: 40px; background: #0b111a; border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.phone img { display: block; width: 100%; height: auto; border-radius: 30px; }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.shots figure { margin: 0; text-align: center; }
.shots img {
  width: 100%; height: auto; border-radius: 24px; border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.shots figcaption { color: var(--muted); font-size: 15px; margin-top: 12px; }

section { padding: 64px 0; }
section h2 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 12px; letter-spacing: -0.01em; }
section p.sub { color: var(--muted); margin: 0 0 36px; max-width: 40em; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.card h3 { margin: 10px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.ico { font-size: 26px; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li {
  counter-increment: s; background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 18px 18px 18px 64px; position: relative;
}
.steps li::before {
  content: counter(s); position: absolute; left: 18px; top: 16px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}

details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin-bottom: 12px; }
details summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 10px 0 0; }

.cta { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 56px 24px; }

footer { padding: 40px 0 56px; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer a { color: var(--muted); }

/* Legal page */
.legal { max-width: 760px; padding: 24px 0 64px; }
.legal h1 { font-size: 38px; margin-bottom: 4px; }
.legal h2 { font-size: 22px; margin-top: 36px; }
.legal p, .legal li { color: #cfd6e2; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .grid { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .phone { width: 260px; }
  .nav a.link.hide-sm { display: none; }
}
