:root {
  --ink: #f8f5ff;
  --muted: #b6aec3;
  --panel-solid: #15111d;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #d9b7ff;
  --background: #09070d;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--background); }
body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(166, 91, 255, 0.13), transparent 27rem),
    radial-gradient(circle at 83% 80%, rgba(255, 115, 176, 0.1), transparent 24rem),
    var(--background);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

.site-shell {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 48px 20px 24px;
}

.ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  pointer-events: none;
}
.ambient-one {
  width: 280px;
  height: 280px;
  top: -150px;
  right: -90px;
  background: rgba(188, 116, 255, 0.18);
}
.ambient-two {
  width: 220px;
  height: 220px;
  bottom: -130px;
  left: -80px;
  background: rgba(255, 113, 184, 0.13);
}

.profile-card {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  padding: 34px 28px 30px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(150deg, rgba(30, 24, 42, 0.94), rgba(15, 12, 22, 0.9));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
  text-align: center;
}

.eyebrow {
  margin: 0 0 27px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.avatar-wrap {
  position: relative;
  width: fit-content;
  margin: 0 auto 24px;
}
.avatar-image {
  display: block;
  width: 104px;
  height: 104px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  box-shadow: 0 18px 45px rgba(135, 68, 207, 0.35);
  object-fit: cover;
  object-position: 50% 39%;
}
.status-dot {
  position: absolute;
  right: 5px;
  bottom: 7px;
  width: 18px;
  height: 18px;
  border: 4px solid var(--panel-solid);
  border-radius: 50%;
  background: #58d891;
}

.intro-copy { margin-bottom: 30px; }
.welcome { margin: 0 0 5px; color: var(--muted); font-size: 0.84rem; }
.intro-copy h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 10vw, 3.3rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.question {
  margin: 15px 0 0;
  color: #d7d0df;
  font-size: 1rem;
  line-height: 1.6;
}

.primary-cta {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: 100%;
  padding: 15px 22px;
  border-radius: 17px;
  background: linear-gradient(135deg, #e0c4ff, #b678f6);
  box-shadow: 0 14px 34px rgba(159, 89, 225, 0.28);
  color: #1b1024;
  font-size: 0.98rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}
.primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(159, 89, 225, 0.38);
  filter: brightness(1.04);
}
.primary-cta:focus-visible,
.site-footer a:focus-visible,
.back-link:focus-visible,
.legal-content a:focus-visible {
  outline: 3px solid rgba(220, 188, 255, 0.65);
  outline-offset: 4px;
}
.primary-cta svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.trust-note {
  max-width: 300px;
  margin: 18px auto 0;
  color: #8f8799;
  font-size: 0.72rem;
  line-height: 1.5;
}

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 30px;
  color: #89818f;
  font-size: 0.72rem;
  text-align: center;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.site-footer a { text-decoration: none; transition: color 150ms ease; }
.site-footer a:hover { color: var(--accent); }
.site-footer p { margin: 9px 0 0; }

.legal-shell { min-height: 100vh; padding: 38px 18px 26px; }
.legal-card {
  width: min(100%, 780px);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(20, 16, 28, 0.88);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  text-decoration: none;
}
.back-link:hover { color: var(--ink); }
.legal-header {
  margin: 38px 0 42px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.legal-header .eyebrow { margin-bottom: 12px; }
.legal-header h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 7vw, 3.3rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}
.legal-header > p:not(.eyebrow) {
  margin: 14px 0;
  color: #c7bfce;
  font-size: 1rem;
  line-height: 1.65;
}
.legal-header > span { color: #827a89; font-size: 0.75rem; }
.legal-content { display: grid; gap: 34px; }
.legal-content h2 {
  margin: 0 0 10px;
  color: #eee8f4;
  font-size: 1.02rem;
  font-weight: 700;
}
.legal-content p {
  margin: 0;
  color: #aaa2b2;
  font-size: 0.92rem;
  line-height: 1.78;
}
.legal-content a { color: var(--accent); text-underline-offset: 3px; }
.contact-email {
  display: inline-block;
  margin-top: 14px;
  overflow-wrap: anywhere;
  font-size: 1rem;
}

@media (max-width: 520px) {
  .site-shell { justify-content: flex-start; padding-top: 28px; }
  .profile-card { padding: 27px 21px 25px; border-radius: 25px; }
  .eyebrow { margin-bottom: 21px; }
  .avatar-image { width: 92px; height: 92px; }
  .legal-shell { padding: 14px 10px 22px; }
  .legal-card { border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
