:root {
  --purple: #6a0dad;
  --purple-2: #8f35d5;
  --teal: #008080;
  --teal-2: #16b8a9;
  --ink: #2a1a3e;
  --muted: #62576d;
  --lav: #f8f5ff;
  --cream: #fff7e6;
  --white: #fff;
  --line: rgba(106, 13, 173, 0.16);
  --glow: rgba(106, 13, 173, 0.25);
  --shadow: 0 24px 70px rgba(42, 26, 62, 0.14);
  --radius: 26px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font:
    400 16px/1.7 Poppins,
    Arial,
    sans-serif;
  background: linear-gradient(180deg, #fff 0, var(--lav) 52%, #fff 100%);
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(
      circle at 12% 12%,
      rgba(106, 13, 173, 0.13),
      transparent 28%
    ),
    radial-gradient(
      circle at 88% 22%,
      rgba(0, 128, 128, 0.12),
      transparent 26%
    ),
    radial-gradient(
      circle at 50% 90%,
      rgba(255, 200, 95, 0.11),
      transparent 30%
    );
}
a {
  color: var(--purple);
}
.container {
  width: min(1180px, 92%);
  margin: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.76);
  border-bottom: 1px solid rgba(106, 13, 173, 0.12);
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 8px 30px rgba(42, 26, 62, 0.05);
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 82px;
}
.brand {
  position: relative;
  font:
    600 21px Cinzel,
    serif;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
  letter-spacing: 0.02em;
}
.brand:after {
  content: "";
  position: absolute;
  left: 0;
  right: 42%;
  bottom: -8px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--purple), var(--teal));
  box-shadow: 0 0 16px var(--glow);
}
.nav-links {
  display: flex;
  gap: 7px;
  align-items: center;
}
.nav a:not(.brand) {
  position: relative;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--ink);
  transition: 0.25s ease;
}
.nav a:not(.brand):hover,
.nav a:not(.brand):focus-visible {
  background: linear-gradient(
    135deg,
    rgba(106, 13, 173, 0.11),
    rgba(0, 128, 128, 0.1)
  );
  color: var(--purple);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(106, 13, 173, 0.12);
}
.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  color: #fff !important;
  padding: 13px 22px;
  text-decoration: none;
  font: 600 15px Poppins;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(106, 13, 173, 0.28);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}
