:root {
  --ink: #242033;
  --muted: #5f596a;
  --cream: #fcfaff;
  --paper: #ffffff;
  --lilac: #e9e2ff;
  --lilac-soft: #f3efff;
  --purple: #5b4b82;
  --purple-deep: #362b54;
  --blue: #466075;
  --rose: #9b6a78;
  --line: rgba(91, 75, 130, 0.16);
  --shadow: 0 24px 80px rgba(54, 43, 84, 0.12);
  --shell: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 2%, rgba(233, 226, 255, 0.72), transparent 24rem),
    var(--cream);
  font-family:
    "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

p,
h1,
h2,
h3,
figure {
  margin: 0;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 11px 16px;
  border-radius: 10px;
  color: white;
  background: var(--purple-deep);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(91, 75, 130, 0.48);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(252, 250, 255, 0.8);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(54, 43, 84, 0.06);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(54, 43, 84, 0.2);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 0.88rem;
  letter-spacing: 0.11em;
}

.brand-copy span {
  color: var(--purple);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  margin-left: auto;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.desktop-nav a {
  position: relative;
  padding-block: 12px;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 2px;
  border-radius: 10px;
  background: var(--purple);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  padding: 11px 17px;
  border-radius: 999px;
  color: white;
  background: var(--ink);
  font-size: 0.84rem;
  font-weight: 750;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease;
}

.header-cta:hover {
  background: var(--purple);
  transform: translateY(-2px);
}

.hero {
  min-height: 760px;
  padding-block: clamp(56px, 8vw, 104px) clamp(72px, 9vw, 120px);
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(430px, 0.88fr);
  align-items: center;
  gap: clamp(40px, 7vw, 104px);
}

.eyebrow,
.section-kicker {
  color: var(--purple);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 5px rgba(155, 106, 120, 0.12);
}

.hero h1 {
  max-width: 750px;
  font-size: clamp(3.2rem, 6.6vw, 5.65rem);
  font-weight: 850;
  line-height: 1.04;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.hero h1 span {
  color: var(--purple);
}

.hero-description {
  max-width: 590px;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  line-height: 1.78;
  word-break: keep-all;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 52px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 0.94rem;
  font-weight: 760;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: white;
  background: var(--purple-deep);
  box-shadow: 0 15px 34px rgba(54, 43, 84, 0.22);
}

.button-primary:hover {
  background: var(--purple);
  box-shadow: 0 18px 38px rgba(54, 43, 84, 0.28);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.button-secondary:hover {
  background: white;
  box-shadow: 0 12px 28px rgba(54, 43, 84, 0.08);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
  font-size: 0.8rem;
  font-weight: 650;
}

.hero-notes li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-notes li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple);
}

.hero-visual {
  position: relative;
}

.moon-stage {
  position: relative;
  aspect-ratio: 0.91;
  max-width: 520px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 46% 46% 32px 32px;
  background: var(--lilac);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.moon-stage::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: inherit;
  pointer-events: none;
}

.moon-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
}

.image-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 14, 41, 0.78), transparent 48%);
}

.moon-stage figcaption {
  position: absolute;
  z-index: 4;
  right: 34px;
  bottom: 31px;
  left: 34px;
  display: grid;
  gap: 6px;
  color: white;
}

.moon-stage figcaption span {
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.19em;
}

.moon-stage figcaption strong {
  font-size: 1.35rem;
}

.floating-note {
  position: absolute;
  z-index: 7;
  min-width: 170px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 17px;
  display: grid;
  gap: 4px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 42px rgba(31, 23, 55, 0.2);
  backdrop-filter: blur(14px);
}

.floating-note span {
  color: var(--purple);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.floating-note strong {
  font-size: 0.86rem;
}

.note-top {
  top: 17%;
  left: 18px;
}

.note-bottom {
  right: 18px;
  bottom: 24%;
}

.intro-strip {
  overflow: hidden;
  color: white;
  background: var(--purple-deep);
}

.intro-strip-inner {
  min-height: 102px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 5vw, 70px);
}

