@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #07080A;
  --bg-surface: #0F1117;
  --bg-card: #13151C;
  --accent: #1D9E75;
  --accent-dim: rgba(29,158,117,0.15);
  --accent-border: rgba(29,158,117,0.3);
  --text: #F0EDE6;
  --text-muted: rgba(240,237,230,0.5);
  --text-faint: rgba(240,237,230,0.25);
  --border: rgba(255,255,255,0.07);
  --border-med: rgba(255,255,255,0.12);
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-pill: 100px;
  --max: 1080px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  border-bottom: 0.5px solid var(--border);
  background: rgba(7,8,10,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.logo-mark {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, #1D9E75, #0F6E56);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.logo-mark svg { display: block; }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  border: 0.5px solid var(--accent-border);
  color: var(--accent);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}
.nav-cta:hover { background: var(--accent-dim); text-decoration: none; }

/* BUTTONS */
.btn-primary {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 500;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: #158562; transform: translateY(-1px); text-decoration: none; }

.btn-secondary {
  display: inline-flex; align-items: center;
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 400;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  border: 0.5px solid var(--border-med);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.3); color: var(--text); text-decoration: none; }

/* BADGE */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 0.5px solid var(--accent-border);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.badge-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.25} }

/* SECTION */
section { padding: 6rem 2rem; }
.container { max-width: var(--max); margin: 0 auto; }

.section-label {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

h2.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.65;
}

/* CARDS */
.card {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s;
}
.card:hover { border-color: var(--border-med); }

/* FOOTER */
footer {
  border-top: 0.5px solid var(--border);
  padding: 2.5rem 2.5rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex; gap: 1.5rem; list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-faint);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-muted); }

.footer-copy {
  font-size: 13px;
  color: var(--text-faint);
}

/* DIVIDER */
hr.divider {
  border: none;
  border-top: 0.5px solid var(--border);
  margin: 0;
}

/* PROSE (privacy/terms/support) */
.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.prose h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.prose .meta {
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 0.5px solid var(--border);
}

.prose h2 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin: 2.5rem 0 0.75rem;
  letter-spacing: 0.01em;
}

.prose p {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.prose ul {
  margin: 0.5rem 0 1rem 1.25rem;
}

.prose ul li {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0.35rem;
}

.prose a { color: var(--accent); }

/* RESPONSIVE */
@media (max-width: 768px) {
  nav { padding: 1rem 1.25rem; }
  .nav-links { display: none; }
  section { padding: 4rem 1.25rem; }
  footer { padding: 2rem 1.25rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .prose { padding: 2.5rem 1.25rem 4rem; }
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 0.6s ease both; }
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }
.fade-up-4 { animation-delay: 0.45s; }
.fade-up-5 { animation-delay: 0.6s; }
