/* Secure Chat — shared site styles (matches the app + download page). */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0E0608;
  --bg2: #1B0F12;
  --green: #1FAE63;
  --green-glow: rgba(31, 174, 99, 0.15);
  --text: #F0EDED;
  --muted: #8A7E80;
  --card: rgba(27, 15, 18, 0.8);
  --border: rgba(255, 255, 255, 0.06);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}
.blob-1 {
  width: 400px; height: 400px;
  background: var(--green);
  top: -100px; left: -100px;
  animation: float1 12s ease-in-out infinite;
}
.blob-2 {
  width: 350px; height: 350px;
  background: #521121;
  bottom: -80px; right: -80px;
  animation: float2 14s ease-in-out infinite;
}
@keyframes float1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(60px, 80px); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-50px, -60px); }
}

.page { position: relative; z-index: 1; max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* Nav */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none;
}
.brand .lock {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--green); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px;
}
nav .links { display: flex; gap: 22px; align-items: center; }
nav a { color: var(--muted); text-decoration: none; font-size: 14.5px; transition: color .15s; }
nav a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #fff;
  padding: 13px 26px; border-radius: 12px;
  font-weight: 600; font-size: 15.5px; text-decoration: none;
  box-shadow: 0 4px 30px var(--green-glow);
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 34px var(--green-glow); }

/* Hero */
.hero { text-align: center; padding: 72px 0 48px; }
.hero h1 { font-size: clamp(34px, 6vw, 52px); font-weight: 800; letter-spacing: -0.02em; }
.hero h1 .accent { color: var(--green); }
.hero p {
  color: var(--muted); font-size: 17.5px; line-height: 1.65;
  max-width: 620px; margin: 18px auto 30px;
}

/* Sections */
section { padding: 40px 0; }
section h2 { font-size: 26px; font-weight: 700; margin-bottom: 22px; }
section h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }

.grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  backdrop-filter: blur(12px);
}
.card .icon { font-size: 24px; margin-bottom: 12px; display: block; }
.card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* Prose pages (terms / privacy) */
.prose { max-width: 760px; margin: 0 auto; padding: 30px 0 60px; }
.prose h1 { font-size: 34px; font-weight: 800; margin: 26px 0 6px; }
.prose .updated { color: var(--muted); font-size: 14px; margin-bottom: 34px; }
.prose h2 { font-size: 20px; font-weight: 700; margin: 32px 0 10px; }
.prose p, .prose li { color: #C9C2C4; font-size: 15.5px; line-height: 1.75; }
.prose ul { padding-left: 22px; margin: 10px 0; }
.prose a { color: var(--green); }

/* Footer */
footer {
  border-top: 1px solid var(--border);
  margin-top: 40px; padding: 30px 0 40px;
  display: flex; flex-direction: column; gap: 14px;
  align-items: center; text-align: center;
}
footer .links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
footer a { color: var(--muted); text-decoration: none; font-size: 14px; }
footer a:hover { color: var(--text); }
footer .fine { color: var(--muted); font-size: 13px; line-height: 1.6; max-width: 520px; }
