/* Pan Peryskop — landing page */
:root {
  --bg: #f4f6fb;
  --card: #ffffff;
  --ink: #101828;
  --muted: #667085;
  --accent: #2563eb;
  --accent-dark: #1e40af;
  --apple: #000000;
  --border: #e4e7ec;
  --radius: 16px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  background: var(--card);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; }
.brand small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }

/* Hero */
.hero {
  padding: 56px 0 48px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { font-size: 40px; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 16px; }
.hero p.lead { font-size: 18px; color: var(--muted); margin-bottom: 28px; max-width: 34em; }
.badges { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.badges li { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; }
.badges svg { color: var(--accent); flex-shrink: 0; }

.store-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 20px; border-radius: 14px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform 0.08s ease;
}
.store-btn:active { transform: scale(0.98); }
.store-btn .store-sub { display: block; font-weight: 400; font-size: 12px; opacity: 0.85; }
.store-btn.apple { background: var(--apple); color: #fff; }
.store-btn.apple:hover { background: #1a1a1a; text-decoration: none; }
.store-btn.google { background: #f2f2f7; color: #5f6368; border-color: #d9dbe0; cursor: not-allowed; opacity: 0.75; }

/* 9:16 placeholder */
.screenshot-wrap {
  display: flex; justify-content: center;
}
.screenshot {
  width: 260px;
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  background: linear-gradient(160deg, #eef1ff, #ffffff 55%, #dbe4ff);
  border: 1px solid var(--border);
  box-shadow: 0 18px 50px rgba(16, 24, 40, 0.12);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--muted); text-align: center; padding: 24px;
}
.screenshot svg { opacity: 0.55; }
.screenshot span { font-size: 13px; font-weight: 500; }

/* Features */
.features { padding: 40px 0 56px; }
.features .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px;
}
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--card);
  padding: 32px 0 40px;
  color: var(--muted);
  font-size: 14px;
}
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; }
.site-footer .legal { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); font-weight: 500; }
.site-footer a:hover { color: var(--accent); text-decoration: none; }

/* Legal pages */
.legal-page { padding: 48px 0 64px; }
.legal-page .card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; max-width: 760px;
}
.legal-page h1 { font-size: 28px; margin-bottom: 8px; }
.legal-page .updated { color: var(--muted); font-size: 13px; margin-bottom: 24px; }
.legal-page h2 { font-size: 18px; margin: 26px 0 8px; }
.legal-page p, .legal-page li { color: var(--ink); font-size: 15px; margin-bottom: 8px; }
.legal-page ul { padding-left: 22px; margin-bottom: 12px; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 32px; }
  .features .grid { grid-template-columns: 1fr; }
  .screenshot-wrap { order: -1; }
}
