/* ── Keysera shared styles ─────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;700;900&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --bg:     #07070f;
  --bg2:    #0e0e1d;
  --card:   #12122a;
  --card2:  #191934;
  --border: rgba(255,255,255,0.07);
  --text:   #f0f0fa;
  --dim:    rgba(240,240,250,0.5);
  --coral:  #ff6b6b;
  --teal:   #00d4c8;
  --yellow: #ffe66d;
  --purple: #b06dff;
  --green:  #06d6a0;
  --orange: #ff9f1c;
  --red:    #ef233c;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
  line-height: 1.6;
}

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

/* ── Nav ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2rem;
  border-bottom: 1px solid var(--border);
  background: rgba(7,7,15,0.92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo {
  font-family: 'Unbounded', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  background: linear-gradient(130deg, var(--teal), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { font-size: .9rem; color: var(--dim); transition: color .2s; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta {
  background: linear-gradient(135deg, var(--coral), var(--orange));
  color: #fff !important;
  padding: .45rem 1.1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .85rem !important;
}
.nav-cta:hover { opacity: .88; text-decoration: none !important; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: none;
  border-radius: 12px;
  padding: .9rem 1.8rem;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .04em;
  cursor: pointer;
  transition: opacity .2s, transform .2s, box-shadow .2s;
  text-decoration: none !important;
}
.btn-primary {
  background: linear-gradient(135deg, var(--coral), var(--orange));
  color: #fff;
  box-shadow: 0 4px 24px rgba(255,107,107,.28);
}
.btn-primary:hover { opacity: .9; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255,107,107,.38); }
.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}
.btn-outline:hover { background: rgba(0,212,200,.08); transform: translateY(-2px); }
.btn:disabled { opacity: .42; cursor: not-allowed; transform: none; box-shadow: none; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 2rem;
  margin-top: 5rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand .nav-logo { display: block; margin-bottom: .5rem; }
.footer-brand p { font-size: .82rem; color: var(--dim); max-width: 220px; line-height: 1.55; }
.footer-links h4 { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: .75rem; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: .45rem; }
.footer-links ul a { font-size: .85rem; color: var(--dim); transition: color .2s; }
.footer-links ul a:hover { color: var(--text); text-decoration: none; }
.footer-bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: space-between;
  font-size: .78rem;
  color: var(--dim);
}

/* ── Legal pages ── */
.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}
.legal-wrap h1 {
  font-family: 'Unbounded', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: .5rem;
  background: linear-gradient(130deg, #fff, var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.legal-meta { font-size: .82rem; color: var(--dim); margin-bottom: 2.5rem; }
.legal-wrap h2 { font-size: 1.15rem; font-weight: 700; margin: 2rem 0 .6rem; color: var(--teal); }
.legal-wrap p { font-size: .95rem; color: var(--dim); margin-bottom: 1rem; line-height: 1.7; }
.legal-wrap ul { padding-left: 1.4rem; margin-bottom: 1rem; }
.legal-wrap ul li { font-size: .95rem; color: var(--dim); margin-bottom: .4rem; line-height: 1.6; }
.legal-wrap a { color: var(--teal); }

@media (max-width: 600px) {
  nav { padding: 1rem 1.2rem; }
  .nav-links { gap: .75rem; }
}
