:root {
  color-scheme: light dark;

  --brand: #1e88e5;
  --brand-strong: #1565c0;
  --brand-soft: #e3f2fd;

  --bg: #ffffff;
  --bg-elev: #f6f9fc;
  --text: #0f1720;
  --text-muted: #4a5763;
  --border: #d9e2ec;
  --link: var(--brand-strong);
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #4fc3f7;
    --brand-strong: #81d4fa;
    --brand-soft: #0d2233;

    --bg: #0b1220;
    --bg-elev: #121a2b;
    --text: #e6edf3;
    --text-muted: #9aa7b4;
    --border: #1f2a3d;
    --link: var(--brand-strong);
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.site-header .container {
  --header-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding-top: 0;
  padding-bottom: 0;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 600;
  font-size: 18px;
  white-space: nowrap;
}

.brand:hover { text-decoration: none; }

.brand-mark {
  height: calc(var(--header-height) * 0.9);
  width: auto;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  gap: 20px;
  font-size: 15px;
}

.site-nav a { color: var(--text-muted); }
.site-nav a:hover { color: var(--link); }

/* Hero */
.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(1200px 400px at 80% -10%, var(--brand-soft), transparent 60%),
    var(--bg);
}

.hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.hero .accent { color: var(--brand-strong); }

.hero p.lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 0 28px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  border: 1px solid transparent;
  transition: background-color .15s ease, border-color .15s ease;
}

.btn-primary {
  background: var(--brand);
  color: #ffffff;
}
.btn-primary:hover { background: var(--brand-strong); text-decoration: none; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--brand); text-decoration: none; }

/* Sections */
section { padding: 56px 0; }

section + section { border-top: 1px solid var(--border); }

h2 {
  font-size: 28px;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 18px;
  margin: 24px 0 8px;
}

.muted { color: var(--text-muted); }

/* Product card */
.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 720px) {
  .product { grid-template-columns: 1fr; }
}

.product .info p { color: var(--text-muted); }

.badge {
  display: inline-block;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-weight: 500;
  margin-bottom: 12px;
}

.screenshots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.shot {
  aspect-ratio: 9 / 16;
  background: var(--bg-elev);
  border: 1px dashed var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 12px;
  text-align: center;
  padding: 8px;
  overflow: hidden;
}

.shot img { width: 100%; height: 100%; object-fit: cover; border-radius: 11px; }

/* Company / contact */
.kv {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 8px 24px;
}

@media (max-width: 600px) {
  .kv { grid-template-columns: 1fr; gap: 2px 0; }
  .kv dt { margin-top: 12px; }
}

.kv dt { color: var(--text-muted); }
.kv dd { margin: 0; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 48px;
  font-size: 14px;
  color: var(--text-muted);
  background: var(--bg-elev);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  align-items: center;
}

.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* Legal pages */
.legal {
  padding: 56px 0 80px;
}

.legal h1 {
  font-size: 32px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.legal .updated {
  color: var(--text-muted);
  margin: 0 0 32px;
  font-size: 14px;
}

.legal h2 {
  font-size: 20px;
  margin: 32px 0 8px;
}

.legal p, .legal li { color: var(--text); }

.placeholder {
  border-left: 3px solid var(--brand);
  background: var(--brand-soft);
  padding: 12px 16px;
  border-radius: 6px;
  color: var(--text);
  margin: 16px 0;
  font-style: italic;
}
