:root {
  --bg: #eef1f4;
  --surface: #ffffff;
  --ink: #161a20;
  --muted: #5d6672;
  --line: #e3e7ee;
  --accent: #0f766e;
  --accent-ink: #f4fffc;
  --accent-soft: #e7f5f3;
  --danger: #9f2d3a;
  --shadow: 0 16px 40px rgba(22, 26, 32, 0.06);
  --radius: 20px;
  --sans: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  --career: #0f766e;
  --relationships: #be4b63;
  --family: #c47a24;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(900px 420px at 100% -10%, #e7f5f3 0, transparent 55%),
    radial-gradient(700px 360px at -10% 0, #f8efe4 0, transparent 50%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.72;
  will-change: transform;
}

.orb-a {
  width: 46vw;
  height: 46vw;
  min-width: 300px;
  min-height: 300px;
  left: -12vw;
  top: -18vh;
  background: radial-gradient(circle, #cfeee8 0%, rgba(207, 238, 232, 0) 68%);
  animation: drift-a 42s ease-in-out infinite alternate;
}

.orb-b {
  width: 38vw;
  height: 38vw;
  min-width: 260px;
  min-height: 260px;
  right: -10vw;
  top: 22vh;
  background: radial-gradient(circle, #f4e6d4 0%, rgba(244, 230, 212, 0) 70%);
  animation: drift-b 54s ease-in-out infinite alternate;
}

.orb-c {
  width: 34vw;
  height: 34vw;
  min-width: 240px;
  min-height: 240px;
  left: 30vw;
  bottom: -20vh;
  background: radial-gradient(circle, #f0dde4 0%, rgba(240, 221, 228, 0) 68%);
  animation: drift-c 62s ease-in-out infinite alternate;
}

@keyframes drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(9vw, 12vh, 0) scale(1.1); }
}

@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.06); }
  to { transform: translate3d(-8vw, 9vh, 0) scale(0.92); }
}

@keyframes drift-c {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(7vw, -9vh, 0) scale(1.08); }
}

.top,
main,
.site-foot {
  position: relative;
  z-index: 1;
}

