:root {
  --plum: #260834;
  --plum-2: #3b1552;
  --violet: #8b6fc7;
  --lavender: #cdb8ff;
  --yellow: #f7ec8b;
  --gold: #f6b645;
  --teal: #078f94;
  --blue: #6aa6df;
  --coral: #ef5b51;
  --cream: #fff8e8;
  --paper: #fffdf5;
  --pink: #f7b5d4;
  --green: #9dbb75;
  --ink: #271331;
  --muted: #75657f;
  --line: rgba(38, 8, 52, .12);
  --shadow: 0 30px 80px rgba(38, 8, 52, .24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  background:
    radial-gradient(circle at 10% 0%, rgba(247, 236, 139, .35), transparent 28%),
    radial-gradient(circle at 90% 12%, rgba(139, 111, 199, .35), transparent 30%),
    linear-gradient(180deg, var(--plum) 0%, var(--plum-2) 48%, var(--cream) 48%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .07;
  z-index: 100;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg width='220' height='220' viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

a {
  color: inherit;
}

.wrap {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.nav {
  height: 92px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--cream);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Fraunces, serif;
  font-size: 31px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 25%, var(--yellow), transparent 30%),
    linear-gradient(135deg, var(--violet), var(--teal));
  box-shadow: 0 16px 34px rgba(0, 0, 0, .25);
  transform: rotate(-4deg);
}

.logo-mark svg {
  width: 31px;
  height: 31px;
  fill: var(--cream);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
}

.nav-links a {
  text-decoration: none;
  padding: 11px 16px;
  border-radius: 999px;
  opacity: .92;
}

.nav-links a:hover {
  background: rgba(255, 248, 232, .12);
}

.nav-links .outline {
  border: 1px solid rgba(255, 248, 232, .38);
  background: rgba(255, 248, 232, .08);
  backdrop-filter: blur(12px);
}

.hero {
  min-height: calc(100vh - 92px);
  padding: 50px 0 110px;
  color: var(--cream);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(340px, 1fr) minmax(420px, 1.4fr);
  gap: 90px;
  align-items: center;
}

.label {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 248, 232, .24);
  background: rgba(255, 248, 232, .08);
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.label::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 7px rgba(247, 236, 139, .14);
}

h1 {
  margin: 26px 0 22px;
  font-family: Fraunces, serif;
  font-size: clamp(62px, 9vw, 132px);
  line-height: 1.05;
  letter-spacing: .01em;
  max-width: 900px;
}

.hero p {
  max-width: 680px;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.65;
  letter-spacing: .02em;
  color: rgba(255, 248, 232, .86);
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 900;
  transition: .22s ease;
  box-shadow: 0 20px 38px rgba(0, 0, 0, .22);
}

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

.btn-primary {
  background: var(--yellow);
  color: var(--plum);
}

.btn-ghost {
  color: var(--cream);
  border: 1px solid rgba(255, 248, 232, .34);
  background: rgba(255, 248, 232, .08);
  backdrop-filter: blur(10px);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 42px;
  color: rgba(255, 248, 232, .72);
  font-weight: 700;
  font-size: 14px;
}

.mini-avatars {
  display: flex;
}

.mini-avatars span {
  width: 38px;
  height: 38px;
  margin-left: -8px;
  border-radius: 50%;
  border: 2px solid var(--plum);
  background: var(--c);
}

.avatar:first-child {
  margin-left: 0;
}

.avatar-yellow { --c: #f7ec8b; }
.avatar-violet { --c: #8b6fc7; }
.avatar-teal { --c: #078f94; }
.avatar-coral { --c: #ef5b51; }

.opp-primrose { --accent: #f7ec8b; }
.opp-teal { --accent: #078f94; }
.opp-coral { --accent: #ef5b51; }

.result-primrose { --accent: #f7ec8b; }
.result-blue { --accent: #6aa6df; }
.result-coral { --accent: #ef5b51; }

.swatch.plum { background: #260834; --text: #fff8e8; --r: -2deg; }
.swatch.violet { background: #8b6fc7; --text: #fff8e8; --r: 1.5deg; }
.swatch.yellow { background: #f7ec8b; --r: -1deg; }
.swatch.teal { background: #078f94; --text: #fff8e8; --r: 2deg; }
.swatch.coral { background: #ef5b51; --text: #fff8e8; --r: -1.5deg; }

.collage {
  position: relative;
  min-height: 650px;
  padding-right: 36px;
}

.big-card {
  position: absolute;
  inset: 35px 36px 0 42px;
  min-height: 530px;
  border-radius: 46px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,248,232,.82)),
    radial-gradient(circle at 12% 15%, var(--yellow), transparent 23%),
    radial-gradient(circle at 82% 20%, var(--lavender), transparent 25%),
    radial-gradient(circle at 80% 86%, var(--pink), transparent 26%);
  box-shadow: var(--shadow);
  border: 12px solid rgba(255, 248, 232, .92);
  transform: rotate(2deg);
  overflow: hidden;
}

.big-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(38, 8, 52, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 8, 52, .045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent);
}

.paper {
  position: absolute;
  left: 34px;
  right: 34px;
  top: 36px;
  padding: 32px;
  border-radius: 30px;
  background: rgba(255, 253, 245, .92);
  box-shadow: 0 24px 50px rgba(38, 8, 52, .14);
  border: 1px solid rgba(38, 8, 52, .10);
  transform: rotate(-3deg);
}

.paper h2 {
  margin: 0 0 10px;
  font-family: Fraunces, serif;
  color: var(--plum);
  font-size: 45px;
  line-height: .95;
  letter-spacing: -.05em;
}

.paper p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 650;
}

.search {
  position: absolute;
  left: 48px;
  right: 48px;
  top: 260px;
  height: 62px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 20px;
  border-radius: 21px;
  background: white;
  color: var(--muted);
  font-weight: 800;
  box-shadow: 0 20px 36px rgba(38, 8, 52, .13);
  transform: rotate(1deg);
}

.opportunity-stack {
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 48px;
  display: grid;
  gap: 14px;
}

.opp {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 20px 20px 20px 22px;
  border-radius: 24px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 18px 38px rgba(38, 8, 52, .14);
  border-left: 12px solid var(--accent);
}

.opp:nth-child(2) {
  transform: translateX(18px) rotate(-1deg);
}

.opp:nth-child(3) {
  transform: translateX(-10px) rotate(1.2deg);
}

.opp h3 {
  margin: 0 0 5px;
  font-family: Fraunces, serif;
  font-size: 24px;
  color: var(--plum);
  letter-spacing: -.03em;
}

.opp small {
  color: var(--muted);
  font-weight: 750;
}

.match {
  min-width: 62px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: var(--plum);
  font-weight: 950;
  font-size: 13px;
}

.flower {
  position: absolute;
  width: 148px;
  height: 148px;
  right: 2px;
  top: 10px;
  z-index: 3;
  filter: drop-shadow(0 16px 24px rgba(0,0,0,.22));
  animation: float 6s ease-in-out infinite;
}

.stamp {
  position: absolute;
  z-index: 4;
  right: 30px;
  bottom: 34px;
  width: 142px;
  height: 142px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px dashed rgba(38, 8, 52, .35);
  color: var(--plum);
  background: rgba(247, 236, 139, .88);
  font-family: Fraunces, serif;
  font-size: 21px;
  font-weight: 900;
  text-align: center;
  line-height: .95;
  transform: rotate(10deg);
}

@keyframes float {
  50% {
    transform: translateY(14px) rotate(4deg);
  }
}

section {
  padding: 105px 0;
  background: var(--cream);
}

.section-top {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 50px;
}

.kicker {
  color: var(--teal);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.title {
  margin: 0;
  font-family: Fraunces, serif;
  font-size: clamp(42px, 5.8vw, 78px);
  line-height: 1.05;
  letter-spacing: .02em;
  color: var(--plum);
}

.lead {
  margin: 0;
  color: #5e5068;
  font-size: 20px;
  line-height: 1.85;
  letter-spacing: .015em;
  font-weight: 560;
}

.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem {
  position: relative;
  min-height: 335px;
  padding: 30px;
  border-radius: 36px;
  background: white;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(38, 8, 52, .08);
  border: 1px solid rgba(38, 8, 52, .08);
}

.problem::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  right: -82px;
  bottom: -82px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .55;
}

.problem::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 26px;
  border: 1px dashed rgba(38, 8, 52, .12);
  pointer-events: none;
}

.problem-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--accent);
  color: var(--plum);
  font-weight: 950;
  margin-bottom: 26px;
  transform: rotate(-5deg);
}

.problem h3 {
  position: relative;
  margin: 0 0 13px;
  font-family: Fraunces, serif;
  font-size: 34px;
  line-height: 1.12;
  color: var(--plum);
  letter-spacing: .01em;
}

.problem p {
  position: relative;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  letter-spacing: .01em;
  font-weight: 600;
}

.platform {
  background:
    radial-gradient(circle at 12% 20%, rgba(247, 236, 139, .45), transparent 22%),
    radial-gradient(circle at 90% 25%, rgba(205, 184, 255, .48), transparent 25%),
    var(--cream);
}

.dashboard {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 28px;
  padding: 38px;
  border-radius: 50px;
  background: var(--plum);
  color: var(--cream);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.dashboard::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 5%, rgba(139, 111, 199, .55), transparent 28%),
    radial-gradient(circle at 8% 95%, rgba(7, 143, 148, .32), transparent 24%);
  pointer-events: none;
}

.profile-panel,
.results-panel {
  position: relative;
  z-index: 1;
}

.profile-panel {
  padding: 28px;
  border-radius: 34px;
  background: rgba(255, 248, 232, .09);
  border: 1px solid rgba(255, 248, 232, .16);
  backdrop-filter: blur(16px);
}

.profile-panel h3,
.results-panel h3 {
  margin: 0 0 22px;
  font-family: Fraunces, serif;
  font-size: 42px;
  line-height: .96;
  color: var(--yellow);
  letter-spacing: -.04em;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 248, 232, .68);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .13em;
}

.input {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  border-radius: 17px;
  background: var(--cream);
  color: var(--plum);
  font-weight: 850;
}

.input span {
  color: var(--violet);
}

.results-panel {
  display: grid;
  gap: 16px;
}

.result {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border-radius: 28px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .16);
}

.icon {
  width: 64px;
  height: 64px;
  border-radius: 22px;
  background: var(--accent);
  display: grid;
  place-items: center;
  font-size: 26px;
  transform: rotate(-4deg);
}

.result h4 {
  margin: 0 0 5px;
  font-family: Fraunces, serif;
  color: var(--plum);
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: .01em;
}

.result p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: .01em;
  font-weight: 650;
}

.badge {
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--plum);
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
}

.reading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.reading-card {
  min-height: 470px;
  padding: 42px;
  border-radius: 46px;
  box-shadow: 0 26px 66px rgba(38, 8, 52, .10);
  border: 1px solid rgba(38, 8, 52, .08);
  position: relative;
  overflow: hidden;
}

.reading-card.yellow {
  background:
    radial-gradient(circle at 12% 8%, rgba(255,255,255,.85), transparent 22%),
    linear-gradient(135deg, #fff7bd, #fffdf5);
}

.reading-card.lavender {
  background:
    radial-gradient(circle at 80% 10%, rgba(255,255,255,.75), transparent 24%),
    linear-gradient(135deg, #f2eaff, #e7fff9);
}

.reading-card h3 {
  margin: 0 0 18px;
  font-family: Fraunces, serif;
  font-size: 50px;
  line-height: 1.05;
  color: var(--plum);
  letter-spacing: .015em;
  position: relative;
}

.reading-card p {
  position: relative;
  margin: 0 0 22px;
  color: #5f5268;
  font-size: 18px;
  line-height: 1.68;
  font-weight: 560;
}

.quote {
  position: relative;
  margin-top: 26px;
  padding: 26px;
  border-radius: 28px;
  background: white;
  border: 2px dashed rgba(38, 8, 52, .17);
  font-family: Fraunces, serif;
  color: var(--plum);
  font-size: 27px;
  line-height: 1.3;
  letter-spacing: .01em;
  transform: rotate(-1.2deg);
}

.steps {
  position: relative;
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(38, 8, 52, .08);
}

.num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--plum);
  color: var(--cream);
  font-weight: 950;
}

.step strong {
  display: block;
  margin-bottom: 3px;
  color: var(--plum);
  font-weight: 950;
}

.step span {
  color: var(--muted);
  line-height: 1.5;
  font-weight: 600;
}

.identity {
  background: var(--plum);
  color: var(--cream);
  overflow: hidden;
  position: relative;
}

.identity::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 20%, rgba(247, 236, 139, .18), transparent 24%),
    radial-gradient(circle at 96% 10%, rgba(106, 166, 223, .22), transparent 26%),
    radial-gradient(circle at 72% 85%, rgba(239, 91, 81, .18), transparent 25%);
  pointer-events: none;
}

.identity .wrap {
  position: relative;
  z-index: 1;
}

.identity .title {
  color: var(--cream);
}

.identity .lead {
  color: rgba(255, 248, 232, .78);
}

.palette {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 46px;
}

.swatch {
  min-height: 178px;
  border-radius: 30px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--text, var(--plum));
  font-weight: 950;
  box-shadow: 0 24px 50px rgba(0,0,0,.22);
  transform: rotate(var(--r));
}

.swatch span {
  display: block;
  margin-top: 4px;
  opacity: .7;
  font-size: 13px;
  font-weight: 900;
}

.final {
  padding: 115px 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(247, 236, 139, .56), transparent 25%),
    radial-gradient(circle at 90% 28%, rgba(205, 184, 255, .58), transparent 26%),
    linear-gradient(135deg, #fff8e8, #f8eaff);
}

.cta {
  position: relative;
  padding: 80px 70px;
  border-radius: 56px;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(38, 8, 52, .09);
  box-shadow: var(--shadow);
  text-align: center;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 42px;
  border: 2px dashed rgba(38, 8, 52, .12);
  pointer-events: none;
}

.cta h2 {
  position: relative;
  max-width: 900px;
  margin: 0 auto 20px;
  font-family: Fraunces, serif;
  font-size: clamp(46px, 7vw, 88px);
  line-height: 1.02;
  color: var(--plum);
  letter-spacing: .015em;
}

.cta p {
  position: relative;
  max-width: 760px;
  margin: 0 auto 34px;
  color: #5f5268;
  font-size: 21px;
  line-height: 1.58;
  font-weight: 560;
}

.cta .btn {
  position: relative;
}

footer {
  padding: 36px 0;
  background: var(--plum);
  color: rgba(255, 248, 232, .78);
  font-weight: 750;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .hero-grid,
  .section-top,
  .dashboard,
  .reading {
    grid-template-columns: 1fr;
  }

  .collage {
    min-height: 610px;
  }

  .big-card {
    inset: 25px 0 0 0;
    min-height: 520px;
  }

  .problem-cards,
  .palette {
    grid-template-columns: 1fr;
  }

  .result {
    grid-template-columns: 1fr;
  }

  .nav {
    height: auto;
    padding: 26px 0;
    align-items: flex-start;
    gap: 20px;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .cta {
    padding: 58px 26px;
  }
}

@media (max-width: 560px) {
  .paper {
    left: 20px;
    right: 20px;
    padding: 24px;
  }

  .paper h2 {
    font-size: 35px;
  }

  .search {
    left: 24px;
    right: 24px;
    top: 265px;
    font-size: 13px;
  }

  .opportunity-stack {
    left: 24px;
    right: 24px;
  }

  .opp {
    grid-template-columns: 1fr;
  }

  .flower,
  .stamp {
    display: none;
  }

  section {
    padding: 78px 0;
  }

  .reading-card {
    padding: 30px;
  }
}
