*,
*::before,
*::after {
  box-sizing: border-box;
}

.ll-home-focal {
  position: relative;
  display: grid;
  place-items: center;
  align-self: stretch;
  min-width: 0;
  min-height: clamp(420px, 53vw, 720px);
  padding: 32px;
  overflow: visible;
  background: radial-gradient(circle at 50% 47%, rgba(255,255,255,.94) 0 8%, rgba(204,174,255,.44) 9% 23%, rgba(85,216,255,.14) 24% 38%, transparent 39%), #140f1a;
  border-left: 1px solid rgba(255,255,255,.24);
}

.ll-home-focal::before,
.ll-home-focal::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 47%;
  border: 1px solid rgba(199,166,255,.62);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  pointer-events: none;
}

.ll-home-focal::before { width: 82%; aspect-ratio: 1.25; }
.ll-home-focal::after { width: 62%; aspect-ratio: 1; transform: translate(-50%, -50%) rotate(18deg); }

.ll-home-focal > p {
  position: absolute;
  top: 24px;
  left: 24px;
  margin: 0;
  color: #ff8dc2;
  font: 800 11px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.ll-home-focal__moon {
  position: relative;
  z-index: 1;
  width: min(58%, 340px);
  aspect-ratio: 1;
  border: 2px solid #55d8ff;
  border-radius: 50%;
  background: #fff8fc;
  box-shadow: 0 0 0 18px rgba(190,153,255,.18), 0 0 64px rgba(85,216,255,.28);
}

.ll-home-focal__moon i {
  position: absolute;
  inset: 8% 10% 8% 34%;
  border-radius: 50%;
  background: #140f1a;
}

.ll-home-focal__moon span,
.ll-home-focal__moon b {
  position: absolute;
  width: 12px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ff4f9d;
  box-shadow: 0 0 0 5px rgba(255,79,157,.16);
}

.ll-home-focal__moon span { left: -28%; top: 24%; }
.ll-home-focal__moon b { right: -42%; bottom: 12%; background: #55d8ff; }

.ll-home-focal > a {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: min(260px, 70%);
  padding: 14px;
  border: 1px solid #fff;
  background: #ff4f9d;
  color: #fff;
  text-decoration: none;
}

.ll-home-focal > a span { font: 800 10px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; }
.ll-home-focal > a strong { font: 700 21px/1.05 Georgia, serif; }

.home-discovery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  margin: 14px 0;
  color: #29172f;
}

.home-discovery > div {
  min-width: 0;
  padding: 16px;
  border: 1px solid #29172f;
  background: #fff8fc;
}

.home-discovery header {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid #29172f;
}

.home-discovery header span {
  color: #a71964;
  font: 800 10px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.home-discovery header h2 {
  margin: 0;
  font: 700 clamp(25px, 3vw, 40px)/.98 Georgia, serif;
}

.home-discovery nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
}

.home-discovery a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 84px;
  padding: 9px;
  border: 1px solid #29172f;
  background: #ffe0ef;
  color: inherit;
  text-decoration: none;
}

.home-discovery a:nth-child(3n + 2) { background: #e3f8ff; }
.home-discovery a:nth-child(3n + 3) { background: #eee3ff; }
.home-discovery a b,
.home-discovery__concerns a { font: 800 11px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; text-transform: uppercase; }
.home-discovery a small { margin-top: 18px; font-size: 11px; line-height: 1.2; }

.discovery-page {
  --discovery-pink: #ff4f9d;
  --discovery-blue: #55d8ff;
  --discovery-lilac: #b898ff;
  --discovery-mint: #8be7d1;
  --discovery-ink: #23152d;
  --discovery-paper: #fff8fc;
  background: #f8eefa;
}

.discovery-page :is(main, section, article, div, nav, a) {
  min-width: 0;
}

.discovery-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 84px;
}

.discovery-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  font: 700 12px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
  text-transform: uppercase;
}

.discovery-breadcrumb > * + *::before {
  content: "/";
  margin-right: 8px;
  color: var(--discovery-pink);
}

.discovery-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 24px;
  align-items: stretch;
  border: 2px solid var(--discovery-ink);
  background: var(--discovery-paper);
  box-shadow: 8px 8px 0 var(--discovery-blue);
  padding: clamp(24px, 4vw, 54px);
}

.discovery-eyebrow,
.discovery-section-heading > p {
  margin: 0 0 12px;
  color: #a71964;
  font: 800 12px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
  text-transform: uppercase;
}

