:root {
  --ink: #241149;
  --ink-soft: #5a4b73;
  --space: #2b145f;
  --space-deep: #19073f;
  --space-bright: #4c2692;
  --pink: #d92b91;
  --pink-dark: #b51c73;
  --yellow: #ffe581;
  --yellow-strong: #f7cd45;
  --mint: #bcebdc;
  --mint-strong: #54c8a7;
  --coral: #ff9d7a;
  --lilac: #e9dcff;
  --paper: #fffdf8;
  --paper-purple: #f7f2fb;
  --white: #ffffff;
  --line: #ded5ea;
  --shadow: 0 24px 70px rgba(33, 12, 73, 0.14);
  --radius-small: 14px;
  --radius: 24px;
  --radius-large: 38px;
  --font-scale: 1;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  font-size: calc(16px * var(--font-scale));
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

button,
a,
select,
input {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  touch-action: manipulation;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 4px solid var(--yellow-strong);
  outline-offset: 4px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 20px;
  top: 12px;
  transform: translateY(-150%);
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--space-deep);
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header[data-elevated="true"] {
  background: rgba(30, 7, 69, 0.97);
  box-shadow: 0 10px 40px rgba(16, 3, 38, 0.22);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(1400px, calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 210px;
}

.site-navigation {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-left: auto;
}

.site-navigation a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.site-navigation a:hover {
  color: var(--yellow);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 9px;
}

.language-control,
.tool-button,
.saved-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.language-control {
  padding: 0 11px;
}

.language-control svg,
.tool-button svg,
.saved-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-control select {
  width: 80px;
  border: 0;
  color: inherit;
  background: transparent;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

.language-control option {
  color: var(--ink);
}

.tool-button,
.saved-button {
  padding: 0 13px;
  cursor: pointer;
}

.tool-button span,
.saved-button > span:not(.saved-count) {
  font-size: 0.76rem;
  font-weight: 700;
}

.saved-count {
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--space);
  background: var(--yellow);
  font-size: 0.68rem;
  font-weight: 900;
}

.icon-button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 840px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 77% 36%, rgba(114, 74, 191, 0.65), transparent 28%),
    linear-gradient(135deg, var(--space-deep) 0%, var(--space) 55%, #3b1577 100%);
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: min(1280px, calc(100% - 48px));
  min-height: 800px;
  margin: 0 auto;
  padding: 156px 0 120px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(390px, 0.9fr);
  align-items: center;
  gap: 60px;
}

.star-field,
.star-field::before,
.star-field::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    radial-gradient(circle, rgba(255, 229, 129, 0.9) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(255, 255, 255, 0.6) 0 1px, transparent 1.4px);
  background-position: 0 0, 43px 67px;
  background-size: 140px 140px, 210px 210px;
  opacity: 0.28;
}

.star-field::before {
  transform: translate(80px, 20px) scale(0.8);
}

.star-field::after {
  transform: translate(-50px, 90px) scale(1.15);
  opacity: 0.12;
}

.eyebrow {
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--yellow);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 28px;
  height: 3px;
  border-radius: 99px;
  background: currentColor;
}

.eyebrow.dark {
  color: var(--pink-dark);
}

.eyebrow.light {
  color: var(--yellow);
}

.hero h1,
.section h2,
.professional-section h2 {
  margin: 0;
  font-family: "Arial Rounded MT Bold", "Avenir Next", sans-serif;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3.6rem, 6.5vw, 6.5rem);
}

.hero h1 em {
  color: var(--yellow);
  font-style: normal;
}

.hero-intro {
  max-width: 660px;
  margin: 28px 0 35px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.14rem;
  line-height: 1.65;
}

.question-form > label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.85rem;
  font-weight: 800;
}

.question-field {
  position: relative;
  max-width: 720px;
  padding: 7px 7px 7px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(10, 2, 31, 0.24);
}

.question-field:focus-within {
  border-color: var(--yellow);
  box-shadow: 0 0 0 5px rgba(255, 229, 129, 0.2), 0 18px 40px rgba(10, 2, 31, 0.24);
}

