:root {
  --bg: #f5f6f8; --card: #ffffff; --text: #333a48; --muted: #6f7787; --line: #e4e6ea;
  --accent: #1fa2d6; --green: #2ec995; --orange: #f5a623; --red: #f0566b;
  --navy: #1b2a4a; --hero-a: #2b4170; --hero-b: #111b30;
  --radius: 18px; --shadow: 0 1px 3px rgba(17,27,48,.06), 0 8px 24px rgba(17,27,48,.06);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0e1424; --card: #172036; --text: #e7ebf3; --muted: #9aa4b8; --line: #26304a; --navy: #e7ebf3;
          --shadow: 0 1px 3px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25); }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 18px/1.6 "Avenir Next", "Avenir", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header bar */
.bar { position: absolute; inset: 0 0 auto; z-index: 2; }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 600; font-size: 20px; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.bar nav a { color: rgba(255,255,255,.85); text-decoration: none; margin-left: 22px; font-size: 16px; }
.bar nav a:hover { color: #fff; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 70% -10%, #3a5a96 0%, transparent 60%),
                    linear-gradient(170deg, var(--hero-a), var(--hero-b)); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: 120px; padding-bottom: 0; }
.hero h1 { font-size: clamp(38px, 5.2vw, 60px); line-height: 1.08; margin: 0 0 18px; font-weight: 600; letter-spacing: -.5px; }
.hero p.lede { font-size: 21px; color: #c3d4ee; margin: 0 0 30px; max-width: 30em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 14px; font-weight: 600;
  font-size: 17px; text-decoration: none; transition: transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-store { background: #fff; color: #111b30; }
.btn-store small { display: block; font-weight: 500; font-size: 12px; color: #6f7787; line-height: 1; margin-bottom: 2px; }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.phones { position: relative; height: 560px; }
.phone { position: absolute; width: 250px; border-radius: 38px; overflow: hidden; border: 8px solid #0b1222;
  box-shadow: 0 30px 60px rgba(0,0,0,.45); background: #0b1222; }
.phone img { border-radius: 30px; }
.phone.a { left: 8%; top: 40px; transform: rotate(-6deg); z-index: 1; }
.phone.b { right: 6%; top: 0; transform: rotate(5deg); z-index: 2; }

/* Sections */
section { padding: 80px 0; }
section h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.15; margin: 0 0 12px; font-weight: 600; color: var(--navy); letter-spacing: -.3px; }
section .intro { color: var(--muted); font-size: 20px; margin: 0 0 40px; max-width: 38em; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin: 14px 0 6px; font-size: 19px; font-weight: 600; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; }
.icon svg { width: 24px; height: 24px; }
.i-blue { background: var(--accent); } .i-green { background: var(--green); } .i-orange { background: var(--orange); }
.i-navy { background: #2b4170; } .i-red { background: var(--red); } .i-teal { background: #36b8c9; }

/* Screens strip */
.screens { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.screens figure { margin: 0; }
.screens img { border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.screens figcaption { text-align: center; color: var(--muted); font-size: 15px; margin-top: 10px; }

/* Privacy band */
.privacy { background: linear-gradient(170deg, var(--hero-a), var(--hero-b)); color: #fff; }
.privacy h2 { color: #fff; }
.privacy .intro { color: #c3d4ee; }
.privacy ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 30px; }
.privacy li { padding-left: 34px; position: relative; font-size: 18px; }
.privacy li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--green); color: #0e1424; font-size: 14px; font-weight: 700; display: grid; place-items: center; }

/* FAQ */
details { background: var(--card); border-radius: 14px; padding: 18px 22px; box-shadow: var(--shadow); margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--accent); font-weight: 500; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }

/* Simple pages (privacy, support) */
.page-hero { background: linear-gradient(170deg, var(--hero-a), var(--hero-b)); color: #fff; padding: 120px 0 50px; }
.page-hero h1 { margin: 0 0 6px; font-size: 42px; font-weight: 600; }
.page-hero p { margin: 0; color: #c3d4ee; }
.doc { max-width: 760px; padding: 50px 20px 70px; }
.doc .card { margin-bottom: 16px; }
.doc .card h2 { font-size: 22px; margin: 0 0 8px; color: var(--navy); }
.doc .card p, .doc .card li { color: var(--text); font-size: 17px; }
.doc .card ul { padding-left: 20px; margin: 8px 0 0; }

footer { padding: 40px 0 50px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--muted); text-decoration: none; margin-left: 18px; }
footer a:first-child { margin-left: 0; }
footer a:hover { color: var(--text); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 110px; text-align: center; }
  .hero p.lede { margin-left: auto; margin-right: auto; }
  .cta { justify-content: center; }
  .phones { height: 430px; max-width: 420px; margin: 0 auto; width: 100%; }
  .phone { width: 190px; border-radius: 30px; border-width: 6px; }
  .phone img { border-radius: 24px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .screens { grid-template-columns: repeat(5, 70%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
  .screens figure { scroll-snap-align: center; }
  .privacy ul { grid-template-columns: 1fr; }
  .bar nav a:not(.keep) { display: none; }
  section { padding: 60px 0; }
}
@media (max-width: 520px) { .grid { grid-template-columns: 1fr; } }
