:root {
  --night-deep: #151129;
  --night-raised: #252040;
  --paper-raised: #fffaf1;
  --paper-deep: #ebe2d1;
  --gold-bright: var(--gold);
  --gold-ink: #866124;
  --muted-night: #b9b2c5;
  --muted-paper: #696276;
  --night-line: rgba(246, 241, 231, 0.16);
  --paper-line: rgba(20, 17, 43, 0.18);
  --shadow-book: 0 36px 90px rgba(8, 5, 26, 0.46);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  min-width: 0;
  margin: 0;
  color: var(--paper);
  background-color: var(--night);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

main { overflow: clip; }
a { color: inherit; }
button,
input { font: inherit; }
button,
a { -webkit-tap-highlight-color: transparent; }
button { appearance: none; }

:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 4px;
}

.form-card :focus-visible,
.teaser :focus-visible,
.standalone-result :focus-visible,
.product-card :focus-visible,
.status-card :focus-visible {
  outline-color: var(--night);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: var(--paper);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus { transform: translateY(0); }

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

.shell {
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  width: 100%;
  padding-inline: max(1.25rem, calc((100% - 1280px) / 2));
  margin-inline: auto;
  background: rgba(28, 24, 54, 0.88);
  border-bottom: 1px solid var(--night-line);
  backdrop-filter: blur(18px);
}

.wordmark {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.wordmark::before {
  content: "";
  width: 30px;
  height: 30px;
  background: url("/design/reference/seal.svg") center / contain no-repeat;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.7rem);
}

.site-more { display: none; position: relative; }
.site-more summary { display: flex; align-items: center; min-height: 44px; padding-inline: .6rem; cursor: pointer; }
.site-more > div { position: absolute; top: 100%; right: 0; width: 220px; padding: .6rem 1rem; background: var(--sky-raised); border: 1px solid var(--sky-line); box-shadow: 0 12px 32px #0005; }
.surface-deck .site-more > div { background: var(--deck-raised); border-color: var(--deck-gold); }
.site-more > div a { display: flex; width: 100%; }

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted-night);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--paper); }
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.02;
  text-wrap: balance;
}

h1 { font-size: clamp(3rem, 6.5vw, 5.5rem); }
h2 { font-size: clamp(2.4rem, 4.3vw, 4rem); }
h3 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); }
p { margin-top: 0; }

.eyebrow {
  margin-bottom: 1.2rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 54px;
  padding: 0.9rem 1.4rem;
  color: var(--night-deep);
  background: var(--gold-bright);
  border: 1px solid var(--gold-bright);
  border-radius: 0;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms var(--ease);
}

.button::after {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: currentColor;
  transition: transform 180ms var(--ease);
}

.button:hover {
  color: var(--night-deep);
  background: #e0c17f;
  border-color: #e0c17f;
  transform: translateY(-2px);
}

.button:hover::after { transform: translateX(0.25rem); }
.button:disabled { cursor: wait; opacity: 0.58; transform: none; }

.button--quiet {
  min-height: 46px;
  padding: 0.7rem 1rem;
  color: var(--paper);
  background: transparent;
  border-color: rgba(246, 241, 231, 0.36);
  font-size: 0.69rem;
  text-transform: none;
}

.button--quiet:hover {
  color: var(--night);
  background: var(--paper);
  border-color: var(--paper);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-bottom: 0.25rem;
  color: var(--gold-bright);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color 160ms ease;
}

.text-link:hover { color: var(--paper); }

/* Home: instrument, two methods, a concrete example, then the book. */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: 3rem 4.5rem;
}
.hero h1 {
  margin-bottom: 1.8rem;
  font-size: clamp(4.6rem, 8.5vw, 8rem);
  line-height: 0.94;
  letter-spacing: -0.025em;
  text-wrap: auto;
}
.hero-copy { max-width: 450px; margin-bottom: 2rem; color: var(--muted-night); font-size: 1.05rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.2rem 1.7rem; }
.hero-offer { display: grid; gap: 0.4rem; margin: 2.2rem 0 0; }
.hero-offer strong { font-size: 0.85rem; font-weight: 600; }
.hero-offer span { color: var(--muted-night); font-size: 0.76rem; }
.hero-instrument { margin: 0; position: relative; }
.hero-instrument img { display: block; width: 100%; height: auto; }
.hero-instrument figcaption {
  position: absolute;
  right: 1.25rem;
  bottom: 1.3rem;
  padding: 0.6rem 0.8rem;
  color: var(--paper);
  background: var(--night);
  font-size: 0.68rem;
  line-height: 1.6;
}
.collection { scroll-margin-top: 7rem; padding-block: 4.5rem; border-top: 1px solid var(--night-line); }
.collection-heading { display: grid; grid-template-columns: 1fr 0.65fr; align-items: end; gap: 3rem; margin-bottom: 2.8rem; }
.collection-heading h2 { margin: 0; }
.collection-heading p { margin: 0; max-width: 390px; color: var(--muted-night); font-size: 0.95rem; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.product-card { display: flex; flex-direction: column; min-width: 0; color: var(--ink); background: var(--paper); }
.card-image, .card-chart { display: block; width: 100%; height: 280px; object-fit: cover; }
.card-chart { position: relative; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--paper-line); }
.card-chart img { width: 280px; height: 280px; }
.card-chart span { position: absolute; bottom: 0.75rem; right: 1rem; color: var(--muted-paper); font-size: 0.66rem; }
.card-copy { display: flex; flex: 1; flex-direction: column; padding: 2.2rem 2.5rem 2.5rem; }
.card-requirement { color: var(--gold-ink); font-size: 0.73rem; }
.card-copy h3 { margin: 0 0 1rem; font-size: clamp(2.6rem, 3.5vw, 3.35rem); }
.card-copy > p:not(.card-requirement) { color: var(--muted-paper); font-size: 0.91rem; }
.card-copy .button { align-self: start; margin-top: 1rem; }
.reflection-example {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  padding-block: 5rem 6rem;
  border-bottom: 1px solid var(--night-line);
}
.reflection-number { display: grid; gap: 1.8rem; padding-left: 3rem; border-left: 1px solid var(--gold); }
.reflection-number strong { color: var(--gold); font: 400 clamp(6rem, 12vw, 11rem)/0.9 var(--font-display); font-variant-numeric: lining-nums tabular-nums; }
.reflection-number span { color: var(--muted-night); font-size: 0.75rem; }
.reflection-example h2 { font-size: clamp(2.2rem, 3.7vw, 3.7rem); margin-bottom: 1.6rem; }
.reflection-example blockquote { margin: 0 0 1.5rem; font: 400 1.7rem/1.3 var(--font-display); }
.reflection-example p { max-width: 520px; color: var(--muted-night); font-size: 0.85rem; margin: 0; }
.book-preview { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 3rem; padding-block: 5rem; }
.book-preview img { display: block; width: 100%; height: auto; }
.book-preview h2 { font-size: clamp(2.5rem, 3.7vw, 3.7rem); margin-bottom: 1.5rem; }
.book-preview p { max-width: 460px; color: var(--muted-night); font-size: 0.92rem; }
.book-preview .book-price { color: var(--paper); margin-block: 1.5rem; font-size: 0.85rem; }
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 2rem 5rem; }
.trust-strip div { padding: 1.6rem 2rem; border-left: 1px solid var(--night-line); }
.trust-strip i { display: block; color: var(--gold); font-style: normal; font-size: 0.7rem; margin-bottom: 1rem; }
.trust-strip strong { display: block; font: 500 1.65rem/1.15 var(--font-display); margin-bottom: 0.8rem; }
.trust-strip span { display: block; color: var(--muted-night); font-size: 0.8rem; max-width: 290px; }

