/* Kryptan Alerts — landing palette mirrors the app (KryptanColors). */
:root {
  --bg: #000000;
  --panel: #111111;
  --text: #ffffff;
  --muted: #9CA3AF;
  --faint: #636366;
  --accent: #F59E0B;
  --green: #00C9A7;
  --red: #EF4444;
  --border: rgba(255, 255, 255, 0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

.wrap { width: 100%; max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* Header — brand only, no legal links (those live in the footer) */
header.site { padding: 22px 0; }
.brand { font-size: 18px; font-weight: 700; letter-spacing: 0.2px; display: inline-flex; align-items: center; gap: 10px; }
.brand .logo { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; display: block; }
.brand:hover { text-decoration: none; }

main { flex: 1 0 auto; }

/* Hero */
.hero { text-align: center; padding: 72px 0 44px; }
.hero h1 { font-size: clamp(30px, 6vw, 52px); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; }
.hero .sub { color: var(--muted); font-size: clamp(16px, 2.4vw, 20px); max-width: 620px; margin: 18px auto 0; }

.eyebrow { color: var(--faint); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }

.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 14px 0 4px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #000; font-weight: 700;
  padding: 13px 22px; border-radius: 14px;
}
.badge.secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }
.badge:hover { text-decoration: none; opacity: 0.92; }

/* Feature cards */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 40px 0 72px; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 22px; }
.card .shot { width: 100%; height: 170px; object-fit: cover; object-position: top center; border-radius: 12px; border: 1px solid var(--border); background: #000; display: block; margin-bottom: 16px; }
.card h3 { font-size: 16px; margin: 12px 0 6px; }
.card p { color: var(--muted); font-size: 14px; }

/* Legal pages */
.legal { padding: 40px 0 72px; }
.legal h1 { font-size: 30px; margin-bottom: 6px; }
.legal .updated { color: var(--faint); font-size: 13px; margin-bottom: 24px; }
.legal h2 { font-size: 18px; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.legal ul { padding-left: 20px; }
.legal a { word-break: break-word; }

.note {
  background: rgba(245, 158, 11, 0.10);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbce7a; border-radius: 12px;
  padding: 12px 16px; font-size: 14px; margin-bottom: 28px;
}

/* Footer */
footer.site { border-top: 1px solid var(--border); padding: 22px 0; color: var(--faint); font-size: 13px; }
footer.site .row { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; align-items: center; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer.site a { color: var(--faint); }
footer.site a:hover { color: var(--muted); }
footer.site .disclaimer { color: var(--faint); font-size: 12px; margin-top: 10px; max-width: 760px; }

@media (max-width: 680px) {
  .features { grid-template-columns: 1fr; }
  .hero { padding: 52px 0 36px; }
}
