:root {
  --blue: #1f4e79;
  --blue-dark: #163a5c;
  --accent: #e8a33d;
  --ink: #111418;
  --muted: #5b6472;
  --bg: #f5f6f8;
  --surface: #ffffff;
  --line: #e2e5ea;
  --radius: 16px;
  --max: 1080px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; height: auto; display: block; }

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

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; gap: 22px; font-size: 15px; font-weight: 600; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--blue); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--blue), var(--blue-dark)); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding-top: 64px; }
.hero h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 20px; color: #dbe6f1; margin: 0 0 28px; max-width: 34em; }
.hero .accent { color: var(--accent); }
.hero-shot { align-self: end; }
.hero-shot .device { max-width: 330px; margin: 0 auto; border-bottom: 0; border-radius: 36px 36px 0 0; }
.hero-shot .device img { border-radius: 26px 26px 0 0; }

.device {
  background: #0b0c0e; border: 9px solid #0b0c0e; border-radius: 36px;
  box-shadow: 0 18px 40px rgba(17, 20, 24, 0.28);
}
.device img { border-radius: 27px; width: 100%; height: auto; }
.hero-copy { padding-bottom: 64px; }

.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: 12px;
  font-weight: 700; font-size: 17px; text-decoration: none;
}
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: #f2b95c; color: var(--ink); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.45); }
.btn-ghost:hover { color: #fff; border-color: #fff; }
.note { font-size: 14px; color: #b9cbe0; margin-top: 12px; }

/* Sections */
section { padding: 72px 0; }
section h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.01em; }
section .sub { color: var(--muted); font-size: 19px; margin: 0 0 40px; max-width: 40em; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .ico {
  width: 40px; height: 40px; border-radius: 10px; margin-bottom: 14px;
  display: grid; place-items: center; background: #e8eff6; color: var(--blue);
}

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.shots figure { margin: 0; }
.shots .device { max-width: 300px; margin: 0 auto; }
.shots figcaption { text-align: center; font-weight: 700; margin-top: 16px; }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 820px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.plan.pro { border: 2px solid var(--blue); }
.plan h3 { margin: 0; font-size: 22px; }
.plan .price { font-size: 30px; font-weight: 800; margin: 8px 0 4px; }
.plan .price small { font-size: 16px; font-weight: 600; color: var(--muted); }
.plan ul { padding-left: 20px; margin: 16px 0 0; }
.plan li { margin: 6px 0; }
.badge { display: inline-block; background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 6px; margin-left: 8px; vertical-align: middle; }

.privacy-band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: #1e8e3e; font-weight: 800; }

/* Footer */
.site-footer { padding: 36px 0 48px; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer nav { display: flex; gap: 20px; }

/* Legal pages */
.legal { background: var(--surface); }
.legal .wrap { max-width: 760px; padding-top: 48px; padding-bottom: 64px; }
.legal h1 { font-size: 38px; line-height: 1.15; margin: 0 0 6px; }
.legal .updated { color: var(--muted); margin: 0 0 32px; }
.legal h2 { font-size: 23px; margin: 36px 0 8px; }
.legal h3 { font-size: 18px; margin: 24px 0 6px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px; border-bottom: 1px solid var(--line); }
.legal th { background: var(--bg); }
.table-scroll { overflow-x: auto; }
.summary { background: #eef4fa; border-radius: 12px; padding: 18px 20px; margin: 0 0 8px; }
.summary ul { margin: 6px 0 0; padding-left: 20px; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 44px; gap: 8px; }
  .hero-copy { padding-bottom: 24px; }
  .hero-shot img { max-width: 300px; }
  .features, .shots { grid-template-columns: 1fr; }
  .plans, .checks { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .nav { gap: 16px; font-size: 14px; }
}