.question-field svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--space-bright);
  stroke-width: 2;
  stroke-linecap: round;
}

.question-field input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 1rem;
}

.question-field input::placeholder {
  color: #756b84;
}

.question-field button,
.primary-button {
  min-height: 54px;
  padding: 0 23px;
  border: 0;
  border-radius: 13px;
  color: var(--white);
  background: var(--pink);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(191, 28, 119, 0.25);
}

.question-field button:hover,
.primary-button:hover {
  background: var(--pink-dark);
}

.privacy-note {
  margin: 11px 0 0;
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.74rem;
}

.privacy-note svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--mint);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.prompt-list {
  margin-top: 25px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

.prompt-list span {
  margin-right: 2px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.73rem;
  font-weight: 700;
}

.prompt-list button {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.prompt-list button:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.hero-visual {
  position: relative;
  min-height: 590px;
}

.hero-visual > img {
  position: absolute;
  z-index: 3;
  right: 3%;
  bottom: -130px;
  width: 56%;
  filter: drop-shadow(0 26px 30px rgba(16, 2, 42, 0.28));
}

.orbit {
  position: absolute;
  border: 1px solid rgba(255, 229, 129, 0.25);
  border-radius: 50%;
  transform: rotate(-16deg);
}

.orbit::before {
  position: absolute;
  width: 10px;
  height: 10px;
  content: "";
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 7px rgba(255, 229, 129, 0.1);
}

.orbit-one {
  inset: 65px -80px 25px 10px;
}

.orbit-one::before {
  right: 18%;
  top: 7%;
}

.orbit-two {
  inset: 125px -15px 95px 68px;
  transform: rotate(30deg);
}

.orbit-two::before {
  left: 5%;
  bottom: 28%;
  background: var(--mint);
}

.answer-preview {
  position: absolute;
  z-index: 5;
  top: 105px;
  left: -10px;
  width: min(315px, 78%);
  padding: 23px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 55px rgba(10, 2, 31, 0.25);
  backdrop-filter: blur(18px);
  animation: float 6s ease-in-out infinite;
}

.preview-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--mint);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.preview-label i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint-strong);
  box-shadow: 0 0 0 5px rgba(84, 200, 167, 0.15);
}

.answer-preview p {
  margin: 16px 0 19px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.preview-source {
  padding-top: 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.7rem;
}

.preview-source span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--space-deep);
  background: var(--yellow);
  font-weight: 900;
}

.planet {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
}

.planet-one {
  width: 56px;
  height: 56px;
  right: 20px;
  top: 40px;
  background: linear-gradient(145deg, var(--coral), var(--pink));
  box-shadow: -15px 11px 0 -12px var(--yellow), 0 0 0 10px rgba(255, 255, 255, 0.04);
}

.planet-two {
  width: 22px;
  height: 22px;
  left: 35%;
  bottom: 55px;
  background: var(--mint);
}

.hero-horizon {
  position: absolute;
  z-index: 2;
  left: -8%;
  right: -8%;
  bottom: -122px;
  height: 205px;
  border-radius: 50% 50% 0 0;
  background: var(--paper);
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

.support-strip {
  width: min(1180px, calc(100% - 48px));
  margin: 20px auto 0;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid #eadfaa;
  border-radius: var(--radius-small);
  background: #fff8d9;
}

.support-strip > div {
  display: flex;
  align-items: center;
  gap: 13px;
}

.support-strip p {
  margin: 0;
  font-size: 0.83rem;
}

.support-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--white);
  background: var(--pink-dark);
  font-weight: 900;
}

.support-strip a {
  flex: 0 0 auto;
  color: var(--pink-dark);
  font-size: 0.8rem;
  font-weight: 900;
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 112px 0;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 48px;
}

.section h2,
.professional-section h2 {
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
}