.intro-strip p {
  font-size: clamp(1.1rem, 2.5vw, 1.8rem);
  font-weight: 740;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.intro-strip span {
  color: #d7c8ff;
}

.section {
  padding-block: clamp(96px, 12vw, 160px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 60px;
}

.section-heading.compact {
  margin-bottom: 48px;
}

.section-heading h2,
.insight-copy h2,
.recommendation-copy h2,
.closing-copy h2 {
  margin-top: 15px;
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  font-weight: 840;
  line-height: 1.1;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.section-heading > p:last-child,
.insight-copy > p,
.recommendation-copy > p,
.closing-copy > p {
  max-width: 660px;
  margin-top: 23px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.78;
  word-break: keep-all;
}

.journey {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.journey-item {
  min-height: 260px;
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 70px minmax(260px, 0.75fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
}

.step-number {
  align-self: start;
  padding-top: 8px;
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.step-visual {
  min-height: 195px;
  border-radius: 26px;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.capture-visual {
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.88), transparent 25%),
    var(--lilac);
}

.camera-frame {
  position: relative;
  width: 138px;
  height: 162px;
  border: 2px solid rgba(91, 75, 130, 0.32);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.46);
}

.camera-frame::before,
.camera-frame::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--purple);
  border-style: solid;
}

.camera-frame::before {
  top: 10px;
  left: 10px;
  border-width: 2px 0 0 2px;
}

.camera-frame::after {
  right: 10px;
  bottom: 10px;
  border-width: 0 2px 2px 0;
}

.camera-moon {
  position: absolute;
  top: 28px;
  left: 41px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.8);
}

.camera-person {
  position: absolute;
  top: 58px;
  left: 58px;
  width: 23px;
  height: 70px;
  border-radius: 18px 18px 8px 8px;
  background: var(--purple-deep);
  transform: rotate(7deg);
}

.camera-person::before {
  content: "";
  position: absolute;
  top: -17px;
  left: 3px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--purple-deep);
}

.camera-frame > span {
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  color: var(--purple);
  font-size: 0.63rem;
  font-weight: 800;
  text-align: center;
}

.report-visual {
  background: var(--purple-deep);
}

.report-score {
  width: min(82%, 290px);
  color: white;
}

.report-score > span {
  color: #cfc2f5;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.report-score > strong {
  margin-top: 10px;
  display: block;
  font-size: 1.15rem;
}

.report-bars {
  display: grid;
  gap: 9px;
  margin-top: 25px;
}

.report-bars i {
  position: relative;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.report-bars i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--bar);
  border-radius: inherit;
  background: linear-gradient(90deg, #aa9add, #f3dbe6);
}

.report-bars .bar-84 { --bar: 84%; }
.report-bars .bar-72 { --bar: 72%; }
.report-bars .bar-90 { --bar: 90%; }

.diary-visual {
  background: #f0ecf8;
}

.mini-calendar {
  width: min(82%, 290px);
}