/* Product entry: the form is visible alongside the introduction. */
.product-start {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: start;
  gap: 2rem 4rem;
  padding-block: 4rem;
}
.product-hero-copy h1 { font-size: clamp(3rem, 4.5vw, 4.7rem); margin-bottom: 1.4rem; }
.product-hero-copy > p:not(.eyebrow) { max-width: 470px; color: var(--muted-night); font-size: 1rem; }
.form-card { grid-column: 2; grid-row: 1 / span 2; padding: 2.2rem; scroll-margin-top: 7rem; }
.product-start--matrix .form-card { grid-row: 1; }
.product-start--matrix .presets { grid-column: 2; grid-row: 2; }
.product-still { grid-column: 1; grid-row: 2; margin: 0; }
.product-still img { display: block; width: 100%; height: 260px; object-fit: cover; }
.product-still--natal img { height: 340px; object-position: 50% 50%; }
.data-form--matrix .field-date { grid-column: 1 / -1; }
.check--compact { min-height: 32px; align-items: center; margin-top: -0.4rem; }
.consent-note { margin: 0; color: var(--muted-paper); font-size: 0.7rem; line-height: 1.5; }
.consent-note a { color: inherit; text-decoration-color: var(--gold-ink); text-underline-offset: 0.2rem; }
.offer-terms {
  display: grid;
  gap: 0.8rem;
  margin: 1.6rem 0 0;
  padding-top: 1.3rem;
  border-top: 1px solid var(--paper-line);
}
.offer-terms div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; }
.offer-terms dt { color: var(--ink); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.035em; }
.offer-terms dd { margin: 0; color: #443e4e; font-size: 0.78rem; line-height: 1.5; }
.offer-compare { margin: 0.8rem 0 0; color: var(--muted-paper); font-size: 0.7rem; }

.inside {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  padding-block: clamp(5rem, 10vw, 9rem);
  gap: 5rem;
  border-top: 1px solid var(--night-line);
}
.inside h2 { max-width: 520px; }
.chapter-list { margin: 0; padding: 0; list-style: none; }
.chapter-list li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  padding: 1.55rem 0;
  border-bottom: 1px solid var(--night-line);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 2rem);
}
.chapter-list span {
  padding-top: 0.25rem;
  color: var(--gold-bright);
  font-family: var(--font-text);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
}

.data-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 1.25rem;
  color-scheme: light;
  align-self: start;
}

.data-form label:not(.check) > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.035em;
}
.data-form label:not(.check) > span i {
  color: #6d6474;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 550;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.data-form input:not([type="checkbox"], [type="radio"]) {
  width: 100%;
  min-height: 54px;
  padding: 0.8rem 0.9rem;
  color: var(--ink);
  background: #fbf6ed;
  border: 1px solid #8c8493;
  border-radius: 0;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}
