:root {
  --brand-primary: #a61e5e;
  --brand-primary-alt: #97245d;
  --brand-secondary: #155d5a;
  --brand-highlight-cyan: #0de2d6;
  --brand-highlight-pink: #ef29db;

  --neutral-900: #060512;
  --neutral-850: #101020;
  --neutral-800: #1a1a2e;
  --neutral-700: #303030;
  --neutral-200: #c7c7d1;
  --neutral-100: #ededf2;
  --neutral-0: #ffffff;

  --bg-app: var(--neutral-900);
  --bg-card: var(--neutral-850);
  --bg-elevated: var(--neutral-800);
  --text-primary: var(--neutral-0);
  --text-secondary: var(--neutral-200);
  --text-muted: #9a9aa8;
  --border-default: var(--neutral-700);
  --accent-primary: var(--brand-primary);
  --accent-secondary: var(--brand-secondary);
  --success: #1ec28b;
  --warning: #f8b84e;
  --error: #ff5a6b;
  --info: #4ea8ff;

  --max: 1100px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text-primary);
  background: var(--bg-app);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  min-height: 100vh;
}

.site-header {
  border-bottom: 1px solid var(--border-default);
  background: rgba(6, 5, 18, 0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header-inner,
.container,
.site-footer-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand {
  font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.top-nav {
  display: flex;
  gap: 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.hero {
  padding: 5rem 0 3.5rem;
  background:
    radial-gradient(circle at 14% 2%, rgba(26, 26, 46, 0.95), transparent 46%),
    radial-gradient(circle at 84% 24%, rgba(166, 30, 94, 0.2), transparent 30%);
}

h1,
h2,
h3 {
  font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  max-width: 18ch;
}

.lede {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 55ch;
  margin-top: 1rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--brand-highlight-cyan);
  outline-offset: 2px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(120deg, var(--brand-secondary), var(--brand-primary));
  color: var(--neutral-0);
  box-shadow: 0 10px 26px rgba(166, 30, 94, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 12px 28px rgba(13, 226, 214, 0.25);
}

.btn-secondary {
  border: 1px solid var(--neutral-0);
  background: transparent;
  color: var(--neutral-0);
}

.section {
  padding: 1.5rem 0 2.8rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  padding: 1rem 1.1rem;
}

.card strong {
  display: block;
  margin-bottom: 0.35rem;
}

.list {
  padding-left: 1.1rem;
  margin: 0.75rem 0 0;
}

.section-title {
  margin-bottom: 0.85rem;
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
}

.section-features .card {
  background: #141428;
}

.section-features .card strong {
  color: var(--neutral-0);
}

.section-features .card p {
  color: #b8b8c8;
}

.features .card strong::before {
  content: "";
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  margin-right: 0.45rem;
  background: linear-gradient(120deg, var(--brand-highlight-cyan), var(--brand-highlight-pink));
  box-shadow: 0 0 16px rgba(13, 226, 214, 0.4);
}

.features .card:nth-child(even) strong::before {
  background: linear-gradient(120deg, var(--brand-highlight-pink), var(--brand-highlight-cyan));
  box-shadow: 0 0 16px rgba(239, 41, 219, 0.35);
}

.section-trust {
  background: #0f0f1f;
  border-top: 1px solid #2c2c45;
  border-bottom: 1px solid #2c2c45;
}

.trust .card {
  border-color: #2c2c45;
}

.trust .card strong {
  color: var(--neutral-0);
}

.trust .card p {
  color: #b8b8c8;
}

.trust .card:nth-child(1) strong::before,
.trust .card:nth-child(2) strong::before,
.trust .card:nth-child(3) strong::before {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  margin-right: 0.45rem;
}

.trust .card:nth-child(1) strong::before,
.trust .card:nth-child(3) strong::before {
  background: var(--success);
}

.trust .card:nth-child(2) strong::before {
  background: var(--info);
}

.doc {
  padding: 2.25rem 0 3rem;
}

.doc .container {
  max-width: 720px;
  background: #141428;
  border: 1px solid #2c2c45;
  border-radius: 18px;
  padding: 1.25rem 1.1rem 1.45rem;
}

.doc-header {
  margin-bottom: 1.4rem;
}

.doc-header p {
  margin: 0.6rem 0 0;
  color: #b8b8c8;
}

.doc h2 {
  margin-top: 1.75rem;
  font-size: 1.3rem;
  color: var(--neutral-0);
}

.doc ul {
  padding-left: 1.2rem;
}

.doc p,
.doc li {
  color: #e6e6ee;
}

.doc a {
  color: #7d56ff;
}

.doc a:hover,
.doc a:active {
  color: #9a7bff;
}

.doc a:visited {
  color: #8c6ad9;
}

.site-footer {
  border-top: 1px solid #2c2c45;
  margin-top: 2.4rem;
  padding: 1.2rem 0;
  background: #080813;
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  color: var(--neutral-200);
  font-size: 0.93rem;
}

.footer-links a:hover {
  color: var(--neutral-0);
}

.page-landing {
  background:
    radial-gradient(circle at 12% 10%, rgba(26, 26, 46, 0.95), transparent 30%),
    radial-gradient(circle at 92% 85%, rgba(166, 30, 94, 0.2), transparent 30%),
    var(--bg-app);
}

.page-legal {
  background: #0b0b17;
}

.page-legal .site-header {
  border-bottom-color: #2c2c45;
  background: rgba(11, 11, 23, 0.9);
}

@media (min-width: 820px) {
  .grid.features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid.trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .doc .container {
    padding: 1.8rem 2rem 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