.button:hover,
button:hover,
.button:focus-visible,
button:focus-visible {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 18px 40px rgba(106, 13, 173, 0.35),
    0 0 0 6px rgba(106, 13, 173, 0.07);
  filter: saturate(115%);
}
.button.alt {
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  box-shadow: 0 12px 30px rgba(0, 128, 128, 0.24);
}
.hero {
  position: relative;
  isolation: isolate;
  min-height: 720px;
  display: grid;
  align-items: center;
  padding: 102px 0 90px;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(248, 245, 255, 0.88),
    rgba(255, 255, 255, 0.84) 58%,
    rgba(255, 247, 230, 0.8)
  );
}
.hero:before,
.hero:after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
  animation: float 9s ease-in-out infinite;
}
.hero:before {
  width: 520px;
  height: 520px;
  right: -120px;
  top: -110px;
  background: radial-gradient(
    circle,
    rgba(0, 128, 128, 0.2),
    rgba(106, 13, 173, 0.08) 42%,
    transparent 70%
  );
}
.hero:after {
  width: 420px;
  height: 420px;
  left: -160px;
  bottom: -170px;
  background: radial-gradient(
    circle,
    rgba(106, 13, 173, 0.22),
    transparent 68%
  );
  animation-delay: -4s;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 7px 13px;
  border: 1px solid rgba(0, 128, 128, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 10px 30px rgba(0, 128, 128, 0.09);
}
.eyebrow:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-2);
  box-shadow: 0 0 18px var(--teal);
  animation: pulse 2s infinite;
}
.hero h1,
h1,
h2,
h3 {
  font-family: Cinzel, serif;
  line-height: 1.14;
}
.hero h1 {
  max-width: 900px;
  font-size: clamp(44px, 7vw, 82px);
  margin: 0.24em 0;
  background: linear-gradient(
    112deg,
    var(--ink) 12%,
    var(--purple) 54%,
    var(--teal) 95%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: -0.035em;
}
.lead {
  font-size: clamp(18px, 2vw, 23px);
  max-width: 810px;
  color: var(--muted);
}
.choices,
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 40px;
}
.card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(106, 13, 173, 0.15);
  border-radius: var(--radius);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.88),
    rgba(248, 245, 255, 0.72)
  );
  padding: 31px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transition:
    transform 0.32s ease,
    border-color 0.32s ease,
    box-shadow 0.32s ease,
    background 0.32s ease;
}
.card:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    280px circle at var(--x, 50%) var(--y, 0%),
    rgba(106, 13, 173, 0.16),
    transparent 62%
  );
  opacity: 0.35;
  transition: opacity 0.3s;
}
.card:after {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  bottom: 26px;
  width: 4px;
  border-radius: 0 99px 99px 0;
  background: linear-gradient(var(--purple), var(--teal));
  box-shadow: 0 0 18px var(--glow);
  transform: scaleY(0.35);
  transition: transform 0.32s ease;
}
.card:hover,
.card:focus-within {
  transform: translateY(-10px);
  border-color: rgba(106, 13, 173, 0.35);
  box-shadow:
    0 32px 80px rgba(42, 26, 62, 0.2),
    0 0 0 7px rgba(106, 13, 173, 0.05);
  background: linear-gradient(145deg, #fff, rgba(246, 237, 255, 0.92));
}
.card:hover:before {
  opacity: 1;
}
.card:hover:after {
  transform: scaleY(1);
}
.card h2,
.card h3 {
  margin-top: 0;
}
.section {
  position: relative;
  padding: 86px 0;
}
.section.tint {
  background: rgba(248, 245, 255, 0.78);
}
.section h2 {
  font-size: clamp(30px, 4vw, 48px);
}
.grid.three {
  grid-template-columns: repeat(3, 1fr);
}
.step {
  position: relative;
  display: flex;
  gap: 17px;
  padding: 22px;
  border: 1px solid transparent;
  border-radius: 22px;
  transition: 0.28s ease;
}
.step:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--line);
  transform: translateY(-5px);
  box-shadow: 0 18px 50px rgba(42, 26, 62, 0.1);
}
.step b {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  height: 46px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--purple), var(--teal));
  color: white;
  box-shadow: 0 10px 25px rgba(106, 13, 173, 0.24);
  transition: 0.25s;
}
.step:hover b {
  transform: rotate(-6deg) scale(1.08);
}
.notice {
  border: 1px solid rgba(0, 128, 128, 0.18);
  border-left: 5px solid var(--teal);
  padding: 18px 21px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(238, 252, 249, 0.94),
    rgba(255, 255, 255, 0.9)
  );
  box-shadow: 0 14px 36px rgba(0, 128, 128, 0.08);
}
.form {
  max-width: 760px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.field {
  margin: 0 0 19px;
}
.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 7px;
}
.field input:not([type="checkbox"]),
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #cfc5d8;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  font: inherit;
  outline: none;
  transition: 0.24s;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--purple);
  box-shadow:
    0 0 0 5px rgba(106, 13, 173, 0.08),
    0 10px 28px rgba(106, 13, 173, 0.09);
  transform: translateY(-1px);
}
.field textarea {
  min-height: 140px;
}
.error,
.success {
  padding: 13px 15px;
  border-radius: 12px;
}
.error {
  background: #fff0f0;
  color: #8a1f1f;
}
.success {
  background: #eefcf9;
  color: #075f5f;
}
.dashboard {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 32px;
}
.side {
  background: linear-gradient(160deg, var(--ink), #482460);
  color: #fff;
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.side a {
  display: block;
  color: #fff;
  padding: 11px 12px;
  border-radius: 12px;
  text-decoration: none;
  transition: 0.22s;
}
.side a:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(5px);
}
.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 7px;
}
.table th,
.table td {
  text-align: left;
  padding: 13px;
}
.table tr {
  transition: 0.2s;
}
.table tbody tr:hover {
  background: rgba(106, 13, 173, 0.06);
}
.badge {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--lav), #eefcf9);
  color: var(--purple);
  font-size: 13px;
  border: 1px solid var(--line);
}
.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #241332, var(--ink) 55%, #163c42);
  color: #fff;
  padding: 62px 0 30px;
}
.site-footer:before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  right: -220px;
  top: -260px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(22, 184, 169, 0.18),
    transparent 67%
  );
}
.site-footer a {
  color: #fff;
  text-decoration: none;
  opacity: 0.82;
  transition: 0.22s;
}
.site-footer a:hover {
  opacity: 1;
  color: #bffaf4;
  text-shadow: 0 0 18px rgba(22, 184, 169, 0.4);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 35px;
}
.legal-review {
  background: #fff7e6;
  border: 1px solid #f0c36d;
  padding: 17px;
  border-radius: 14px;
}
.mobile-toggle {
  display: none;
}
@keyframes float {
  50% {
    transform: translateY(25px) translateX(-18px) scale(1.06);
  }
}
@keyframes pulse {
  50% {
    box-shadow:
      0 0 0 8px rgba(0, 128, 128, 0.08),
      0 0 24px var(--teal);
  }
}
@media (max-width: 900px) {
  .mobile-toggle {
    display: inline-flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 82px;
    left: 4%;
    right: 4%;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.96);
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }
  .choices,
  .grid,
  .grid.three,
  .dashboard,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
    padding: 72px 0;
  }
  .section {
    padding: 58px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