.discovery-hero h1 {
  max-width: 16ch;
  margin: 0;
  font: 700 clamp(44px, 7vw, 92px)/0.92 Georgia, serif;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.discovery-hero > div > p:last-child {
  max-width: 68ch;
  margin: 24px 0 0;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.6;
}

.discovery-status {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  padding: 18px;
  border: 1px dashed var(--discovery-ink);
  background: linear-gradient(135deg, #efe5ff 0 50%, #e4f8ff 50%);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.discovery-status span {
  font-size: 13px;
}

.discovery-status strong {
  max-width: 13ch;
  font-size: 18px;
}

.discovery-status i {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 30px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--discovery-pink);
  color: white;
  font-style: normal;
}

.quiz-category-strip,
.astrology-directory,
.explore-system-grid,
.timing-catalogue {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 34px;
}

.quiz-category-strip article,
.astrology-directory a,
.explore-system-grid a,
.timing-catalogue article {
  min-height: 170px;
  padding: 18px;
  border: 1px solid var(--discovery-ink);
  background: white;
}

.quiz-category-strip article:nth-child(4n + 1),
.astrology-directory a:nth-child(4n + 1),
.explore-system-grid a:nth-child(4n + 1) { background: #ffd9ec; }
.quiz-category-strip article:nth-child(4n + 2),
.astrology-directory a:nth-child(4n + 2),
.explore-system-grid a:nth-child(4n + 2) { background: #dff7ff; }
.quiz-category-strip article:nth-child(4n + 3),
.astrology-directory a:nth-child(4n + 3),
.explore-system-grid a:nth-child(4n + 3) { background: #eee4ff; }
.quiz-category-strip article:nth-child(4n + 4),
.astrology-directory a:nth-child(4n + 4),
.explore-system-grid a:nth-child(4n + 4) { background: #e1faf4; }

.quiz-category-strip span,
.astrology-directory span,
.explore-system-grid span,
.timing-catalogue span {
  color: #a71964;
  font: 800 12px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.quiz-category-strip h2,
.astrology-directory h2,
.explore-system-grid h2,
.timing-catalogue h2 {
  margin: 18px 0 8px;
  font: 700 24px/1 Georgia, serif;
}

.quiz-category-strip p,
.astrology-directory p,
.explore-system-grid p,
.timing-catalogue p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
}

.discovery-section-heading {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 12px 28px;
  align-items: end;
  margin: 58px 0 24px;
  border-bottom: 2px solid var(--discovery-ink);
  padding-bottom: 16px;
}

.discovery-section-heading > p:first-child {
  grid-row: span 2;
}

.discovery-section-heading h2 {
  margin: 0;
  font: 700 clamp(34px, 5vw, 64px)/0.98 Georgia, serif;
}

.discovery-section-heading > p:last-child {
  margin: 0;
  max-width: 65ch;
}

.self-test-grid,
.discovery-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.self-test-card,
.discovery-product-card {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 20px;
  border: 2px solid var(--discovery-ink);
  background: white;
  box-shadow: 5px 5px 0 var(--discovery-lilac);
}

.self-test-card:nth-child(2n),
.discovery-product-card:nth-child(2n) {
  box-shadow-color: var(--discovery-blue);
}

.self-test-card > div,
.discovery-product-card__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #8f1758;
  font: 800 11px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
  text-transform: uppercase;
}

.self-test-card > p:first-of-type,
.discovery-product-card__question {
  margin: 28px 0 12px;
  color: #6e3457;
  font-weight: 800;
  text-transform: uppercase;
}

.self-test-card h2,
.discovery-product-card h3 {
  margin: 0 0 16px;
  font: 700 31px/1 Georgia, serif;
}

.self-test-card small {
  margin-top: auto;
  font: 700 12px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.self-test-card a,
.discovery-enter {
  display: inline-flex;
  justify-content: center;
  margin-top: 18px;
  padding: 12px 16px;
  border: 1px solid var(--discovery-ink);
  background: var(--discovery-pink);
  color: white;
  font-weight: 800;
  text-decoration: none;
}

.discovery-method,
.attachment-method,
.relationship-method-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 54px;
}

.discovery-method > div,
.attachment-method > div,
.attachment-method > dl,
.relationship-method-split article {
  margin: 0;
  padding: 26px;
  border: 1px solid var(--discovery-ink);
  background: #fff;
}

.discovery-method h2,
.discovery-method h3,
.attachment-method h2,
.relationship-method-split h2 {
  margin: 0 0 12px;
  font-family: Georgia, serif;
}

.attachment-method dl div,
.discovery-product-card dl div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dotted #a58fa9;
}

.attachment-method dt,
.discovery-product-card dt {
  font: 800 11px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace;
  text-transform: uppercase;
}

.attachment-method dd,
.discovery-product-card dd {
  margin: 0;
  line-height: 1.45;
}

.self-assessment-tool {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
  gap: 12px;
  margin-top: 18px;
  align-items: start;
}

.self-assessment-tool > * {
  border: 1px solid var(--discovery-ink);
  background: white;
  padding: clamp(18px, 3vw, 34px);
}

.assessment-question {
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid #c9b9cd;
}

.assessment-question legend {
  display: flex;
  gap: 10px;
  padding: 0 6px;
  font-weight: 700;
}

.assessment-question legend span {
  color: #a71964;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.assessment-scale {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  margin-top: 14px;
}

.assessment-scale label {
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: 8px;
  border: 1px solid #cab8ce;
  background: #faf5ff;
  text-align: center;
  font-size: 12px;
}

.assessment-score-list > div,
.assessment-profile section {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dotted #ad93b2;
}

.assessment-score-list p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.assessment-score-list meter {
  width: 100%;
}

.assessment-profile h3,
.assessment-next h3 {
  margin-bottom: 5px;
  font-size: 16px;
}

.assessment-next {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.assessment-next h3 {
  flex-basis: 100%;
}

.assessment-next a {
  padding: 8px 10px;
  border: 1px solid var(--discovery-ink);
}

.assessment-safety-note {
  padding: 16px;
  border-left: 5px solid var(--discovery-blue);
  background: white;
}

.astrology-focal {
  display: grid;
  grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 32px;
  margin-top: 44px;
  padding: 28px;
  border: 1px solid #59446f;
  background: #171225;
  color: white;
}

.astrology-focal__wheel {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid #c9b8ff;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, transparent 0 29deg, rgba(117, 217, 255, .42) 29deg 30deg), radial-gradient(circle, transparent 0 35%, rgba(189, 155, 255, .22) 35% 36%, transparent 36% 64%, rgba(117, 217, 255, .22) 64% 65%, transparent 65%);
}

.astrology-focal__wheel span {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  aspect-ratio: 1;
  border: 1px solid #c9b8ff;
  border-radius: 50%;
  background: #fff;
  color: #24162f;
  font-weight: 800;
}

.astrology-focal__wheel span:nth-child(1) { left: 46%; top: 6%; }
.astrology-focal__wheel span:nth-child(2) { right: 7%; top: 46%; }
.astrology-focal__wheel span:nth-child(3) { left: 8%; top: 45%; }
.astrology-focal__wheel span:nth-child(4) { left: 46%; bottom: 6%; }
.astrology-focal__wheel i { position: absolute; inset: 29%; border: 1px solid #ff65aa; transform: rotate(24deg); }

.discovery-tier {
  margin-top: 50px;
}

.discovery-tier__heading {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--discovery-ink);
}

.discovery-tier__heading span {
  color: #a71964;
  font: 800 12px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.discovery-tier__heading h2 {
  margin: 0 0 10px;
  font: 700 40px/1 Georgia, serif;
}

.discovery-product-card dl {
  margin: 0;
}

.discovery-enter {
  margin-top: auto;
}

.relationship-method-split article:first-child { background: #e5f7ff; }
.relationship-method-split article:last-child { background: #f0e6ff; }
.relationship-method-split span { color: #8f1758; font: 800 12px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; text-transform: uppercase; }

.concern-prompts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 34px;
}

.concern-prompts article {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  min-height: 130px;
  padding: 18px;
  border: 1px solid var(--discovery-ink);
  background: white;
}

.concern-prompts span {
  color: #a71964;
  font: 800 12px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.concern-prompts p {
  margin: 0;
  font: 700 20px/1.25 Georgia, serif;
}

.concern-link-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.concern-link-grid a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 135px;
  padding: 16px;
  border: 1px solid var(--discovery-ink);
  background: white;
}

.concern-link-grid span {
  color: #a71964;
  font: 800 13px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
  text-transform: uppercase;
}

.concern-link-grid small {
  font: 700 17px/1.2 Georgia, serif;
}

@media (max-width: 1050px) {
  .home-discovery { grid-template-columns: 1fr; }
  .quiz-category-strip,
  .astrology-directory,
  .explore-system-grid,
  .timing-catalogue { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .self-test-grid,
  .discovery-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .concern-link-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .ll-home-focal { min-height: 420px; border-left: 0; border-top: 1px solid rgba(255,255,255,.24); }
  .home-discovery nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-discovery header { grid-template-columns: 1fr; }
  .discovery-main { width: min(100% - 20px, 680px); padding-top: 14px; }
  .discovery-hero { grid-template-columns: 1fr; padding: 24px 18px; box-shadow: 5px 5px 0 var(--discovery-blue); }
  .discovery-hero h1 { font-size: clamp(42px, 14vw, 68px); overflow-wrap: normal; }
  .discovery-status { min-height: 120px; }
  .quiz-category-strip,
  .astrology-directory,
  .explore-system-grid,
  .timing-catalogue,
  .self-test-grid,
  .discovery-product-grid,
  .discovery-method,
  .attachment-method,
  .relationship-method-split,
  .concern-prompts,
  .self-assessment-tool,
  .astrology-focal { grid-template-columns: 1fr; }
  .concern-link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .discovery-section-heading { grid-template-columns: 1fr; }
  .discovery-section-heading > p:first-child { grid-row: auto; }
  .assessment-scale { grid-template-columns: 1fr; }
  .assessment-scale label { grid-template-columns: 30px minmax(0, 1fr); justify-items: start; min-height: 48px; text-align: left; }
  .astrology-focal__wheel { width: min(100%, 430px); margin: 0 auto; }
}

@media (max-width: 390px) {
  .ll-home-focal { min-height: 360px; padding: 18px; }
  .ll-home-focal > a { right: 14px; bottom: 14px; }
  .concern-link-grid { grid-template-columns: 1fr; }
  .quiz-category-strip article,
  .astrology-directory a,
  .explore-system-grid a,
  .timing-catalogue article { min-height: 145px; }
  .self-test-card,
  .discovery-product-card { min-height: auto; }
}