.calendar-head {
  margin-bottom: 20px;
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.calendar-head span {
  color: var(--purple);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.calendar-head strong {
  font-size: 0.92rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-grid i {
  aspect-ratio: 1;
  border-radius: 8px;
  background: rgba(91, 75, 130, 0.08);
}

.calendar-grid i.logged {
  background: var(--purple);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.72);
}

.step-label {
  color: var(--purple);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.step-copy h3 {
  margin-top: 10px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.22;
  letter-spacing: -0.04em;
}

.step-copy > p:last-child {
  max-width: 540px;
  margin-top: 13px;
  color: var(--muted);
  line-height: 1.72;
  word-break: keep-all;
}

.insight-section {
  background:
    linear-gradient(180deg, rgba(233, 226, 255, 0.6), rgba(252, 250, 255, 0.1)),
    var(--cream);
}

.insight-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(500px, 1.08fr);
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
}

.insight-rule {
  max-width: 570px;
  margin-top: 30px;
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.insight-rule span {
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--purple);
  font-weight: 850;
}

.insight-demo {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(91, 75, 130, 0.11);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.radar-chart {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1.16;
  margin-inline: auto;
}

.radar-grid {
  position: absolute;
  inset: 17% 18%;
}

.hex,
.radar-shape,
.spoke,
.radar-grid b {
  position: absolute;
  display: block;
}

.hex {
  clip-path: polygon(50% 0, 93.3% 25%, 93.3% 75%, 50% 100%, 6.7% 75%, 6.7% 25%);
}

.hex-outer {
  inset: 0;
  background: rgba(91, 75, 130, 0.08);
}

.hex-outer::after,
.hex-middle::after,
.hex-inner::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: rgba(255, 255, 255, 0.7);
  clip-path: inherit;
}

.hex-middle {
  inset: 16%;
  background: rgba(91, 75, 130, 0.11);
}

.hex-inner {
  inset: 32%;
  background: rgba(91, 75, 130, 0.14);
}

.spoke {
  z-index: 1;
  top: 50%;
  left: 4%;
  width: 92%;
  height: 1px;
  background: rgba(91, 75, 130, 0.14);
  transform-origin: center;
}

.spoke-2 {
  transform: rotate(60deg);
}

.spoke-3 {
  transform: rotate(-60deg);
}

.radar-shape {
  z-index: 3;
  inset: 0;
  clip-path: polygon(50% 7%, 85.5% 29.5%, 86.8% 70.5%, 50% 89.5%, 17.1% 69%, 11.9% 28%);
  background: linear-gradient(145deg, rgba(91, 75, 130, 0.82), rgba(138, 91, 145, 0.46));
  filter: drop-shadow(0 10px 16px rgba(91, 75, 130, 0.18));
}

.radar-grid b {
  z-index: 4;
  width: 10px;
  height: 10px;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--purple-deep);
  box-shadow: 0 4px 10px rgba(54, 43, 84, 0.25);
  transform: translate(-50%, -50%);
}

.point-1 { left: 50%; top: 7%; }
.point-2 { left: 85.5%; top: 29.5%; }
.point-3 { left: 86.8%; top: 70.5%; }
.point-4 { left: 50%; top: 89.5%; }
.point-5 { left: 17.1%; top: 69%; }
.point-6 { left: 11.9%; top: 28%; }

.axis {
  position: absolute;
  width: 112px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 720;
  line-height: 1.3;
  text-align: center;
}

.axis-1 { top: 2%; left: 50%; transform: translateX(-50%); }
.axis-2 { top: 24%; right: -1%; text-align: left; }
.axis-3 { right: -1%; bottom: 23%; text-align: left; }
.axis-4 { bottom: 2%; left: 50%; transform: translateX(-50%); }
.axis-5 { bottom: 23%; left: -1%; text-align: right; }
.axis-6 { top: 24%; left: -1%; text-align: right; }

.radar-center {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  display: grid;
  gap: 2px;
  color: white;
  text-align: center;
  transform: translate(-50%, -50%);
}

.radar-center span {
  font-size: 0.55rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.radar-center strong {
  font-size: 0.8rem;
  white-space: nowrap;
}

.metric-summary {
  padding-top: 25px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 26px;
}

.metric-summary div {
  display: grid;
  gap: 5px;
}

.metric-summary span {
  color: var(--purple);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.metric-summary strong {
  font-size: 0.94rem;
  line-height: 1.45;
}

.traits-grid {
  margin-top: 90px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.trait {
  min-height: 220px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.34);
  transition: background 180ms ease, transform 180ms ease;
}

.trait:hover {
  z-index: 1;
  background: white;
  transform: translateY(-4px);
}

.trait > span {
  color: var(--purple);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.trait h3 {
  margin-top: 30px;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.trait p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.68;
  word-break: keep-all;
}

.self-comparison {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.6;
  text-align: right;
}

.recommendation-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(440px, 0.9fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
}

.recommendation-points {
  margin: 36px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.recommendation-points li {
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
}

.recommendation-points li > span {
  padding-top: 3px;
  color: var(--purple);
  font-size: 0.67rem;
  font-weight: 850;
}

.recommendation-points p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.recommendation-points strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
}

.recommendation-board {
  padding: clamp(25px, 4vw, 42px);
  border-radius: 34px;
  color: white;
  background:
    radial-gradient(circle at 85% 5%, rgba(233, 226, 255, 0.24), transparent 18rem),
    var(--purple-deep);
  box-shadow: var(--shadow);
}

.preference-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.preference-card > span,
.preview-caption span {
  color: #d5c9f4;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.preference-row {
  margin-top: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.preference-row small {
  color: rgba(255, 255, 255, 0.62);
}

.preference-row strong {
  font-size: 0.86rem;
  text-align: right;
}

.match-line {
  margin-block: 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.match-line span {
  height: 1px;
  background: rgba(255, 255, 255, 0.17);
}

.match-line b {
  color: #d5c9f4;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
}

.recommendation-preview {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr 0.88fr;
  gap: 10px;
}

.preview-image {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  border-radius: 18px;
}

.preview-image::before,
.preview-image::after {
  content: "";
  position: absolute;
}

.preview-image::before {
  top: 24%;
  left: 50%;
  width: 42%;
  height: 58%;
  border-radius: 42% 42% 20% 20%;
  background: rgba(54, 43, 84, 0.82);
  transform: translateX(-50%);
}

.preview-image::after {
  top: 21%;
  left: 50%;
  width: 20%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(54, 43, 84, 0.82);
  transform: translateX(-50%);
}

.preview-one { background: #e9e2ff; }
.preview-two { background: #dce3e9; }
.preview-three { background: #eadde1; }

.preview-image span {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 10px;
  color: rgba(54, 43, 84, 0.72);
  font-size: 0.6rem;
  font-weight: 850;
}

.preview-caption {
  margin-top: 19px;
  display: grid;
  gap: 5px;
}

.preview-caption strong {
  font-size: 1.02rem;
}

.affiliate-notice {
  grid-column: 1 / -1;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  background: var(--lilac-soft);
}

.notice-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: var(--purple);
  font-weight: 850;
}

.affiliate-notice strong {
  font-size: 1rem;
}

.affiliate-notice p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.65;
  word-break: keep-all;
}

.affiliate-notice .disclosure {
  margin-top: 13px;
  color: var(--ink);
  font-weight: 720;
}

.principles-section {
  background: #f0ecf8;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.principle {
  min-height: 275px;
  padding: 30px;
  border: 1px solid rgba(91, 75, 130, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
}

.principle-index {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--purple);
  background: var(--lilac);
  font-size: 0.76rem;
  font-weight: 850;
}

.principle h3 {
  margin-top: 48px;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.principle p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.72;
  word-break: keep-all;
}

.closing {
  position: relative;
  min-height: 520px;
  margin-block: clamp(76px, 10vw, 130px);
  overflow: hidden;
  border-radius: 38px;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  color: white;
  background: var(--purple-deep);
}

.closing-art {
  align-self: stretch;
  overflow: hidden;
}

.closing-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  mask-image: linear-gradient(to right, black 62%, transparent 100%);
}

.closing-copy {
  position: relative;
  z-index: 2;
  padding: clamp(34px, 6vw, 80px) clamp(30px, 7vw, 92px) clamp(34px, 6vw, 80px) 10px;
}

.closing-copy .section-kicker {
  color: #d5c9f4;
}

.closing-copy h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.closing-copy > p {
  color: rgba(255, 255, 255, 0.72);
}

.button-light {
  margin-top: 30px;
  color: var(--purple-deep);
  background: white;
}

.site-footer {
  padding-block: 40px;
  border-top: 1px solid var(--line);
}

.error-page {
  min-height: 100vh;
  padding: 32px;
  display: grid;
  place-items: center;
}

.error-card {
  width: min(100%, 620px);
  text-align: center;
}

.error-card img {
  width: 112px;
  height: 112px;
  margin: 0 auto 26px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.error-card .section-kicker {
  display: block;
}

.error-card h1 {
  margin-top: 15px;
  font-size: clamp(2.2rem, 7vw, 4rem);
  letter-spacing: -0.055em;
}

.error-card p {
  margin: 18px auto 28px;
  color: var(--muted);
  line-height: 1.7;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-inner strong {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

.footer-inner p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.footer-meta {
  text-align: right;
}

.footer-links {
  margin-bottom: 13px;
  display: flex;
  justify-content: flex-end;
  gap: 8px 18px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  font-weight: 720;
}

.footer-links a {
  position: relative;
  color: var(--ink);
}

.footer-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: var(--purple);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.footer-links a:hover::after,
.footer-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 680ms cubic-bezier(0.22, 1, 0.36, 1), transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1020px) {
  .desktop-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.78fr);
    gap: 40px;
  }

  .note-top {
    left: 14px;
  }

  .note-bottom {
    right: 14px;
  }

  .insight-layout {
    grid-template-columns: 1fr;
  }

  .insight-copy {
    max-width: 740px;
  }

  .insight-demo {
    width: min(100%, 680px);
    margin-inline: auto;
  }

  .recommendation-section {
    grid-template-columns: 1fr;
  }

  .recommendation-copy {
    max-width: 760px;
  }

  .recommendation-board {
    width: min(100%, 650px);
    margin-inline: auto;
  }
}

@media (max-width: 780px) {
  :root {
    --shell: min(100% - 28px, 680px);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand img {
    width: 39px;
    height: 39px;
  }

  .brand-copy strong {
    font-size: 0.77rem;
  }

  .brand-copy span {
    font-size: 0.57rem;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 46px;
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(3rem, 13vw, 4.9rem);
  }

  .hero-visual {
    width: min(92%, 520px);
    margin: 12px auto 0;
  }

  .floating-note {
    min-width: 145px;
    padding: 12px 13px;
  }

  .note-top {
    left: 12px;
  }

  .note-bottom {
    right: 12px;
  }

  .intro-strip-inner {
    min-height: 82px;
    gap: 13px;
  }

  .intro-strip p {
    font-size: clamp(0.88rem, 3.7vw, 1.25rem);
  }

  .journey-item {
    padding-block: 34px;
    grid-template-columns: 36px 1fr;
    gap: 16px;
  }

  .step-visual,
  .step-copy {
    grid-column: 2;
  }

  .step-visual {
    width: 100%;
  }

  .traits-grid,
  .principles-grid {
    grid-template-columns: 1fr;
  }

  .trait {
    min-height: auto;
  }

  .self-comparison {
    text-align: left;
  }

  .closing {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .closing-art {
    height: 330px;
  }

  .closing-art img {
    mask-image: linear-gradient(to bottom, black 58%, transparent 100%);
  }

  .closing-copy {
    margin-top: -70px;
    padding: 20px 28px 48px;
  }

  .footer-inner {
    display: grid;
  }

  .footer-meta {
    text-align: left;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .section {
    padding-block: 86px;
  }

  .eyebrow {
    font-size: 0.66rem;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-notes {
    display: grid;
  }

  .moon-stage {
    border-radius: 42% 42% 25px 25px;
  }

  .floating-note {
    display: none;
  }

  .moon-stage figcaption {
    right: 24px;
    bottom: 24px;
    left: 24px;
  }

  .intro-strip span {
    display: none;
  }

  .intro-strip-inner {
    justify-content: space-between;
    gap: 8px;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .journey-item {
    grid-template-columns: 28px 1fr;
  }

  .insight-demo {
    padding: 20px 14px 24px;
    border-radius: 24px;
  }

  .radar-chart {
    aspect-ratio: 1.05;
  }

  .radar-grid {
    inset: 20% 18%;
  }

  .axis {
    width: 88px;
    font-size: 0.6rem;
  }

  .axis-2,
  .axis-3 { right: -4%; }
  .axis-5,
  .axis-6 { left: -4%; }

  .metric-summary {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .trait,
  .principle {
    padding: 24px;
  }

  .principle {
    min-height: auto;
  }

  .principle h3 {
    margin-top: 32px;
  }

  .recommendation-board {
    padding: 20px;
  }

  .preference-card {
    padding: 19px;
  }

  .preference-row {
    display: grid;
    gap: 5px;
  }

  .preference-row strong {
    text-align: left;
  }

  .recommendation-preview {
    grid-template-columns: repeat(3, 1fr);
  }

  .preview-image {
    min-height: 112px;
  }

  .affiliate-notice {
    padding: 22px;
    grid-template-columns: 1fr;
  }

  .closing-art {
    height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