.section-heading > p:last-child,
.split-heading > p {
  color: var(--ink-soft);
  font-size: 1rem;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.path-card {
  position: relative;
  min-height: 360px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.path-card:hover {
  transform: translateY(-5px);
  border-color: #c8b4dc;
  box-shadow: var(--shadow);
}

.path-card.featured {
  border-color: transparent;
  color: var(--white);
  background: var(--space);
}

.path-number {
  position: absolute;
  right: 26px;
  top: 22px;
  color: rgba(43, 20, 95, 0.16);
  font-size: 2.7rem;
  font-weight: 900;
}

.featured .path-number {
  color: rgba(255, 255, 255, 0.17);
}

.path-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 38px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: var(--space);
  background: var(--yellow);
}

.path-icon.mint { background: var(--mint); }
.path-icon.coral { background: #ffd6c8; }

.path-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.path-card h3 {
  margin: 0 0 13px;
  font-family: "Arial Rounded MT Bold", "Avenir Next", sans-serif;
  font-size: 1.45rem;
}

.path-card p {
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.path-card.featured p {
  color: rgba(255, 255, 255, 0.72);
}

.text-link {
  margin-top: auto;
  padding: 0;
  border: 0;
  color: var(--pink-dark);
  background: transparent;
  font-size: 0.85rem;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  cursor: pointer;
}

.text-link:hover {
  text-decoration-color: currentColor;
}

.featured .text-link {
  color: var(--yellow);
}

.guided-section {
  position: relative;
  width: 100%;
  max-width: none;
  padding: 110px max(24px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(580px, 1.3fr);
  align-items: start;
  gap: 70px;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 5%, rgba(120, 80, 193, 0.42), transparent 28%),
    var(--space-deep);
}

.journey-intro {
  position: sticky;
  top: 120px;
}

.journey-intro > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.journey-privacy {
  margin-top: 34px;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.journey-privacy svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--mint);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.journey-card {
  padding: 34px;
  border-radius: var(--radius-large);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 30px 80px rgba(5, 0, 18, 0.3);
}

.journey-card fieldset {
  margin: 0 0 29px;
  padding: 0;
  border: 0;
}

.journey-card legend {
  width: 100%;
  margin-bottom: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 900;
}

.journey-card legend span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--space);
  background: var(--yellow);
  font-size: 0.75rem;
}

.choice-grid {
  display: grid;
  gap: 9px;
}

.choice-grid.three { grid-template-columns: repeat(3, 1fr); }
.choice-grid.topics,
.choice-grid.formats { grid-template-columns: repeat(4, 1fr); }

.choice-grid label {
  position: relative;
  min-height: 68px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
  cursor: pointer;
  text-align: center;
}

.choice-grid label:hover {
  border-color: var(--pink);
}

.choice-grid input {
  position: absolute;
  opacity: 0;
}

.choice-grid label:has(input:checked) {
  border: 2px solid var(--pink);
  color: var(--pink-dark);
  background: #fff2fa;
  box-shadow: 0 0 0 4px rgba(217, 43, 145, 0.08);
}

.choice-grid input:focus-visible + span {
  outline: 3px solid var(--yellow-strong);
  outline-offset: 7px;
}

.choice-grid span {
  padding: 9px;
  font-size: 0.74rem;
  font-weight: 800;
}

.primary-button {
  width: 100%;
}

.journey-result {
  grid-column: 2;
  margin-top: -40px;
  padding: 31px;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 0 25px 60px rgba(8, 0, 28, 0.24);
}

.journey-result > div:first-child {
  margin-bottom: 20px;
}

.journey-result h3 {
  margin: 0 0 5px;
  font-size: 1.5rem;
}

.journey-result p {
  margin: 0;
  font-size: 0.85rem;
}

.journey-result ol,
.teaching-plan ol {
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.journey-result li,
.teaching-plan li {
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.66);
}

.journey-result li > span,
.teaching-plan li > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--white);
  background: var(--space);
  font-size: 0.74rem;
  font-weight: 900;
}

.journey-result li div,
.teaching-plan li div {
  display: grid;
}