.data-form input:not([type="checkbox"], [type="radio"]):hover {
  border-color: var(--ink);
}
.data-form input:not([type="checkbox"], [type="radio"]):focus-visible {
  outline: 2px solid var(--night);
  outline-offset: 2px;
  border-color: var(--night);
  background: #fffdf8;
}
.data-form input:not([type="checkbox"], [type="radio"]):user-invalid {
  border-color: #874553;
}
.data-form input::placeholder { color: #625a69; }
.data-form small {
  display: block;
  margin-top: 0.5rem;
  color: #69616f;
  font-size: 0.72rem;
  line-height: 1.5;
}
.field-wide { grid-column: 1 / -1; }

.check {
  display: flex;
  min-height: 44px;
  align-items: flex-start;
  gap: 0.75rem;
  color: #443e4e;
  font-size: 0.76rem;
  line-height: 1.55;
}
.check input {
  flex: 0 0 auto;
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.08rem;
  accent-color: var(--night);
}
.check input:focus-visible { outline-color: var(--night); }
.check a { text-decoration-color: var(--gold-ink); text-underline-offset: 0.2rem; }
.check a:hover { color: var(--gold-ink); }
.is-disabled { opacity: 0.5; }

.form-action {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 0.7rem;
}
.htmx-indicator {
  display: none;
  max-width: 220px;
  color: #665f6e;
  font-size: 0.72rem;
}
.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator { display: inline; }

.suggestions fieldset {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: -0.35rem 0 0.35rem;
  padding: 0;
  border: 0;
  gap: 0.5rem;
}
.suggestion {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem;
  color: var(--ink);
  background: #fbf6ed;
  border: 1px solid var(--paper-line);
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease;
}
.suggestion:hover { border-color: var(--ink); }
.suggestion:has(input:checked) {
  background: #f2e8d5;
  border-color: var(--gold-ink);
  box-shadow: inset 3px 0 0 var(--gold-ink);
}
.suggestion span,
.suggestion small { display: block; }
.suggestion small,
.suggestion-note {
  margin: 0;
  color: #655e6c;
  font-size: 0.7rem;
}

.presets {
  grid-column: 1 / -1;
  padding: 1.6rem;
  color: var(--paper);
  background: var(--night);
  border-left: 3px solid var(--gold);
}
.presets h3 { margin-bottom: 0.45rem; font-size: 1.75rem; }
.presets p { max-width: 540px; color: #b8b1c4; font-size: 0.76rem; }
.preset-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.preset-actions form { margin: 0; }
.teaser-target { grid-column: 1 / -1; scroll-margin-top: 7rem; }

/* Teaser and states */
.standalone-result {
  margin-block: clamp(3rem, 7vw, 6rem);
  padding: clamp(1.2rem, 4vw, 4rem);
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow-book);
}
.teaser { padding: clamp(1.25rem, 4vw, 3.5rem); }
.teaser-target:empty { display: none; }
.standalone-result > .teaser { padding: 0; }
.teaser-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 2rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid var(--paper-line);
}
.teaser-header h2 {
  max-width: 840px;
  margin-bottom: 0;
  font-size: clamp(2.3rem, 4.4vw, 3.8rem);
}
.teaser .eyebrow { color: var(--gold-ink); }
.calc-mark {
  flex: 0 0 auto;
  color: #6c6572;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  font-variant-numeric: lining-nums tabular-nums;
}
.accuracy-note {
  margin-block: 1.5rem;
  padding: 1.1rem 1.2rem;
  color: #4e4757;
  background: #eee5d4;
  border-left: 3px solid var(--gold-ink);
  font-size: 0.8rem;
}
.teaser-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 4rem;
  padding-block: 3.5rem;
}
.teaser-diagram { margin: 0; }
.teaser-diagram svg {
  display: block;
  width: 100%;
  max-height: 650px;
}
.teaser-diagram .arcana-wheel--phone { display: none; }
.teaser-diagram figcaption {
  max-width: 430px;
  margin-top: 1rem;
  color: #68616e;
  font-size: 0.72rem;
}
.teaser-readings {
  display: grid;
  align-content: start;
  gap: 0;
}
.teaser-readings section {
  position: relative;
  display: grid;
  grid-template-columns: 5rem 1fr;
  column-gap: 1.25rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--paper-line);
}
.teaser-readings section:first-child { padding-top: 0; }
.teaser-readings .number {
  grid-row: 1 / span 3;
  margin: 0;
  color: var(--gold-ink);
  font-family: var(--font-display);
  font-size: 3.6rem;
  line-height: 0.9;
  font-variant-numeric: lining-nums tabular-nums;
}
.teaser-readings h3 { margin-bottom: 0.6rem; font-size: 1.8rem; }
.teaser-readings .position {
  color: #655e6c;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.teaser-readings section > p:last-child { color: #4c4654; }
.locked {
  display: grid;
  grid-template-columns: 0.65fr 1fr 1.2fr;
  gap: 2rem;
  padding: 3rem 0;
  border-block: 1px solid var(--paper-line);
}
.locked h3 { margin-bottom: 0; }
.locked ul {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
}
.locked li {
  margin-bottom: 0.7rem;
  color: #504a58;
  font-size: 0.8rem;
  break-inside: avoid;
}
.locked li::before { content: "— "; color: var(--gold-ink); }
.mock-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 3rem;
  padding: 2rem;
  color: var(--paper);
  background: var(--night);
  border-left: 3px solid var(--gold);
}
.mock-cta p {
  max-width: 680px;
  margin: 0.35rem 0 0;
  color: #b8b1c4;
  font-size: 0.76rem;
}

/* Result: calculated artwork comes before the purchase. */
.mirror-reveal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(2rem, 4vw, 4rem);
  padding-block: 3rem;
}
.result-diagram { width: 100%; }

.mirror-reveal-copy h3 {
  max-width: 720px;
  margin-bottom: 1.2rem;
  font-size: clamp(2rem, 3.3vw, 3rem);
}

.mirror-fact {
  max-width: 720px;
  margin-bottom: 2rem;
  color: #4a4351;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
}

.insight-sequence {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-block: 2rem;
  background: var(--paper-line);
  border: 1px solid var(--paper-line);
}

.insight-sequence > div {
  padding: 1.4rem;
  background: var(--paper-raised);
}

