:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #eef3f8;
  --text: #0d1724;
  --muted: #667085;
  --border: #dbe4ee;
  --accent: #0a84ff;
  --accent-dark: #075fba;
  --success: #18a058;
  --shadow: 0 18px 45px rgba(15, 31, 51, 0.10);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 248, 251, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; text-decoration: none; }
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--accent);
  box-shadow: 0 10px 25px rgba(10, 132, 255, 0.22);
}
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 650; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-links .button-small { color: white; }

.button, .button-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 760;
  box-shadow: 0 14px 28px rgba(10, 132, 255, 0.24);
}
.button { min-height: 52px; padding: 0 24px; }
.button-small { min-height: 40px; padding: 0 16px; }
.button.secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border); box-shadow: none; }

.hero { padding: 84px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; align-items: center; gap: 56px; }
.hero h1 { font-size: clamp(44px, 6vw, 76px); line-height: 0.96; letter-spacing: 0; margin: 0 0 24px; }
.hero p { font-size: 19px; color: var(--muted); max-width: 620px; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 18px;
}
.hero-card img { border-radius: 20px; }

.section { padding: 72px 0; }
.section-header { max-width: 720px; margin-bottom: 30px; }
.section h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.06; margin: 0 0 14px; }
.section-header p { margin: 0; color: var(--muted); font-size: 18px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card, .info-card, .legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 12px 30px rgba(15, 31, 51, 0.06);
}
.feature-card h3, .info-card h3 { margin: 0 0 8px; font-size: 20px; }
.feature-card p, .info-card p, .legal-card p, .legal-card li { color: var(--muted); }
.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--accent);
  background: #e7f1ff;
  margin-bottom: 18px;
  font-weight: 900;
}

.screenshot-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: start; }
.screenshot-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 10px;
  box-shadow: 0 12px 28px rgba(15, 31, 51, 0.08);
}
.screenshot-card img { border-radius: 16px; }
.screenshot-card span { display: block; padding: 10px 4px 2px; color: var(--muted); font-size: 13px; font-weight: 700; text-align: center; }

.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.support-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.support-list a { color: var(--accent-dark); font-weight: 750; }

.footer { border-top: 1px solid var(--border); padding: 30px 0; color: var(--muted); font-size: 14px; }
.footer-row { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer a { color: var(--muted); text-decoration: none; margin-left: 16px; }

.legal-page { padding: 56px 0 86px; }
.legal-card { max-width: 860px; }
.legal-card h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1; margin: 0 0 8px; }
.legal-card h2 { margin-top: 34px; font-size: 24px; }
.legal-card ul { padding-left: 22px; }
.updated { color: var(--muted); margin-bottom: 28px; }

@media (max-width: 860px) {
  .nav { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  .nav-links { width: 100%; overflow-x: auto; padding-bottom: 4px; }
  .hero { padding-top: 48px; }
  .hero-grid, .feature-grid, .info-grid { grid-template-columns: 1fr; }
  .screenshot-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .container { width: min(100% - 28px, 1120px); }
  .screenshot-grid { grid-template-columns: 1fr; }
  .hero-card { padding: 10px; border-radius: 20px; }
  .hero-card img { border-radius: 14px; }
}
