@font-face { font-family: "Jakarta"; src: url("fonts/PlusJakartaSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("fonts/PlusJakartaSans-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("fonts/PlusJakartaSans-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --bg: #f3f4fa;
  --card: #ffffff;
  --ink: #1b1b2f;
  --muted: #5d6079;
  --line: #e3e5f0;
  --accent: #5b5bef;
  --accent-soft: #e6e6fd;
  --gold: #b7791f;
  --gold-soft: #fbf0d9;
  --green: #12a46f;
  --red: #e5485d;
  --radius: 20px;
  --max: 1080px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-variant-numeric: tabular-nums;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 10; background: rgba(243, 244, 250, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 19px; white-space: nowrap; }
.brand img { width: 36px; height: 36px; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
@media (max-width: 640px) { .nav .hide-sm { display: none; } .nav a { padding: 8px 10px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 14px; font-weight: 700; text-decoration: none; font-size: 16px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #4848d9; }
.btn-ghost { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.btn svg { width: 22px; height: 22px; }

/* Hero */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.pill { display: inline-block; background: var(--gold-soft); color: var(--gold); font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 56px); line-height: 1.08; margin: 16px 0; letter-spacing: -0.02em; }
.hero h1 span { color: var(--accent); }
.hero p.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }
.hero-shots { position: relative; display: flex; justify-content: center; min-height: 520px; }
.phone { width: 260px; border-radius: 30px; border: 8px solid #1b1b2f; background: #1b1b2f; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(27, 27, 47, .35); }
.phone img { border-radius: 22px; }
.hero-shots .phone.back { position: absolute; transform: translate(-40%, 30px) rotate(-6deg) scale(.88); opacity: .95; }
.hero-shots .phone.front { position: relative; transform: translateX(22%); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-shots { min-height: 0; }
  .hero-shots .phone.back { display: none; }
  .hero-shots .phone.front { transform: none; width: 240px; }
}

/* Sections */
section { padding: 48px 0; }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; margin: 0 0 10px; letter-spacing: -0.01em; }
.section-lead { color: var(--muted); margin: 0 0 28px; max-width: 40em; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.fact b { display: block; font-size: 22px; }
.fact span { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .facts { grid-template-columns: repeat(2, 1fr); } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 12px; }
.feature .ico.gold { background: var(--gold-soft); color: var(--gold); }
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { margin: 0 0 6px; font-size: 19px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Screenshot gallery */
.gallery { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 20px; margin: 0 -4px; }
.gallery figure { flex: 0 0 220px; margin: 0; scroll-snap-align: start; }
.gallery .phone { width: 100%; border-width: 6px; border-radius: 26px; }
.gallery .phone img { border-radius: 20px; }
.gallery figcaption { text-align: center; font-weight: 600; margin-top: 12px; }
.gallery figcaption small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }

/* Safety band */
.band { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.band h3 { margin: 0 0 6px; font-size: 18px; }
.band p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; padding: 24px; } }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--accent); font-weight: 700; }
details[open] summary::after { content: "\2212"; }
details p { margin: 0 0 16px; color: var(--muted); }

/* Legal pages */
.doc { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 40px; margin: 32px auto 48px; max-width: 780px; }
.doc h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.15; margin: 0 0 6px; }
.doc .updated { color: var(--muted); margin: 0 0 24px; font-size: 15px; }
.doc h2 { font-size: 21px; margin: 32px 0 8px; }
.doc p, .doc li { color: #33354d; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc .callout { background: var(--gold-soft); border-radius: 14px; padding: 14px 18px; color: #5c3d0c; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0; }
.doc th, .doc td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }
.doc th { color: var(--muted); font-weight: 600; }
.table-scroll { overflow-x: auto; }
@media (max-width: 640px) { .doc { padding: 24px 18px; margin: 16px auto 32px; border-radius: 18px; } }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: 15px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--accent); }