h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.15; font-weight: 650; }
h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0.15rem 0 0.75rem; }
h2 { font-size: 1.35rem; margin: 0 0 0.7rem; }
h3 { font-size: 1.05rem; margin: 1rem 0 0.4rem; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: #0b5c56; }

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 0.9rem 4vw 0.75rem;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.top-row, .account, .sections {
  display: flex;
  align-items: center;
}

.top-row { justify-content: space-between; gap: 1rem; }
.account { gap: 0.7rem; }
.account a.ghost { margin-top: 0; }

.brand {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.who {
  color: var(--muted);
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.92rem;
}

.sections {
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.sections a {
  flex: none;
  color: var(--muted);
  background: transparent;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.95rem;
}

.sections a:hover { background: #f3f5f8; color: var(--ink); }

.sections a[aria-current="page"] {
  background: var(--ink);
  color: #fff;
}

main {
  width: min(980px, calc(100% - 2rem));
  margin: 1.75rem auto 4rem;
}

.card, .direction {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card { padding: 1.5rem 1.45rem 1.6rem; }
.narrow { max-width: 440px; margin-inline: auto; }
.play, .report { max-width: 740px; margin-inline: auto; }

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--muted);
}

.lead { color: #2c333c; font-size: 1.08rem; }
.muted { color: var(--muted); }
.hero { margin-bottom: 1rem; }
.list-block { margin-top: 1rem; }

.intro { margin: 0.4rem 0 1.3rem; max-width: 40rem; }

.slogan {
  max-width: 38rem;
  margin: 0.6rem 0 2.2rem;
}

.slogan-line {
  margin: 0 0 0.7rem;
  font-size: clamp(1.45rem, 3.2vw, 2.05rem);
  line-height: 1.28;
  letter-spacing: -0.035em;
  font-weight: 650;
  opacity: 0;
  transform: translateY(10px);
  animation: slogan-in 1.05s ease forwards;
}

.slogan-line:nth-child(2) {
  font-weight: 520;
  color: #2c333c;
  animation-delay: 0.55s;
}

.slogan-line-last { animation-delay: 1.15s; }

.slogan-line em {
  font-style: normal;
  background-image: linear-gradient(100deg, #0f766e 0%, #0f766e 35%, #7dcec4 50%, #0f766e 65%, #0f766e 100%);
  background-size: 220% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: slogan-shine 7s ease-in-out 1.8s infinite;
}

.slogan-line-last::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 2px;
  margin-top: 0.85rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform-origin: left center;
  transform: scaleX(0);
  animation: slogan-rule 0.9s ease 1.7s forwards;
}

@keyframes slogan-in {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slogan-shine {
  0%, 55% { background-position: 100% 0; }
  80%, 100% { background-position: 0 0; }
}

@keyframes slogan-rule {
  to { transform: scaleX(1); }
}

.report-actions { margin: 1.3rem 0 0.2rem; }

.directions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.direction {
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: 1.2rem 1.15rem 1.15rem;
  color: var(--ink);
  border-top: 4px solid var(--line);
}

.direction:hover { transform: translateY(-2px); color: var(--ink); }
.direction h2 { margin-top: 0.85rem; }
.direction p { margin: 0; color: var(--muted); }
.direction-career { border-top-color: var(--career); }
.direction-relationships { border-top-color: var(--relationships); }
.direction-family { border-top-color: var(--family); }

.direction-status {
  align-self: flex-start;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: #f4f6f8;
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
}

.direction-career .direction-status { color: var(--career); background: var(--accent-soft); }
.direction-go { margin-top: auto; padding-top: 1.2rem; font-weight: 650; color: var(--ink); }

.soon { max-width: 640px; border-top: 4px solid var(--line); }
.soon.direction-relationships { border-top-color: var(--relationships); }
.soon.direction-family { border-top-color: var(--family); }

form label {
  display: block;
  margin: 0.95rem 0 0.35rem;
  font-size: 0.92rem;
  color: var(--muted);
}

input[type="email"],
input[type="password"],
input[type="text"] {
  width: 100%;
  font: inherit;
  padding: 0.75rem 0.8rem;
  border: 1px solid #cfd5de;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}

input:focus {
  outline: 3px solid rgba(15, 118, 110, 0.2);
  border-color: var(--accent);
}

button, .primary, .ghost { font: inherit; cursor: pointer; }

button.primary, a.primary {
  display: inline-block;
  margin-top: 1.1rem;
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  border-radius: 12px;
  padding: 0.75rem 1.15rem;
  text-decoration: none;
}

a.primary.small, button.primary.small { margin-top: 0; padding: 0.45rem 0.8rem; font-size: 0.92rem; }

button.primary:hover, a.primary:hover { background: #0c615b; color: var(--accent-ink); }

.ghost, a.ghost, button.ghost {
  display: inline-block;
  margin-top: 0;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  text-decoration: none;
}

a.ghost { margin-top: 1rem; }
.ghost:hover, a.ghost:hover, button.ghost:hover { background: #f6f8fa; color: var(--ink); }

.switch { margin-top: 1.2rem; color: var(--muted); }
.text-link { font-weight: 650; }

.field-error { color: var(--danger); margin: 0.3rem 0 0; font-size: 0.92rem; }

.flash {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
}

.flash.error { color: var(--danger); border-color: #f0c9ce; background: #fff6f7; }

.notice {
  padding: 0.8rem 0.9rem;
  background: #f8f4ea;
  border-radius: 12px;
  color: #3e3424;
}

.attempts { list-style: none; margin: 0; padding: 0; }

.attempts li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}

.attempts li div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  align-items: baseline;
}

.status { color: var(--muted); }

.code-pill {
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--career);
}

.progress-label { margin: 0 0 0.45rem; color: var(--muted); font-size: 0.92rem; }

.progress {
  height: 0.45rem;
  border-radius: 999px;
  background: #e6ebf0;
  margin-bottom: 1.2rem;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  background: var(--accent);
}

.scene { color: #2c333c; }
.question { font-size: 1.45rem; margin: 0.8rem 0 1rem; }

.options button {
  width: 100%;
  display: flex;
  gap: 0.85rem;
  text-align: left;
  align-items: flex-start;
  margin: 0 0 0.65rem;
  padding: 0.95rem 1rem;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: none;
}

.options button:hover {
  border-color: #b7ddd8;
  background: var(--accent-soft);
}

.mark {
  flex: none;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 8px;
  background: #f3f5f8;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.code-title {
  font-size: clamp(3.2rem, 8vw, 5.2rem);
  letter-spacing: 0.08em;
  margin: 0.2rem 0 0.4rem;
}

.code-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  list-style: none;
  margin: 0 0 0.4rem;
  padding: 0;
}

.code-list li {
  background: #f6f8fa;
  border-radius: 14px;
  padding: 0.55rem 0.8rem 0.65rem;
  min-width: 8.5rem;
}

.code-list strong { display: block; font-size: 1.35rem; }
.code-list span { color: var(--muted); font-size: 0.92rem; }

.report section { margin-top: 1.5rem; }

.bar-row {
  display: grid;
  grid-template-columns: minmax(9rem, 13rem) 1fr 3.2rem;
  gap: 0.6rem;
  align-items: center;
  margin: 0.55rem 0;
}

.bar-name { font-size: 0.95rem; }
.bar-name b { margin-right: 0.2rem; }
.bar-value { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }

.track {
  height: 0.55rem;
  background: #eef2f5;
  border-radius: 999px;
  overflow: hidden;
}

.fill { height: 100%; border-radius: inherit; }
.letter-R { background: #8a5a3b; }
.letter-I { background: #2c5f8a; }
.letter-A { background: #a33b5a; }
.letter-S { background: #1f6b4a; }
.letter-E { background: #b56a1b; }
.letter-C { background: #4d5a63; }

.prose { white-space: pre-wrap; line-height: 1.6; }
.hints { margin: 0.4rem 0 0; padding-left: 1.15rem; }
.hints li { margin: 0.35rem 0; }
.disclaimer { margin-top: 1.5rem; color: var(--muted); font-size: 0.95rem; }
.back { margin-bottom: 0; }

.price {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 0.2rem 0 0.4rem;
}

label.check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-top: 1rem;
  color: var(--ink);
}

label.check input { margin-top: 0.35rem; flex: none; }

.save-link {
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  word-break: break-all;
}

.offer { max-width: 740px; margin-inline: auto; }
.offer h2 { margin-top: 1.5rem; }
.offer p { margin: 0.4rem 0 0; }

.site-foot {
  width: min(980px, calc(100% - 2rem));
  margin: -2rem auto 2.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.45);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .orb { animation: none; }
  .slogan-line,
  .slogan-line em,
  .slogan-line-last::after {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .slogan-line em {
    background: none;
    color: var(--accent);
  }
}

@media (max-width: 800px) {
  .directions { grid-template-columns: 1fr; }
  .direction { min-height: 0; }
}

@media (max-width: 640px) {
  .top { padding: 0.8rem 1rem 0.7rem; }
  .top-row { align-items: flex-start; }
  .account { flex-wrap: wrap; justify-content: flex-end; }
  .who { max-width: 100%; }
  .card { padding: 1.15rem 1rem 1.25rem; }
  .bar-row { grid-template-columns: 1fr auto; }
  .bar-row .track { grid-column: 1 / -1; }
  .attempts li { align-items: flex-start; flex-direction: column; }
}