.journey-result small,
.teaching-plan small {
  color: var(--ink-soft);
  font-size: 0.7rem;
}

.secondary-button {
  min-height: 44px;
  padding: 0 18px;
  border: 2px solid var(--space);
  border-radius: 10px;
  color: var(--space);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 60px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.topic-card {
  position: relative;
  min-height: 365px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.topic-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.topic-card img {
  position: absolute;
  right: -10px;
  top: 45px;
  width: 62%;
  height: 235px;
  object-fit: contain;
  filter: drop-shadow(0 18px 17px rgba(43, 20, 95, 0.14));
  transition: transform 220ms ease;
}

.topic-card:hover img {
  transform: translateY(-5px) rotate(2deg);
}

.topic-body { background: #fff1b4; }
.topic-feelings { background: #d5f3e9; }
.topic-relationships { background: #ffe2da; }
.topic-identity { background: #ecddfb; }
.topic-safety { background: #d9e9ff; }
.topic-siblings { background: #f4ded5; }

.topic-meta {
  position: relative;
  z-index: 2;
  width: max-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  font-size: 0.66rem;
  font-weight: 800;
}

.topic-kicker {
  position: relative;
  z-index: 2;
  margin-top: auto;
  color: var(--pink-dark);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.topic-card strong {
  position: relative;
  z-index: 2;
  max-width: 220px;
  margin-top: 4px;
  font-family: "Arial Rounded MT Bold", "Avenir Next", sans-serif;
  font-size: 1.35rem;
  line-height: 1.2;
}

.topic-arrow {
  position: absolute;
  right: 22px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--space);
  font-size: 1.1rem;
}

.resources-section {
  padding-top: 40px;
}

.filter-row {
  margin-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.filter-button {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: var(--white);
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
}

.filter-button.active {
  border-color: var(--space);
  color: var(--white);
  background: var(--space);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.resource-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 13px 40px rgba(43, 20, 95, 0.06);
}

.resource-card[hidden] {
  display: none;
}

.resource-visual {
  position: relative;
  height: 155px;
  overflow: hidden;
}

.visual-yellow { background: linear-gradient(135deg, #ffe581, #ffcf5a); }
.visual-mint { background: linear-gradient(135deg, #bcebdc, #7bd4bb); }
.visual-coral { background: linear-gradient(135deg, #ffd6c8, #ff9d7a); }

.format-chip {
  position: absolute;
  z-index: 2;
  left: 18px;
  top: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--space);
  background: rgba(255, 255, 255, 0.86);
  font-size: 0.64rem;
  font-weight: 900;
}

.resource-glyph {
  position: absolute;
  right: -5px;
  bottom: -50px;
  color: rgba(43, 20, 95, 0.11);
  font-family: "Arial Rounded MT Bold", sans-serif;
  font-size: 9rem;
  line-height: 1;
}

.resource-glyph.play {
  right: 22px;
  bottom: 18px;
  width: 75px;
  height: 75px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--space);
  font-size: 1.4rem;
}

.resource-content {
  padding: 23px;
}

.resource-audience {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.resource-audience span {
  color: var(--pink-dark);
  font-size: 0.63rem;
  font-weight: 900;
  text-transform: uppercase;
}

.resource-audience span + span::before {
  content: "· ";
}

.resource-content h3 {
  min-height: 58px;
  margin: 10px 0 9px;
  font-family: "Arial Rounded MT Bold", "Avenir Next", sans-serif;
  font-size: 1.28rem;
  line-height: 1.25;
}

.resource-content > p {
  min-height: 68px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.resource-footer {
  margin-top: 20px;
  padding-top: 15px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 13px;
  border-top: 1px solid var(--line);
}

.resource-footer > span {
  color: var(--ink-soft);
  font-size: 0.68rem;
}

.resource-footer a {
  color: var(--pink-dark);
  font-size: 0.76rem;
  font-weight: 900;
}

.save-resource {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}

.save-resource svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--space);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.save-resource[aria-pressed="true"] {
  border-color: var(--pink);
  background: #fff0f9;
}

.save-resource[aria-pressed="true"] svg {
  fill: var(--pink);
  stroke: var(--pink);
}

.professional-section {
  width: min(1180px, calc(100% - 48px));
  margin: 50px auto 110px;
  padding: 65px;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: 70px;
  border-radius: var(--radius-large);
  color: var(--white);
  background:
    radial-gradient(circle at 10% 0%, rgba(117, 77, 195, 0.42), transparent 36%),
    var(--space);
  overflow: hidden;
}

.professional-copy > p:not(.eyebrow) {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.72);
}

.professional-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button-light,
.button-quiet {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border-radius: 11px;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.button-light {
  color: var(--space);
  background: var(--yellow);
}

.button-quiet {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.teaching-plan {
  padding: 23px;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 30px 60px rgba(10, 2, 31, 0.32);
  transform: rotate(1.5deg);
}

.plan-top {
  margin-bottom: 18px;
  display: grid;
}

.plan-top span {
  color: var(--pink-dark);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-top strong {
  font-size: 1.2rem;
}

.teaching-plan li {
  border: 1px solid var(--line);
  background: var(--white);
}

.teaching-plan li.done {
  background: #ecfaf5;
}

.teaching-plan button {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  color: var(--white);
  background: var(--pink);
  font-size: 0.76rem;
  font-weight: 900;
  cursor: pointer;
}

.site-footer {
  color: var(--white);
  background: var(--space-deep);
}

.footer-main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 75px 0 55px;
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.8fr 1fr;
  gap: 60px;
}

.footer-brand img {
  width: 220px;
}

.footer-main p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
}

.footer-main h2 {
  margin: 0 0 16px;
  color: var(--yellow);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.footer-main > div:not(.footer-brand) > a {
  margin: 0 0 8px;
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.76rem;
  text-decoration: none;
}

.footer-main a:hover {
  color: var(--yellow);
}

.footer-signup {
  width: max-content;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 900;
}

.acknowledgement {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 27px 0;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.acknowledgement p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.68rem;
}

.acknowledgement strong {
  display: block;
  color: var(--white);
}

.country-symbol {
  width: 43px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.country-symbol span {
  height: 5px;
  border-radius: 99px;
}

.country-symbol span:nth-child(1) { width: 43px; background: #d55742; }
.country-symbol span:nth-child(2) { width: 31px; background: #f1cb53; }
.country-symbol span:nth-child(3) { width: 38px; background: #5fb999; }

.footer-bottom {
  padding: 15px max(24px, calc((100% - 1180px) / 2));
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.42);
  background: rgba(0, 0, 0, 0.18);
  font-size: 0.62rem;
}

.floating-ask {
  position: fixed;
  z-index: 80;
  right: 24px;
  bottom: 24px;
  min-height: 52px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--pink);
  box-shadow: 0 15px 35px rgba(87, 6, 60, 0.28);
  font-size: 0.76rem;
  font-weight: 900;
  cursor: pointer;
}

.floating-ask svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.feedback-tab {
  position: fixed;
  z-index: 70;
  left: 0;
  top: 70%;
  padding: 13px 7px;
  border: 0;
  border-radius: 0 9px 9px 0;
  color: var(--space);
  background: var(--mint);
  font-size: 0.66rem;
  font-weight: 900;
  writing-mode: vertical-rl;
  cursor: pointer;
}

dialog {
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
}

dialog::backdrop {
  background: rgba(17, 5, 44, 0.72);
  backdrop-filter: blur(6px);
}

.answer-dialog {
  width: min(720px, calc(100% - 32px));
  border-radius: 28px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 35px 100px rgba(6, 0, 20, 0.45);
}

.dialog-shell {
  max-height: min(850px, calc(100vh - 40px));
  display: flex;
  flex-direction: column;
}

.dialog-header {
  padding: 20px 23px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  color: var(--white);
  background: var(--space);
}

.assistant-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
}

.assistant-mark::before {
  width: 18px;
  height: 18px;
  content: "";
  border: 2px solid var(--space);
  border-radius: 50%;
  box-shadow: 8px 8px 0 -6px var(--space);
}

.dialog-header > div:nth-child(2) {
  display: grid;
}

.dialog-header span {
  color: var(--yellow);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dialog-header strong {
  font-size: 0.85rem;
}

.dialog-close {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: inherit;
  font-size: 1.7rem;
}

.dialog-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.dialog-content {
  padding: 30px;
  overflow-y: auto;
}

.dialog-question {
  width: fit-content;
  max-width: 86%;
  margin: 0 0 27px auto;
  padding: 13px 17px;
  border-radius: 16px 16px 4px 16px;
  color: var(--white);
  background: var(--space-bright);
  font-size: 0.82rem;
  font-weight: 700;
}

.answer-loading {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
}

.answer-loading span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  animation: pulse 1s ease-in-out infinite;
}

.answer-loading span:nth-child(2) { animation-delay: 120ms; }
.answer-loading span:nth-child(3) { animation-delay: 240ms; }

.answer-loading p {
  width: 100%;
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
  text-align: center;
}

@keyframes pulse {
  0%, 100% { transform: translateY(0); opacity: 0.35; }
  50% { transform: translateY(-7px); opacity: 1; }
}

.answer-message {
  margin: 0;
  font-size: 1rem;
  line-height: 1.72;
}

.answer-actions {
  margin: 21px 0;
  display: flex;
  gap: 8px;
}

.answer-actions button {
  min-height: 40px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--space);
  background: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.answer-actions svg,
.source-heading svg,
.dialog-privacy svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.source-panel {
  border: 1px solid var(--line);
  border-radius: 17px;
  overflow: hidden;
}

.source-heading {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: #f3ecfa;
}

.source-heading span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--space);
  font-size: 0.73rem;
  font-weight: 900;
}

.source-heading small {
  color: var(--ink-soft);
  font-size: 0.62rem;
}

.source-panel ul {
  margin: 0;
  padding: 0 16px;
  list-style: none;
}

.source-panel li + li {
  border-top: 1px solid var(--line);
}

.source-panel a {
  padding: 13px 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.source-index {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--space);
  background: var(--yellow);
  font-size: 0.65rem;
  font-weight: 900;
}

.source-panel a span:nth-child(2) {
  font-size: 0.74rem;
  font-weight: 800;
}

.source-open {
  color: var(--pink-dark);
  font-size: 0.7rem;
  font-weight: 900;
}

.answer-footer {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.answer-footer p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.68rem;
}

.answer-footer button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.68rem;
  cursor: pointer;
}

.answer-footer button:first-child { border-radius: 999px 0 0 999px; }
.answer-footer button:last-child { border-radius: 0 999px 999px 0; }

.dialog-privacy {
  padding: 13px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  background: var(--paper-purple);
  font-size: 0.64rem;
}

.accessibility-dialog {
  width: min(480px, calc(100% - 32px));
  border-radius: 25px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 35px 100px rgba(6, 0, 20, 0.45);
}

.accessibility-header {
  padding: 25px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: var(--white);
  background: var(--space);
}

.accessibility-header span {
  color: var(--yellow);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.accessibility-header h2 {
  margin: 3px 0 0;
  font-size: 1.7rem;
}

.accessibility-options {
  padding: 24px;
}

.accessibility-options fieldset {
  margin: 0;
  padding: 0 0 20px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.accessibility-options legend {
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 900;
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.segmented-control button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-weight: 900;
  cursor: pointer;
}

.segmented-control button[aria-pressed="true"] {
  border-color: var(--space);
  color: var(--white);
  background: var(--space);
}

.switch-row {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.switch-row span {
  display: grid;
}

.switch-row small {
  color: var(--ink-soft);
  font-size: 0.68rem;
}

.switch-row input {
  width: 48px;
  height: 27px;
  appearance: none;
  border-radius: 999px;
  background: #cfc7d6;
  cursor: pointer;
}

.switch-row input::before {
  width: 21px;
  height: 21px;
  margin: 3px;
  display: block;
  content: "";
  border-radius: 50%;
  background: var(--white);
  transition: transform 150ms ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.switch-row input:checked {
  background: var(--pink);
}

.switch-row input:checked::before {
  transform: translateX(21px);
}

.reset-settings {
  width: calc(100% - 48px);
  min-height: 43px;
  margin: 0 24px 24px;
  border: 1px solid var(--space);
  border-radius: 10px;
  color: var(--space);
  background: transparent;
  font-size: 0.76rem;
  font-weight: 900;
  cursor: pointer;
}

.toast {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: 28px;
  max-width: calc(100% - 32px);
  padding: 12px 17px;
  border-radius: 999px;
  color: var(--white);
  background: var(--space-deep);
  box-shadow: var(--shadow);
  font-size: 0.75rem;
  font-weight: 800;
  transform: translate(-50%, 130%);
  transition: transform 180ms ease;
}

.toast.show {
  transform: translate(-50%, 0);
}

.easy-read .full-copy { display: none; }
.easy-read .easy-copy { display: block !important; }
.easy-read p,
.easy-read li,
.easy-read label,
.easy-read .resource-content > p {
  line-height: 1.85;
}

.high-contrast {
  --ink: #16002d;
  --ink-soft: #2c1743;
  --space: #24004e;
  --space-deep: #100024;
  --pink: #b80069;
  --pink-dark: #85004a;
  --line: #837594;
}

.high-contrast .resource-card,
.high-contrast .path-card,
.high-contrast .journey-card {
  border-width: 2px;
}

.reduce-motion *,
.reduce-motion *::before,
.reduce-motion *::after {
  scroll-behavior: auto !important;
  animation: none !important;
  transition-duration: 0.001ms !important;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1180px) {
  .header-inner {
    width: min(100% - 32px, 1050px);
    gap: 20px;
  }

  .brand img { width: 170px; }
  .site-navigation { gap: 17px; }
  .site-navigation a { font-size: 0.74rem; }
  .tool-button span,
  .saved-button > span:not(.saved-count) { display: none; }

  .hero-inner {
    grid-template-columns: minmax(0, 1.18fr) minmax(330px, 0.82fr);
  }

  .hero h1 { font-size: clamp(3.6rem, 7vw, 5.7rem); }
  .question-field button { padding: 0 16px; }
}

@media (max-width: 940px) {
  .menu-toggle {
    width: 42px;
    height: 42px;
    margin-left: auto;
    display: grid;
    place-content: center;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
  }

  .menu-toggle > span:not(.sr-only) {
    width: 18px;
    height: 2px;
    border-radius: 99px;
    background: var(--white);
  }

  .site-navigation {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: var(--space-deep);
    box-shadow: var(--shadow);
  }

  .site-navigation.open { display: flex; }
  .site-navigation a { padding: 8px; font-size: 0.86rem; }

  .header-tools { margin-left: 0; }
  .language-control { display: none; }

  .hero { min-height: 960px; }
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 145px;
    text-align: center;
  }

  .hero-copy { position: relative; z-index: 5; }
  .eyebrow { justify-content: center; }
  .hero-intro { margin-left: auto; margin-right: auto; }
  .question-field { margin: 0 auto; }
  .privacy-note,
  .prompt-list { justify-content: center; }
  .hero-visual { min-height: 330px; margin-top: -30px; }
  .hero-visual > img { width: 260px; right: calc(50% - 130px); bottom: -130px; }
  .answer-preview { left: 8%; top: 30px; text-align: left; }
  .orbit-one { inset: -10px 5% -80px; }
  .orbit-two { inset: 30px 15% -30px; }
  .hero-horizon { bottom: -130px; }

  .path-grid,
  .resource-grid { grid-template-columns: 1fr 1fr; }
  .path-card:last-child,
  .resource-card:last-child { grid-column: 1 / -1; }

  .guided-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .journey-intro { position: static; text-align: center; }
  .journey-privacy { max-width: 480px; margin-left: auto; margin-right: auto; text-align: left; }
  .journey-result { grid-column: 1; margin-top: -15px; }
  .choice-grid.topics,
  .choice-grid.formats { grid-template-columns: repeat(2, 1fr); }

  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .professional-section { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-main > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .header-inner { width: calc(100% - 24px); min-height: 70px; }
  .brand img { width: 158px; }
  .tool-button { display: none; }
  .saved-button { width: 42px; padding: 0; justify-content: center; }
  .saved-count { position: absolute; transform: translate(14px, -13px); }

  .hero { min-height: 880px; }
  .hero-inner {
    width: calc(100% - 30px);
    padding: 120px 0 95px;
    gap: 25px;
  }

  .hero h1 { font-size: clamp(3.1rem, 16vw, 4.5rem); }
  .hero-intro { margin: 22px 0 28px; font-size: 0.98rem; }
  .question-field { padding: 8px; flex-wrap: wrap; border-radius: 17px; }
  .question-field svg { margin-left: 7px; }
  .question-field input { width: calc(100% - 48px); min-height: 45px; }
  .question-field button { width: 100%; }
  .privacy-note { font-size: 0.66rem; }
  .prompt-list { display: none; }
  .hero-visual { min-height: 255px; }
  .hero-visual > img { width: 205px; right: calc(50% - 102px); bottom: -100px; }
  .answer-preview { width: 235px; top: 5px; left: -4px; padding: 16px; }
  .answer-preview p { margin: 10px 0; font-size: 0.82rem; }
  .planet-one { right: 2px; top: -12px; width: 42px; height: 42px; }

  .support-strip {
    width: calc(100% - 30px);
    align-items: flex-start;
    flex-direction: column;
  }

  .section {
    width: calc(100% - 30px);
    padding: 82px 0;
  }

  .section h2,
  .professional-section h2 { font-size: 2.45rem; }
  .section-heading { margin-bottom: 34px; }
  .split-heading { grid-template-columns: 1fr; gap: 14px; }

  .path-grid,
  .resource-grid,
  .topic-grid { grid-template-columns: 1fr; }
  .path-card,
  .resource-card:last-child { grid-column: auto; }
  .path-card { min-height: 310px; }

  .guided-section {
    padding: 80px 15px;
  }

  .journey-card { padding: 23px; border-radius: 24px; }
  .choice-grid.three { grid-template-columns: 1fr; }
  .choice-grid.topics,
  .choice-grid.formats { grid-template-columns: 1fr 1fr; }
  .choice-grid label { min-height: 55px; }

  .topic-card { min-height: 330px; }
  .topic-card img { height: 210px; }
  .resources-section { padding-top: 20px; }
  .resource-content h3,
  .resource-content > p { min-height: 0; }

  .professional-section {
    width: calc(100% - 30px);
    margin-bottom: 80px;
    padding: 36px 24px;
    gap: 35px;
    border-radius: 26px;
  }

  .professional-actions { flex-direction: column; }
  .button-light,
  .button-quiet { justify-content: center; }

  .footer-main {
    width: calc(100% - 38px);
    padding: 60px 0 40px;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

  .footer-brand { grid-column: 1 / -1; }
  .footer-main > div:last-child { grid-column: 1 / -1; }
  .acknowledgement { width: calc(100% - 38px); align-items: start; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 4px; }

  .floating-ask { right: 15px; bottom: 15px; }
  .floating-ask span { display: none; }
  .floating-ask { width: 52px; padding: 0; justify-content: center; }
  .feedback-tab { display: none; }

  .dialog-content { padding: 22px; }
  .source-heading { align-items: flex-start; flex-direction: column; }
  .source-panel a { grid-template-columns: auto 1fr; }
  .source-open { display: none; }
}
