:root {
  --bg-0: #081324;
  --bg-1: #0a1628;
  --bg-2: #0d2137;
  --ink: #e7eef7;
  --ink-muted: #93a6be;
  --line: rgba(148, 176, 214, 0.16);
  --accent: #38bdf8;
  --accent-2: #2dd4bf;
  --accent-soft: rgba(56, 189, 248, 0.14);
  --card: rgba(15, 30, 52, 0.72);
  --radius: 20px;
  --shadow: 0 24px 60px -24px rgba(3, 10, 22, 0.85);
  --font:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji";
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 32px 20px;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient background glow */
.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1000px 620px at 78% -8%, rgba(45, 212, 191, 0.16), transparent 60%),
    radial-gradient(1100px 700px at 12% 8%, rgba(56, 189, 248, 0.18), transparent 62%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 42%, var(--bg-0) 100%);
}

/* ---------- Landing card ---------- */
.shell {
  width: 100%;
  max-width: 640px;
  text-align: center;
}

.card {
  padding: 44px 40px 40px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.info {
    margin-bottom: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2.5rem;
    justify-content: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  color: #041019;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 0 10px 24px -10px rgba(56, 189, 248, 0.7);
}

.brand__name {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #bff0ff;
  background: var(--accent-soft);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 999px;
}

.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.6);
  animation: pulse 2.4s ease-out infinite;
}

.title {
  margin: 0 0 18px;
  font-size: clamp(1.9rem, 5vw, 2.85rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff 0%, #c6d8ec 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 0 auto 30px;
  max-width: 500px;
  font-size: 1.05rem;
  color: var(--ink-muted);
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid transparent;
  color: #041019;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -12px rgba(56, 189, 248, 0.75);
}

.btn--ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.btn--ghost:hover {
  background: rgba(148, 176, 214, 0.08);
  box-shadow: none;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.foot a {
  color: var(--ink-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.foot a:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.foot__sep {
  opacity: 0.5;
}

/* ---------- Decorative waves ---------- */
.waves {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  width: 100%;
  height: 30vh;
  min-height: 160px;
}

.waves__layer {
  fill: rgba(56, 189, 248, 0.06);
}

.waves__layer--front {
  fill: rgba(45, 212, 191, 0.08);
}

/* ---------- Privacy / document page ---------- */
.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  text-align: left;
}

.doc__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.doc__back:hover {
  text-decoration: underline;
}

.doc h1 {
  margin: 0 0 6px;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  letter-spacing: -0.02em;
}

.doc__meta {
  margin: 0 0 8px;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.doc__note {
  margin: 0 0 34px;
  padding: 14px 16px;
  font-size: 0.9rem;
  color: var(--ink-muted);
  background: var(--accent-soft);
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 12px;
}

.doc h2 {
  margin: 34px 0 10px;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.doc p,
.doc li {
  color: #cdd9e8;
  font-size: 1rem;
}

.doc ul {
  padding-left: 20px;
}

.doc li {
  margin-bottom: 6px;
}

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

.doc hr {
  margin: 40px 0 24px;
  border: 0;
  border-top: 1px solid var(--line);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.55);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(45, 212, 191, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(45, 212, 191, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pill__dot {
    animation: none;
  }

  .btn {
    transition: none;
  }
}
