:root {
  --ink: #0f172a;
  --muted: #475569;
  --bg: #ffffff;
  --soft: #f8fafc;
  --soft2: #f1f5f9;
  --brand: #2563eb;
  --brand-dark: #1e40af;
  --border: #e2e8f0;
  --shadow: 0 1px 3px rgba(15, 23, 42, .06), 0 10px 30px rgba(15, 23, 42, .05);
  --radius: 14px;
  --maxw: 1080px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-dark); }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { display: block; height: 30px; width: auto; }
.nav a { margin-left: 26px; text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); }
@media (max-width: 640px) { .nav { display: none; } }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn.secondary { background: #fff; color: var(--ink); border: 1px solid var(--border); }
.btn.secondary:hover { background: var(--soft2); }

/* Hero */
.hero { padding: 84px 0 64px; background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); }
.hero h1 { font-size: 46px; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 18px; max-width: 15ch; }
.hero p { font-size: 20px; color: var(--muted); max-width: 56ch; margin: 0 0 30px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 640px) { .hero h1 { font-size: 34px; } .hero { padding: 56px 0 44px; } }

/* Sections */
section { padding: 66px 0; }
section.alt { background: var(--soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.eyebrow { color: var(--brand); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 10px; }
h2 { font-size: 32px; letter-spacing: -.01em; margin: 0 0 14px; }
.lead { color: var(--muted); font-size: 19px; max-width: 60ch; margin: 0 0 40px; }

/* Grid cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 8px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 14px;
}

/* Product cards with screenshot area */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 760px) { .products { grid-template-columns: 1fr; } }
.product {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.shot {
  aspect-ratio: 16 / 9;
  background: repeating-linear-gradient(45deg, var(--soft2), var(--soft2) 12px, #eef2f7 12px, #eef2f7 24px);
  display: flex; align-items: center; justify-content: center;
  color: #94a3b8; font-size: 14px; font-weight: 600; letter-spacing: .03em;
  border-bottom: 1px solid var(--border);
}
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product .body { padding: 20px 22px 24px; }
.product h3 { margin: 0 0 6px; font-size: 19px; }
.product p { margin: 0; color: var(--muted); font-size: 16px; }

/* About */
.about { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 68ch; }
.about p { color: var(--muted); font-size: 18px; }
.about p strong { color: var(--ink); }

/* Contact */
.contact { text-align: center; }
.contact h2 { font-size: 34px; }
.contact p { color: var(--muted); font-size: 19px; max-width: 52ch; margin: 0 auto 28px; }
.contact .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Footer */
footer { background: var(--ink); color: #cbd5e1; padding: 40px 0; font-size: 15px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
footer a { color: #e2e8f0; text-decoration: none; margin-left: 20px; }
footer a:hover { text-decoration: underline; }
footer .legal a:first-child { margin-left: 0; }

/* Legal pages */
.legal-page { padding: 56px 0 80px; }
.legal-page h1 { font-size: 34px; margin: 0 0 8px; }
.legal-page h2 { font-size: 22px; margin: 34px 0 10px; }
.legal-page p, .legal-page li { color: var(--muted); }
.legal-page a.back { display: inline-block; margin-bottom: 24px; text-decoration: none; font-weight: 600; }
.note { background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 14px 16px; color: #92400e; font-size: 15px; }