.insight-sequence span {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--gold-ink);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.insight-sequence p { margin: 0; color: #4d4654; font-size: 0.83rem; }

.mirror-reveal-copy blockquote {
  position: relative;
  margin: 2.2rem 0 0;
  padding: 1.4rem 1.5rem 1.4rem 2rem;
  color: var(--night);
  background: #efe5d4;
  border-left: 3px solid var(--gold-ink);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.22;
}
.purchase-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-block: 1.7rem;
}
.purchase-price strong {
  color: #f0d394;
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
}
.purchase-price span { color: #b8b1c3; font-size: 0.7rem; }
.purchase-action { display: grid; justify-items: start; gap: 0.8rem; }
.purchase-action p { max-width: 620px; margin: 0; color: #aaa3b6; font-size: 0.68rem; }
.cover-name { display: grid; gap: 0.45rem; width: min(100%, 360px); }
.cover-name span { color: #d8d1e2; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.035em; }
.cover-name input {
  min-height: 50px;
  padding: 0.7rem 0.9rem;
  color: var(--paper);
  background: rgba(246, 241, 231, 0.06);
  border: 1px solid rgba(246, 241, 231, 0.4);
  border-radius: 0;
}
.cover-name input::placeholder { color: #9d96aa; }
.cover-name input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.order-action .form-error { flex: 1 0 100%; margin: 0; }

.form-error {
  grid-column: 1 / -1;
  padding: 1.2rem 1.5rem;
  color: #4e2430;
  background: #fff4ed;
  border: 1px solid #c9989f;
  border-left: 4px solid #874553;
}
.form-error:focus-visible { outline-color: var(--night); }
.form-error h3 {
  margin-bottom: 0.5rem;
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 700;
}
.form-error ul { margin: 0; padding-left: 1.2rem; font-size: 0.8rem; }

.error-page {
  display: grid;
  align-content: center;
  min-height: min(760px, calc(100svh - 82px));
  padding-block: 5rem;
}
.error-page h1 { max-width: 850px; margin-bottom: 1.5rem; }
.error-lead { max-width: 650px; color: var(--muted-night); font-size: 1.05rem; }
.error-page ul {
  max-width: 650px;
  margin: 1rem 0 2.5rem;
  padding: 1.3rem 1.5rem 1.3rem 2.8rem;
  color: var(--ink);
  background: var(--paper);
  border-left: 3px solid var(--gold);
}
.error-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; }

.order-shell { min-height: 760px; padding-block: 6rem; }
.order-heading {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  align-items: end;
  gap: 3rem;
  max-width: 1080px;
  margin-bottom: 2.5rem;
}
.order-heading h1 { margin-bottom: 0; }
.order-heading > p { margin: 0 0 0.8rem; color: var(--muted-night); }
.mock-banner {
  max-width: 1080px;
  margin-bottom: 2.5rem;
  padding: 1.2rem 1.4rem;
  color: #d8d2df;
  background: rgba(198, 161, 91, 0.06);
  border: 1px solid rgba(198, 161, 91, 0.45);
}
.mock-banner p { margin: 0.35rem 0 0; color: #b8b1c4; font-size: 0.76rem; }
.order-layout {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  align-items: start;
  gap: clamp(2rem, 6vw, 5rem);
  max-width: 1080px;
}
.order-path { padding-top: 1rem; }
.order-path > div {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.8rem;
  padding: 1rem 0;
  color: #918a9d;
  border-bottom: 1px solid var(--night-line);
}
.order-path > div b {
  color: #8e879a;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}
.order-path > div span { font-family: var(--font-display); font-size: 1.2rem; }
.order-path > div.is-complete { color: var(--paper); }
.order-path > div.is-complete b { color: var(--gold-bright); }
.order-path dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.order-path dl div:last-child { grid-column: 1 / -1; }
.order-path dt {
  color: #9992a5;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.order-path dd {
  margin: 0.2rem 0 0;
  color: #c7c0cf;
  font-size: 0.78rem;
  font-variant-numeric: lining-nums tabular-nums;
}
.status-card {
  position: relative;
  max-width: 900px;
  margin-top: 0;
  padding: 3rem;
  color: var(--ink);
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 24px 65px rgba(7, 4, 22, 0.28);
}
.status-card .eyebrow { color: var(--gold-ink); }
.status-card h2 { max-width: 600px; margin-bottom: 1rem; }
.status-card > p:not(.eyebrow, .gentle-error) { max-width: 600px; color: #504957; }
.status-orbit {
  position: absolute;
  top: -70px;
  right: -60px;
  width: 250px;
  height: 250px;
  border: 1px solid var(--paper-line);
  border-radius: 50%;
}
.status-orbit::before,
.status-orbit span {
  content: "";
  position: absolute;
  border: 1px solid var(--gold);
  border-radius: 50%;
}
.status-orbit::before { inset: 38px; }
.status-orbit span { inset: 92px; background: var(--gold); }
.gentle-error {
  max-width: 680px;
  margin-top: 1.5rem;
  padding: 1rem;
  background: #fff4ed;
  border-left: 3px solid #874553;
  font-size: 0.78rem;
}
.order-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 1.4rem;
  color: var(--paper);
  background: var(--night-raised);
  border-top: 1px solid rgba(246, 241, 231, 0.16);
}
.order-action p {
  max-width: 310px;
  margin: 0;
  color: #b8b1c4;
  font-size: 0.68rem;
}

.done,
.empty-state {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: min(760px, calc(100svh - 82px));
  padding-block: 6rem;
  text-align: center;
}
.done {
  grid-template-columns: minmax(250px, 0.62fr) minmax(0, 1fr);
  justify-items: stretch;
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  text-align: left;
}
.done-book {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 0.707;
  width: min(100%, 360px);
  padding: 2rem;
  color: var(--paper);
  background: var(--night-raised);
  border: 1px solid rgba(246, 241, 231, 0.14);
  box-shadow: var(--shadow-book);
}
.done-book::after {
  content: "";
  position: absolute;
  inset: 7px auto 7px 7px;
  width: 1px;
  background: rgba(246, 241, 231, 0.12);
}
.done-book .seal { width: 86px; height: 86px; margin: auto; box-shadow: none; }
.done-book .seal span { font-size: 2.8rem; }
.done-book-seal { width: 78%; margin: auto auto 1.4rem; }
.done-book-seal svg { display: block; width: 100%; height: auto; }
.done-book small {
  color: #bdb6c7;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.done-book b { font-family: var(--font-display); font-size: 2rem; font-weight: 500; }
.done-book i {
  margin-top: 0.35rem;
  color: var(--gold-bright);
  font-size: 0.65rem;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.done-copy { max-width: 650px; }
.done-copy h1 { text-align: left; }
.done-copy > p:not(.eyebrow, .quiet) { max-width: 600px; }
.done-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; margin-top: 2rem; }
.done h1,
.empty-state h1 { margin-bottom: 1.5rem; }
.done > p:not(.eyebrow, .quiet),
.empty-state > p { max-width: 620px; }
.done .quiet {
  max-width: 580px;
  margin-top: 2rem;
  color: #aaa3b7;
  font-size: 0.75rem;
}
.seal {
  display: grid;
  place-items: center;
  width: 130px;
  height: 130px;
  margin-bottom: 3rem;
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 18px rgba(198, 161, 91, 0.05);
  transform: rotate(45deg);
}
.seal span {
  font-family: var(--font-display);
  font-size: 4rem;
  transform: rotate(-45deg);
}

/* Examples */
.examples-hero { max-width: 980px; padding-block: 7rem 5rem; }
.examples-hero h1 { margin-bottom: 1rem; }
.examples-hero > p:last-child { max-width: 700px; color: var(--muted-night); }
.example-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: 7rem;
}
.example-gallery article > h2 { margin: 1.7rem 0 0.6rem; font-size: 2rem; }
.example-gallery article > p { color: var(--muted-night); font-size: 0.8rem; }
.folio-preview {
  position: relative;
  aspect-ratio: 0.707;
  padding: 12%;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 25px 58px rgba(7, 4, 22, 0.42);
  overflow: hidden;
  transition: transform 350ms var(--ease), box-shadow 350ms var(--ease);
}
.example-gallery article:hover .folio-preview {
  box-shadow: 0 36px 75px rgba(7, 4, 22, 0.52);
  transform: translateY(-7px);
}
.folio-preview > span {
  display: block;
  color: #655e6c;
  font-size: 0.55rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.folio-preview > strong {
  display: block;
  margin-top: 15%;
  color: var(--gold-ink);
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
}
.folio-preview > b {
  display: block;
  max-width: 90%;
  margin-top: 22%;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.65rem);
  font-weight: 500;
  line-height: 0.98;
}
.folio-preview > strong + b { margin-top: 9%; }
.folio-preview > p { margin-top: 1.4rem; color: #5b5463; font-size: 0.64rem; }
.folio-preview > em {
  position: absolute;
  bottom: 9%;
  left: 12%;
  color: #6b6371;
  font-family: var(--font-display);
  font-size: 0.72rem;
}
.folio-preview--diagram i {
  position: absolute;
  right: 15%;
  bottom: 18%;
  width: 44%;
  aspect-ratio: 1;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}
.folio-preview--diagram em { color: var(--gold-ink); font-style: normal; }
.folio-preview--night { color: var(--paper); background: var(--night-raised); }
.folio-preview--night span { color: #b7b0c0; }
.folio-preview--night i {
  display: block;
  width: 82%;
  height: 1px;
  margin-top: 1rem;
  background: rgba(246, 241, 231, 0.22);
}
.folio-preview--night em { color: var(--gold-bright); }
.example-actions {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 3rem;
  padding-block: 4rem;
  border-top: 1px solid var(--night-line);
}
.example-actions h2 { font-size: 2.6rem; }

.report-samples {
  display: grid;
  gap: clamp(5rem, 10vw, 9rem);
  padding-bottom: clamp(6rem, 10vw, 9rem);
}
.report-sample {
  padding-top: 3rem;
  border-top: 1px solid var(--night-line);
}
.report-sample-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 3rem;
  margin-bottom: 3rem;
}
.report-sample-head h2 { margin-bottom: 1rem; }
.report-sample-head > div:first-child > p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted-night);
}
.sample-download {
  display: grid;
  justify-items: end;
  gap: 1rem;
}
.sample-download > span {
  color: #aaa3b7;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  font-variant-numeric: lining-nums tabular-nums;
}
.sample-thumbnails {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 2.2rem);
}
.sample-thumb { margin: 0; }
.sample-thumb a {
  position: relative;
  display: block;
  background: var(--paper);
  box-shadow: 0 24px 55px rgba(7, 4, 22, 0.42);
  overflow: hidden;
}
.sample-thumb a::after {
  content: "Открыть PDF";
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.55rem 0.7rem;
  color: var(--night);
  background: var(--gold-bright);
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 180ms ease, transform 180ms var(--ease);
}
.sample-thumb img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 380ms var(--ease), filter 380ms ease;
}
.sample-thumb a:hover img { transform: scale(1.018); filter: brightness(0.93); }
.sample-thumb a:hover::after,
.sample-thumb a:focus-visible::after { opacity: 1; transform: translateY(0); }
.sample-thumb figcaption {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.7rem;
  padding-top: 1rem;
  color: #d1cad8;
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.sample-thumb figcaption b {
  color: var(--gold-bright);
  font-family: var(--font-text);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}

.legal { max-width: 820px; min-height: 650px; padding-block: 7rem; }
.legal h1 { font-size: clamp(3rem, 7vw, 6rem); }
.legal p:not(.eyebrow) { color: #c2bbc9; font-size: 1rem; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 3rem;
  width: min(1280px, calc(100% - 3rem));
  margin-inline: auto;
  padding-block: 3rem;
  color: #b1aabb;
  border-top: 1px solid var(--night-line);
  font-size: 0.75rem;
}
.site-footer p { max-width: 760px; margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.3rem; }
.site-footer a:hover { color: var(--paper); }
.site-footer small { grid-column: 1 / -1; color: #958ea1; font-size: 0.7rem; }


@media (max-width: 1000px) {
  .shell, .site-footer { width: calc(100% - 3rem); }
  .hero { gap: 2rem; }
  .hero h1 { font-size: clamp(4.4rem, 8.5vw, 6.5rem); }
  .product-start { gap: 2rem; }
  .form-card { padding: 1.5rem; }
  .data-form { grid-template-columns: 1fr; }
  .data-form--natal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-action { align-items: stretch; flex-direction: column; }
  .form-action .button { width: 100%; }
  .card-copy { padding: 1.6rem; }
  .card-image, .card-chart { height: 240px; }
  .card-chart img { width: 240px; height: 240px; }
  .reflection-number { padding-left: 1.8rem; }
  .trust-strip div { padding: 1.4rem; }
  .insight-sequence { grid-template-columns: 1fr; }
  .teaser-header { flex-direction: column; gap: 1rem; }
  .order-heading, .order-layout { grid-template-columns: 1fr; }
  .report-sample-head { grid-template-columns: 1fr; gap: 1.5rem; }
  .sample-download { justify-items: start; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 8rem; }
  .shell, .site-footer { width: calc(100% - 2.5rem); }
  .site-header { align-items: stretch; flex-direction: column; gap: 0.25rem; padding-block: 0.6rem 0.25rem; min-height: 0; }
  .wordmark { font-size: 1.7rem; }
  .wordmark::before { width: 24px; height: 24px; }
  .site-nav { justify-content: space-between; gap: 0.6rem; }
  .site-nav .site-nav-extra { display: none; }
  .site-more { display: block; }
  .site-nav a { font-size: 0.75rem; min-height: 44px; }
  h1 { font-size: 3.2rem; }
  h2 { font-size: 2.8rem; }
  .hero { grid-template-columns: 1fr; padding-block: 2.4rem 3rem; gap: 2rem; }
  .hero h1 { font-size: clamp(4.1rem, 16.8vw, 6.4rem); margin-bottom: 1.3rem; }
  .hero-copy { font-size: 0.95rem; margin-bottom: 1.5rem; }
  .hero-actions { gap: 0.7rem 1.4rem; }
  .hero-offer { margin-top: 1.4rem; }
  .hero-instrument img { aspect-ratio: 1.15; object-fit: cover; object-position: 50% 58%; }
  .hero-instrument figcaption { right: 0.75rem; bottom: 0.75rem; }
  .collection { padding-block: 3rem; }
  .collection-heading { grid-template-columns: 1fr; gap: 1.4rem; margin-bottom: 2rem; }
  .collection-heading h2 { font-size: 2.7rem; }
  .product-grid { grid-template-columns: 1fr; }
  .card-copy { padding: 1.5rem; }
  .card-copy h3 { font-size: 2.7rem; }
  .card-image, .card-chart { height: 220px; }
  .card-chart img { width: 220px; height: 220px; }
  .reflection-example { grid-template-columns: 1fr; padding-block: 2rem 3.5rem; gap: 2rem; }
  .reflection-number { padding-left: 1.4rem; gap: 1rem; }
  .reflection-number strong { font-size: 6.5rem; }
  .reflection-example h2 { font-size: 2.7rem; }
  .book-preview { grid-template-columns: 1fr; padding-block: 3rem; gap: 2rem; }
  .book-preview h2 { font-size: 2.7rem; }
  .trust-strip { grid-template-columns: 1fr; padding-block: 0 3rem; }
  .trust-strip div { border-left: 0; border-top: 1px solid var(--night-line); padding-inline: 0; }
  .trust-strip span { max-width: 100%; }
  .product-start { grid-template-columns: 1fr; padding-block: 1.2rem 2.4rem; gap: 1rem; }
  .product-hero-copy { display: contents; }
  .product-hero-copy .eyebrow { order: 1; margin: 0; }
  .product-hero-copy h1 { order: 2; margin: 0 0 0.3rem; font-size: 2.4rem; line-height: 1.04; }
  .product-hero-copy > p:not(.eyebrow) { font-size: 0.93rem; }
  .product-lead { order: 5; margin: 1rem 0 0; }
  .form-card { order: 3; grid-column: 1; grid-row: auto; padding: 1.2rem; }
  .teaser-target { order: 4; }
  .presets { order: 6; }
  .product-still { order: 7; }
  .offer-terms div { grid-template-columns: 1fr; gap: 0.2rem; }
  .product-start--matrix .form-card, .product-start--matrix .presets { grid-column: 1; grid-row: auto; }
  .product-still { grid-column: 1; grid-row: auto; }
  .product-still img, .product-still--natal img { height: 220px; }
  .presets { padding: 1.5rem 0 0; border-left: 0; border-top: 1px solid var(--night-line); }
  .data-form { grid-template-columns: 1fr; gap: 0.9rem; }
  .teaser-diagram .arcana-wheel--full { display: none; }
  .teaser-diagram .arcana-wheel--phone { display: block; }
  .field-wide { grid-column: 1; }
  .data-form--natal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .data-form--natal .field-wide { grid-column: 1 / -1; }
  .suggestions fieldset { grid-template-columns: 1fr; }
  .inside { grid-template-columns: 1fr; gap: 1.4rem; padding-block: 3rem; }
  .inside h2 { margin: 0; }
  .chapter-list li { grid-template-columns: 2rem 1fr; font-size: 1.45rem; }
  .standalone-result { width: 100%; margin-block: 1.5rem 3rem; padding: 1.5rem 1.25rem; }
  .teaser { padding: 1.5rem 1.25rem; }
  .teaser-target { margin-inline: -1.25rem; }
  .teaser-header { padding-bottom: 1.5rem; }
  .teaser-header h2 { font-size: 2.45rem; }
  .mirror-reveal { grid-template-columns: 1fr; gap: 2rem; padding-block: 2rem; }
  .mirror-reveal-copy h3 { font-size: 2.2rem; }
  .mirror-fact { font-size: 0.95rem; }
  .insight-sequence > div { padding: 1.1rem; }
  .purchase-action { justify-items: stretch; }
  .purchase-action .button { width: 100%; }
  .examples-hero { padding-block: 3rem; }
  .examples-hero h1 { font-size: 3.3rem; }
  .sample-thumbnails { grid-template-columns: 1fr; gap: 2rem; }
  .sample-thumb { width: min(100%, 360px); margin-inline: auto; }
  .sample-thumb a::after { opacity: 1; transform: none; }
  .example-actions { align-items: start; flex-direction: column; gap: 1.5rem; }
  .site-footer { grid-template-columns: 1fr; padding-block: 2rem; }
  .site-footer nav { gap: 0.3rem 1.2rem; }
  .site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
  .site-footer small { grid-column: 1; }
  .status-card { padding: 2rem 1.35rem; }
  .status-orbit { opacity: 0.32; }
  .order-action { align-items: stretch; flex-direction: column; }
  .order-action .button { width: 100%; }
  .done { grid-template-columns: 1fr; text-align: center; }
  .done-book { width: min(82%, 320px); justify-self: center; }
  .done-copy { justify-self: center; }
  .done-copy h1 { text-align: center; }
  .done-actions { justify-content: center; }
  .done, .empty-state { min-height: 620px; }
}

#teaser-title:focus-visible {
  outline: 1px solid var(--gold-ink);
  outline-offset: 0.35rem;
}

@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;
  }
  .edition-cover,
  .sample-spread { transform: none; }
}

@media (prefers-contrast: more) {
  .site-nav a,
  .hero-copy,
  .product-hero-copy > p:not(.eyebrow),
  .example-gallery article > p,
  .site-footer { color: var(--paper); }
  .data-form input:not([type="checkbox"], [type="radio"]) { border-width: 2px; }
  .eyebrow { color: #f1cc7f; }
  .form-card .eyebrow,
  .teaser .eyebrow { color: #684714; }
}

/* Phone reader of the paid book. */
.reader { max-width: 720px; margin-block: 1.5rem 4rem; }
.reader-cover { padding: 2rem 1.5rem; text-align: center; }
.reader-seal { width: min(70vw, 300px); margin: 0 auto 1.2rem; }
.reader-seal svg { display: block; width: 100%; height: auto; }
.reader-cover h1 { margin-bottom: 0.4rem; font-size: 3rem; }
.reader-cover p:not(.eyebrow) { color: var(--muted-night); font-size: 0.85rem; }
.reader { padding-bottom: 3.5rem; }
.reader-count {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  text-align: center;
  padding: 0.8rem 1rem;
  color: var(--paper);
  background: var(--night-raised);
  border-bottom: 1px solid var(--night-line);
  font-size: 0.8rem;
}
.reader-count b { color: var(--gold); font-size: 1rem; }
.reader-section { padding: 2rem 1.25rem; color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--paper-line); }
.reader-section h2 { margin-bottom: 1rem; font-size: 2.1rem; }
.reader-section h3 { margin: 1.4rem 0 0.4rem; font-family: var(--font-text); font-size: 0.8rem; font-weight: 700; }
.reader-wheel { margin: 0 0 1rem; }
.reader-wheel svg { display: block; width: 100%; height: auto; }
.reader-note { color: var(--muted-paper); font-size: 0.82rem; }
.reader-note b { color: var(--ink); }
.reader-sky { display: grid; grid-template-columns: 96px 1fr; gap: 1.2rem; align-items: start; }
.reader-sky figure { margin: 0; }
.reader-sky svg { width: 96px; height: 96px; }
.reader-sky dl { margin: 0; }
.reader-sky div { padding: 0.55rem 0; border-top: 1px solid var(--paper-line); font-size: 0.8rem; }
.reader-sky dt { color: var(--muted-paper); }
.reader-sky dd { margin: 0; color: #443e4e; }
.reader-sky dd b { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; }
.reader-statements { margin: 0; padding: 0; list-style: none; }
.reader-statements li { padding: 0.6rem 0; border-top: 1px solid var(--paper-line); font-family: var(--font-display); font-size: 1.2rem; }
.reader-planet-head { display: flex; gap: 0.9rem; align-items: center; margin-bottom: 0.6rem; }
.reader-planet-head h2 { margin: 0; font-size: 1.9rem; }
.reader-planet-head p { margin: 0; color: var(--muted-paper); font-size: 0.75rem; }
.reader-glyph { flex: none; width: 44px; height: 44px; color: var(--gold-ink); }
.reader-glyph svg { width: 100%; height: 100%; }
.reader-lead, .reader-sublead { color: var(--gold-ink); font-family: var(--font-display); font-style: italic; }
.reader-lead { font-size: 1.35rem; line-height: 1.25; }
.reader-sublead { margin-bottom: 0.3rem; font-size: 1.1rem; }
.reader-body { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.45; }
.reader-kind { color: var(--muted-paper); font-size: 0.75rem; }
.reader-links { margin: 0; padding: 0; list-style: none; font-size: 0.8rem; }
.reader-links li { padding: 0.5rem 0; border-top: 1px solid var(--paper-line); }
.reader-links span { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.reader-aspect + .reader-aspect { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--paper-line); }
.reader-aspect h3 { margin-top: 0; font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; }
.reader-checks { margin-top: 1.2rem; padding-top: 0.4rem; border-top: 2px solid var(--gold-ink); }
.reader-check { display: grid; grid-template-columns: 1fr auto; gap: 0.8rem; align-items: center; padding: 0.7rem 0; border-bottom: 1px solid var(--paper-line); }
.reader-check p { margin: 0; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.3; }
.reader-answer { display: flex; gap: 0.4rem; }
.reader-answer button {
  min-width: 52px;
  min-height: 44px;
  color: var(--ink);
  background: transparent;
  border: 1px solid #8c8493;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}
.reader-answer button[aria-pressed="true"] { color: var(--paper); background: var(--night); border-color: var(--night); }
.reader-answer button:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 2px; }
.reader-events { margin: 0; padding: 0; list-style: none; font-size: 0.82rem; }
.reader-events li { padding: 0.6rem 0; border-top: 1px solid var(--paper-line); }
.reader-events span { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.reader-trust p { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.45; }

/* Free result, in the order of the rework: reveal, cards, sky, insight, book, price, card, trust. */
.result-reveal { position: relative; max-width: 640px; margin: 1.5rem auto 2rem; }
.reveal-seal, .reveal-wheel { width: 100%; }
.reveal-seal { position: absolute; inset: 0 0 auto; padding: 6%; color: var(--gold-ink); pointer-events: none; }
.reveal-seal svg, .reveal-wheel svg { display: block; width: 100%; height: auto; }
.reveal-seal { animation: seal-fade 1.6s var(--ease) 0.35s both; }
.reveal-wheel { animation: wheel-rise 1.6s var(--ease) 0.35s both; }
@keyframes seal-fade { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(1.06); } }
@keyframes wheel-rise { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }
.result-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.result-cards article { padding: 1.1rem; border-top: 2px solid var(--gold-ink); background: var(--paper-raised); }
.result-cards h3 { margin: 0.4rem 0 0.3rem; font-size: 1.45rem; }
.result-cards p { margin: 0; color: #443e4e; font-family: var(--font-display); font-size: 1.1rem; font-style: italic; line-height: 1.3; }
.result-card-glyph { display: block; width: 34px; height: 34px; color: var(--gold-ink); }
.result-card-glyph svg { width: 100%; height: 100%; }
.result-card-number { display: block; color: var(--gold-ink); font-family: var(--font-display); font-size: 2.6rem; line-height: 1; }
.result-sky { margin-bottom: 2rem; }
.result-sky h3 { margin-bottom: 0.6rem; font-family: var(--font-text); font-size: 0.8rem; font-weight: 700; }
.result-sky dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; }
.result-sky dt { color: var(--muted-paper); font-size: 0.72rem; }
.result-sky dd { margin: 0; color: #443e4e; font-size: 0.78rem; }
.result-sky dd b { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }
.result-insight { margin-bottom: 2.4rem; }
.your-book { padding: clamp(1.4rem, 4vw, 3rem); color: var(--paper); background: var(--night); border: 1px solid rgba(213, 179, 108, 0.38); scroll-margin-top: 7rem; }
.your-book h3 { max-width: 640px; margin-bottom: 1.4rem; }
.your-book-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.2rem; }
.book-cover, .book-page { aspect-ratio: 210 / 297; overflow: hidden; padding: 8% 7%; font-size: 0.62rem; }
.book-cover { display: flex; flex-direction: column; align-items: center; text-align: center; background: #1c1836; border: 1px solid rgba(213, 179, 108, 0.45); }
.book-cover-seal { width: 72%; margin: 4% auto 8%; color: var(--gold); }
.book-cover-seal svg { display: block; width: 100%; height: auto; }
.book-cover small { color: var(--gold); font-family: var(--font-display); font-size: 0.8rem; font-style: italic; }
.book-cover b { margin: 0.2rem 0; font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; line-height: 1.05; overflow-wrap: anywhere; }
.book-cover span, .book-cover i { color: var(--muted-night); font-style: normal; }
.book-cover i { margin-top: auto; padding-top: 0.4rem; border-top: 1px solid rgba(213, 179, 108, 0.4); }
.book-page { color: var(--ink); background: var(--paper); }
.book-page b { display: block; margin-bottom: 0.3rem; font-family: var(--font-display); font-size: 1rem; font-weight: 500; }
.book-page em { display: block; margin-bottom: 0.3rem; color: var(--gold-ink); font-family: var(--font-display); font-size: 0.78rem; }
.book-page p { margin: 0; font-family: var(--font-display); font-size: 0.72rem; line-height: 1.35; mask-image: linear-gradient(#000 55%, transparent); }
.book-page dl { margin: 0; }
.book-page dl div { padding: 0.25rem 0; border-top: 1px solid var(--paper-line); }
.book-page dt { color: var(--muted-paper); }
.book-page dd { margin: 0; font-family: var(--font-display); font-size: 0.8rem; }
.book-page-seal { width: 38%; margin-bottom: 0.4rem; color: var(--ink); }
.book-page-seal svg { display: block; width: 100%; height: auto; }
.book-chapters { margin-bottom: 1.4rem; color: var(--muted-night); font-size: 0.8rem; }
.book-chapters summary { color: var(--paper); cursor: pointer; }
.book-chapters ol { columns: 2; margin: 0.8rem 0 0; padding-left: 1.2rem; }
.buy-bar {
  position: sticky;
  bottom: 0;
  z-index: 15;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1rem calc(-1 * clamp(1.25rem, 4vw, 3.5rem)) 0;
  padding: 0.9rem clamp(1.25rem, 4vw, 3.5rem);
  color: var(--night);
  background: var(--gold);
  font-weight: 700;
  text-decoration: none;
}
.buy-bar span { font-size: 0.8rem; font-weight: 600; }
.share { margin-top: 2rem; }
.share h3 { margin-bottom: 0.3rem; font-family: var(--font-text); font-size: 0.8rem; font-weight: 700; }
.share p { color: var(--muted-paper); font-size: 0.8rem; }
.share .button--quiet { color: var(--night); border-color: var(--paper-line); }
.share .button--quiet:hover { color: var(--paper); background: var(--night); border-color: var(--night); }
.result-trust { margin: 1.6rem 0 0; color: var(--muted-paper); font-size: 0.8rem; }
@media (max-width: 700px) {
  .result-cards, .result-sky dl { grid-template-columns: 1fr; }
  .your-book-grid { grid-template-columns: 1fr 1fr; }
  .book-cover { grid-column: 1 / -1; aspect-ratio: auto; }
  .book-cover-seal { width: 52%; }
  .book-chapters ol { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-seal { display: none; }
  .reveal-wheel { animation: none; }
}

/* Public placement pages for search. */
.placement { padding-block: 2.4rem 4rem; }
.placement h1 { margin-bottom: 0.8rem; }
.placement-lead { color: var(--gold); font-family: var(--font-display); font-size: 1.6rem; font-style: italic; line-height: 1.25; }
.placement-text { max-width: 640px; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.45; }
.placement-note, .placement-form-note { max-width: 640px; color: var(--muted-night); font-size: 0.85rem; }
.placement-form-note { color: var(--muted-paper); }
.placement-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 2rem; align-items: start; margin-top: 2rem; }
.placement-seal { margin: 0; color: var(--muted-night); font-size: 0.8rem; }
.placement-seal img { display: block; width: 100%; height: auto; }
.placement .form-card h2 { margin-bottom: 0.4rem; font-size: 2rem; }
.placement-related, .placements-group { margin-top: 2.4rem; }
.placement-related ul, .placements-group ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0.4rem 1.2rem; margin: 0.8rem 0 0; padding: 0; list-style: none; font-size: 0.9rem; }
.placements { padding-block: 2.4rem 4rem; }
@media (max-width: 700px) {
  .placement-grid { grid-template-columns: 1fr; }
  .placement-seal { max-width: 240px; }
}

/* Second book and gift offers on the ready-book page; gift dedication field. */
.next-offers { display: grid; gap: 1rem; margin: 1.6rem 0; padding: 1.2rem 0; border-block: 1px solid var(--night-line); }
.second-offer { display: grid; gap: 0.6rem; justify-items: start; }
.second-offer p, .gift-offer { margin: 0; color: var(--muted-night); font-size: 0.85rem; }
.second-offer b, .gift-offer b { display: block; color: var(--paper); font-size: 0.95rem; }
.cover-name textarea {
  min-height: 64px;
  padding: 0.7rem 0.9rem;
  color: var(--paper);
  background: rgba(246, 241, 231, 0.06);
  border: 1px solid rgba(246, 241, 231, 0.4);
  border-radius: 0;
  font: inherit;
  resize: vertical;
}
.cover-name textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.reader-dedication { color: var(--gold); font-family: var(--font-display); font-style: italic; }

.reader-stars { color: var(--paper); background: var(--night); }
.reader-stars .reader-note { color: var(--muted-night); }
.wheel-point { cursor: pointer; }
.wheel-point:focus { outline: none; }
.arcana-wheel:not(.arcana-wheel--live) .wheel-point:focus-visible circle, .arcana-wheel:not(.arcana-wheel--live) .wheel-point.is-active circle { fill-opacity: 0.12; stroke: var(--gold-ink); }
.wheel-readout { min-height: 1.5em; margin: 0.6rem 0 0; color: var(--gold-ink); font-family: var(--font-display); font-size: 1.15rem; text-align: center; }
