:root {
  --bg: #EBECF0;
  --text: #6D7587;
  --btn: #1654F0;
  --btn-text: #ffffff;
  --legal-link: rgba(138, 146, 165, 0.5);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 Manrope, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.wrap--sub {
  padding-top: 32px;
}
.logo {
  display: block;
  width: 120px;
  height: 120px;
  margin: 0 auto 32px;
  border-radius: 28px;
  box-shadow:
    8px 8px 20px rgba(163, 177, 198, 0.45),
    -6px -6px 16px rgba(255, 255, 255, 0.85);
}
.back {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--btn);
  text-decoration: none;
}
.back:hover { text-decoration: underline; }
h1 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  font-weight: 700;
  color: var(--text);
  text-align: center;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.wrap--sub h1 {
  text-align: left;
  margin-bottom: 20px;
}
.subtitle {
  margin: 0 0 28px;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
  color: var(--text);
  opacity: 0.92;
}
.lead {
  margin: 0 0 36px;
  font-size: 1rem;
  text-align: center;
  color: var(--text);
}
.cta {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 14px;
  background: var(--btn);
  color: var(--btn-text);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(22, 84, 240, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(22, 84, 240, 0.42);
}
.btn:active { transform: translateY(0); }
.btn svg { flex-shrink: 0; }
.prose {
  font-size: 0.95rem;
  color: var(--text);
}
.prose p { margin: 0 0 1.1em; }
.prose p:last-child { margin-bottom: 0; }
.prose h2 {
  margin: 2em 0 0.65em;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
.prose h2:first-child { margin-top: 0; }

/* Long-form legal pages (Terms, Privacy) */
.prose--legal {
  line-height: 1.7;
}
.prose--legal > p:first-of-type {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}
.prose--legal h2 {
  margin: 2.35rem 0 0.75rem;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
  line-height: 1.35;
  color: var(--text);
}
.prose--legal h2:first-of-type {
  margin-top: 1.5rem;
}
.prose--legal p {
  margin: 0 0 1.15em;
}
.prose--legal p:last-child {
  margin-bottom: 0;
}
.prose--legal .effective-date {
  margin: 2rem 0 1.75rem;
  padding: 0.85rem 0 0.85rem 1rem;
  border-left: 3px solid rgba(22, 84, 240, 0.35);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.5;
}
.prose--legal a {
  color: var(--btn);
  font-weight: 600;
  text-decoration: none;
}
.prose--legal a:hover {
  text-decoration: underline;
}
.prose--legal ul {
  margin: 0 0 1.15em;
  padding-left: 1.35rem;
}
.prose--legal li {
  margin: 0.35em 0;
}
.prose--legal li:first-child {
  margin-top: 0;
}

.placeholder {
  padding: 20px 0;
  font-style: italic;
  opacity: 0.85;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(109, 117, 135, 0.22);
}
.btn-footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  background: none;
  border: 0;
  color: var(--legal-link);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.btn-footer:hover {
  color: var(--btn);
  text-decoration: underline;
}
.btn-footer:active {
  color: rgba(138, 146, 165, 0.65);
}
