/* ==========================================================================
   Non-critical CSS — loaded without blocking render. Light theme.
   Below-the-fold layout, article typography, results, pricing, report page.
   ========================================================================== */

/* ---- shared blocks ------------------------------------------------------- */

section {
  position: relative;
}

.section {
  padding: clamp(3rem, 8vw, 5.5rem) 0;
}
.section-alt {
  background: linear-gradient(180deg, transparent, var(--bg-2) 45%, transparent);
}

.section-head {
  max-width: 62ch;
  margin: 0 auto clamp(2rem, 5vw, 3rem);
  text-align: center;
}
.section-head h2 {
  font-size: var(--fs-h2);
  margin-bottom: 0.5rem;
}
.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(0.98rem, 2.4vw, 1.08rem);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan);
  text-transform: uppercase;
}

.card {
  padding: clamp(1.2rem, 3vw, 1.8rem);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* ---- result panel (free interpretation) ---------------------------------- */

.result-zone {
  scroll-margin-top: 90px;
}

.result-panel {
  width: min(100%, 860px);
  margin: 0 auto;
}

.result-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2.4rem 1rem;
  color: var(--text-soft);
  font-weight: 600;
  text-align: center;
}

.spinner {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border: 2.5px solid rgba(101, 53, 232, 0.2);
  border-top-color: var(--violet);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.result-error {
  padding: 1.1rem 1.3rem;
  color: #9f1239;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 16px;
  text-align: center;
}

.free-result {
  padding: clamp(1.3rem, 3.5vw, 2rem);
  background: linear-gradient(150deg, #f0fdff, #f6f3ff);
  border: 1px solid rgba(14, 116, 144, 0.24);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.free-result h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.7rem;
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  color: var(--cyan);
}
.free-result p {
  margin: 0;
  font-size: clamp(1.04rem, 2.7vw, 1.2rem);
  line-height: 1.95;
  color: var(--text);
}

/* ---- locked sections ------------------------------------------------------
   These are empty skeletons. No paid text is ever placed in the DOM before
   the server has confirmed a purchase, so there is nothing here to reveal.  */

.locked-wrap {
  margin-top: clamp(1.6rem, 4vw, 2.4rem);
}

.locked-intro {
  margin: 0 0 1.2rem;
  text-align: center;
  color: var(--text-soft);
  font-weight: 600;
}

.locked-section {
  position: relative;
  margin-bottom: 0.85rem;
  padding: 1.15rem clamp(1rem, 3vw, 1.5rem);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.locked-section::after {
  /* Decorative sheen only — there is no content underneath it. */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 30%,
    rgba(101, 53, 232, 0.06) 50%,
    transparent 70%
  );
  animation: sheen 3.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sheen {
  0% {
    transform: translateX(-60%);
  }
  100% {
    transform: translateX(60%);
  }
}

.locked-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.locked-title {
  margin: 0;
  font-size: clamp(0.98rem, 2.6vw, 1.1rem);
  font-weight: 700;
  color: var(--text-soft);
  min-width: 0;
}
.locked-badge {
  flex-shrink: 0;
  font-size: 0.9rem;
}

.skeleton-line {
  height: 11px;
  margin-bottom: 9px;
  background: linear-gradient(90deg, #ebe8f6, #f4f2fb);
  border-radius: 6px;
}
.skeleton-line:last-child {
  margin-bottom: 0;
  width: 55%;
}
.skeleton-line:nth-child(even) {
  width: 92%;
}
.skeleton-line:nth-child(3n) {
  width: 84%;
}

/* ---- pricing ------------------------------------------------------------- */

.pricing {
  margin-top: clamp(1.8rem, 4vw, 2.6rem);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.1rem;
  align-items: stretch;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(1.3rem, 3.5vw, 1.8rem);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.plan:hover {
  transform: translateY(-3px);
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}
.plan-featured {
  border-color: var(--violet);
  box-shadow: var(--shadow-lg);
}

.plan-badge {
  align-self: flex-start;
  margin-bottom: 0.7rem;
  padding: 0.28rem 0.8rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #b45309, #d97706);
  border-radius: 999px;
}

.plan-name {
  margin: 0 0 0.25rem;
  font-size: clamp(1.08rem, 2.8vw, 1.28rem);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
  direction: ltr;
  justify-content: flex-end;
}
.plan-amount {
  font-size: clamp(2rem, 6vw, 2.7rem);
  font-weight: 800;
  line-height: 1;
  color: var(--violet-deep);
}
.plan-period {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.plan-features {
  flex: 1;
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
}
.plan-features li {
  position: relative;
  padding-inline-start: 1.7rem;
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-soft);
}
.plan-features li::before {
  content: '✦';
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  color: var(--cyan);
  font-size: 0.85rem;
}
.plan-features li.muted {
  color: var(--text-muted);
}
.plan-features li.muted::before {
  content: '·';
  color: var(--text-muted);
}

.btn-plan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 54px;
  padding: 0 1.2rem;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--violet-deep);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 15px;
  cursor: pointer;
  transition: background 0.16s ease, transform 0.16s ease;
}
.btn-plan:hover:not(:disabled) {
  background: var(--surface-2);
  transform: translateY(-2px);
  text-decoration: none;
}
.btn-plan-featured {
  color: #fff;
  background: linear-gradient(135deg, #5628d6, #7c3aed 60%, #0891b2);
  border: none;
  box-shadow: 0 10px 26px -12px rgba(86, 40, 214, 0.65);
}
.btn-plan-featured:hover:not(:disabled) {
  background: linear-gradient(135deg, #4c22c0, #6d28d9 60%, #0e7490);
  color: #fff;
}
.btn-plan:disabled {
  opacity: 0.6;
  cursor: wait;
}

.pay-note {
  margin: 1rem 0 0;
  font-size: 0.83rem;
  color: var(--text-muted);
  text-align: center;
}

/* ---- $2 details form ----------------------------------------------------- */

.details-form {
  margin-top: 1rem;
  padding: 1.2rem;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
}
.details-form[hidden] {
  display: none;
}
.field {
  margin-bottom: 0.9rem;
}
.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-soft);
}
.field input {
  width: 100%;
  min-height: 50px;
  padding: 0.6rem 0.9rem;
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 13px;
}
.field input:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(101, 53, 232, 0.14);
}
.field-hint {
  margin: 0.3rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.form-error {
  margin: 0 0 0.8rem;
  padding: 0.6rem 0.9rem;
  font-size: 0.88rem;
  color: #9f1239;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 11px;
}
.form-error[hidden] {
  display: none;
}

/* ---- how it works -------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1.1rem;
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps li {
  position: relative;
  padding: 1.5rem 1.3rem 1.3rem;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -14px;
  inset-inline-start: 1.3rem;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #5628d6, #0891b2);
  border-radius: 11px;
}
.steps h3 {
  margin: 0.3rem 0 0.4rem;
  font-size: var(--fs-h3);
}
.steps p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ---- symbol grid --------------------------------------------------------- */

.symbol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  gap: 0.9rem;
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
}
.symbol-grid a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  height: 100%;
  padding: 1rem 1.1rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.6;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}
.symbol-grid a:hover {
  border-color: var(--violet);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.symbol-grid .icon {
  flex-shrink: 0;
  font-size: 1.25rem;
  line-height: 1;
}

/* ---- long-form article typography ---------------------------------------- */

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}
@media (min-width: 1040px) {
  .article-shell.has-toc {
    grid-template-columns: minmax(0, 1fr) 270px;
  }
}

.prose {
  min-width: 0;
  max-width: var(--measure);
}
.prose h2 {
  margin-top: 2.6rem;
  padding-top: 0.6rem;
  font-size: var(--fs-h2);
  border-top: 1px solid var(--border-soft);
}
.prose h3 {
  margin-top: 1.9rem;
  font-size: var(--fs-h3);
  color: var(--text);
}
.prose h4 {
  margin-top: 1.5rem;
  font-size: 1.08rem;
  color: var(--cyan);
}
.prose p {
  margin: 0 0 1.15rem;
  line-height: 2;
  color: var(--text-soft);
}
.prose strong {
  color: var(--text);
  font-weight: 700;
}
.prose ul,
.prose ol {
  margin: 0 0 1.3rem;
  padding-inline-start: 1.4rem;
  color: var(--text-soft);
}
.prose li {
  margin-bottom: 0.6rem;
  line-height: 1.95;
}
.prose li::marker {
  color: var(--violet);
}
.prose a {
  color: var(--violet);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.prose blockquote {
  margin: 1.6rem 0;
  padding: 1rem 1.3rem;
  border-inline-start: 3px solid var(--violet);
  background: var(--surface-2);
  border-radius: 0 16px 16px 0;
  color: var(--text-soft);
}
.prose blockquote p:last-child {
  margin-bottom: 0;
}
.prose hr {
  margin: 2.4rem 0;
  border: none;
  border-top: 1px solid var(--border-soft);
}

/* Tables must scroll inside themselves, never widen the page. */
.table-scroll {
  overflow-x: auto;
  margin: 0 0 1.6rem;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}
/* Safety net: if a table ever escapes the wrapper, it still scrolls itself
   rather than dragging the page into horizontal scroll. */
.prose > table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.prose table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: 0.94rem;
}
.prose th,
.prose td {
  padding: 0.8rem 1rem;
  text-align: start;
  border-bottom: 1px solid var(--border-soft);
  line-height: 1.75;
  vertical-align: top;
  color: var(--text-soft);
}
.prose th {
  background: var(--surface-2);
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}
.prose tbody tr:last-child td {
  border-bottom: none;
}

.key-answer {
  margin: 0 0 1.8rem;
  padding: 1.15rem 1.35rem;
  background: linear-gradient(150deg, #f0fdff, #f6f3ff);
  border: 1px solid rgba(14, 116, 144, 0.22);
  border-radius: 18px;
}
.key-answer p {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.95;
}

/* ---- table of contents --------------------------------------------------- */

.toc {
  align-self: start;
  padding: 1.2rem 1.3rem;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 1040px) {
  .toc {
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }
}
.toc h2 {
  margin: 0 0 0.7rem;
  font-size: 1rem;
  color: var(--cyan);
}
.toc ol {
  margin: 0;
  padding-inline-start: 1.1rem;
  font-size: 0.9rem;
}
.toc li {
  margin-bottom: 0.15rem;
  line-height: 1.65;
}
.toc a {
  /* Padded to a comfortable tap target rather than a bare 26px text line. */
  display: block;
  padding: 0.45rem 0.2rem;
  color: var(--text-muted);
  text-decoration: none;
}
.toc a:hover {
  color: var(--violet);
}

/* ---- breadcrumbs, meta, related ------------------------------------------ */

.breadcrumbs {
  padding: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumbs a {
  display: inline-block;
  padding: 0.35rem 0;
}
.breadcrumbs li::after {
  content: '‹';
  margin-inline-start: 0.4rem;
  color: var(--text-muted);
}
.breadcrumbs li:last-child::after {
  content: '';
}
.breadcrumbs a {
  color: var(--text-muted);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  margin: 0 0 1.8rem;
  padding: 0.9rem 0;
  border-block: 1px solid var(--border-soft);
  font-size: 0.86rem;
  color: var(--text-muted);
}

.author-box {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 1.3rem;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.author-avatar {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  font-size: 1.4rem;
  color: #fff;
  background: linear-gradient(135deg, #5628d6, #0891b2);
  border-radius: 16px;
}
.author-box h2 {
  margin: 0 0 0.3rem;
  font-size: 1.02rem;
  border: none;
  padding-top: 0;
}
.author-box p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 0.9rem;
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
}
.related-list a {
  display: block;
  height: 100%;
  padding: 1rem 1.15rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.7;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}
.related-list a:hover {
  border-color: var(--violet);
  text-decoration: none;
}

.inline-cta {
  margin: 2.4rem 0;
  padding: clamp(1.3rem, 3.5vw, 1.9rem);
  text-align: center;
  background: linear-gradient(150deg, #f3efff, #eefcff);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.inline-cta h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.15rem, 3.2vw, 1.5rem);
  border: none;
  padding-top: 0;
}
.inline-cta p {
  margin: 0 0 1.1rem;
  color: var(--text-soft);
  font-size: 0.98rem;
}
.inline-cta a.btn-primary {
  text-decoration: none;
}

/* ---- FAQ ----------------------------------------------------------------- */

.faq-list {
  display: grid;
  gap: 0.8rem;
  max-width: var(--measure);
  margin-bottom: 1.6rem;
}
.faq-item {
  padding: 1.15rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}
.faq-item h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1rem, 2.7vw, 1.12rem);
  color: var(--text);
}
.faq-item p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.95;
  font-size: 0.98rem;
}

/* ---- report page --------------------------------------------------------- */

.report-page {
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(3rem, 7vw, 4.5rem);
}

.report-head {
  margin-bottom: 2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--border-soft);
}
.report-head h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 4.5vw, 2.2rem);
}
.report-sub {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.tier-pill {
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.32rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #5628d6, #0891b2);
  border-radius: 999px;
}

.dream-quote {
  margin: 0 0 2rem;
  padding: 1.15rem 1.35rem;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-inline-start: 3px solid var(--violet);
  border-radius: 0 16px 16px 0;
}
.dream-quote h2 {
  margin: 0 0 0.5rem;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.dream-quote p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.95;
  white-space: pre-wrap;
}

.report-section {
  margin-bottom: 2.2rem;
}
.report-section > h2 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.9rem;
  padding-bottom: 0.5rem;
  font-size: clamp(1.15rem, 3.2vw, 1.45rem);
  border-bottom: 1px solid var(--border-soft);
}
.report-section > h2 .num {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #5628d6, #0891b2);
  border-radius: 9px;
}
.report-section p {
  margin: 0 0 1rem;
  line-height: 2;
  color: var(--text-soft);
}
.report-section p:last-child {
  margin-bottom: 0;
}

.symbol-cards {
  display: grid;
  gap: 0.9rem;
}
.symbol-card {
  padding: 1.1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.symbol-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--violet-deep);
}
.symbol-card p {
  margin: 0 0 0.6rem;
  font-size: 0.96rem;
  line-height: 1.9;
  color: var(--text-soft);
}
.symbol-card p:last-child {
  margin-bottom: 0;
}
.symbol-card .ctx {
  padding-top: 0.6rem;
  border-top: 1px dashed var(--border-soft);
  color: var(--text-muted);
  font-size: 0.92rem;
}

.pill-list {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pill-list li {
  position: relative;
  padding: 0.75rem 1rem;
  padding-inline-start: 2.4rem;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  line-height: 1.85;
  color: var(--text-soft);
  font-size: 0.96rem;
  box-shadow: var(--shadow-sm);
}
.pill-list li::before {
  content: '✦';
  position: absolute;
  inset-inline-start: 1rem;
  top: 0.75rem;
  color: var(--cyan);
}
.pill-list.challenges li::before {
  content: '◆';
  color: var(--gold);
}
.pill-list.questions {
  counter-reset: q;
}
.pill-list.questions li::before {
  counter-increment: q;
  content: counter(q);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--violet);
}

.message-box {
  padding: clamp(1.2rem, 3.5vw, 1.8rem);
  background: linear-gradient(150deg, #f3efff, #eefcff);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.message-box h2 {
  margin: 0 0 0.7rem;
  border: none;
  padding: 0;
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  color: var(--violet-deep);
}
.message-box p {
  margin: 0;
  font-size: 1.04rem;
  line-height: 2;
  color: var(--text);
}

.report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 2.5rem 0;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0 1.4rem;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--violet-deep);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 15px;
  cursor: pointer;
  flex: 1 1 auto;
  text-decoration: none;
}
.btn-ghost:hover {
  background: var(--surface-2);
  text-decoration: none;
}

/* ---- follow-up question -------------------------------------------------- */

.followup {
  margin-top: 2.5rem;
  padding: clamp(1.2rem, 3.5vw, 1.8rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.followup h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.08rem, 3vw, 1.3rem);
}
.followup > p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.followup textarea {
  width: 100%;
  min-height: 96px;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  background: #fdfcff;
  border: 1px solid var(--border-soft);
  border-radius: 15px;
  resize: vertical;
}
.followup textarea:focus {
  outline: none;
  border-color: var(--violet);
}
.followup-answer {
  margin-top: 1.1rem;
  padding: 1.1rem 1.25rem;
  background: #f0fdff;
  border: 1px solid rgba(14, 116, 144, 0.22);
  border-radius: 16px;
  line-height: 1.95;
  color: var(--text-soft);
  white-space: pre-wrap;
}

/* ---- upgrade banner ------------------------------------------------------ */

.upgrade-banner {
  margin: 2.5rem 0;
  padding: clamp(1.2rem, 3.5vw, 1.8rem);
  background: linear-gradient(150deg, #fffbeb, #f3efff);
  border: 1px solid #fcd34d;
  border-radius: var(--radius-lg);
  text-align: center;
}
.upgrade-banner h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  border: none;
  padding: 0;
}
.upgrade-banner p {
  margin: 0 0 1.1rem;
  color: var(--text-soft);
  font-size: 0.96rem;
}

/* ---- footer -------------------------------------------------------------- */

.site-footer {
  margin-top: clamp(3rem, 8vw, 5rem);
  padding-top: clamp(2.5rem, 6vw, 3.5rem);
  background: linear-gradient(180deg, transparent, var(--bg-2));
  border-top: 1px solid var(--border-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 2rem;
  padding-bottom: 2.2rem;
}
.footer-brand {
  grid-column: 1 / -1;
}
@media (min-width: 780px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr;
  }
  .footer-brand {
    grid-column: auto;
  }
}
.footer-logo {
  margin: 0 0 0.6rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--violet-deep);
}
.footer-tag {
  margin: 0;
  max-width: 44ch;
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--text-muted);
}
.footer-title {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}
.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-col li {
  margin-bottom: 0.55rem;
  line-height: 1.7;
}
.footer-col a {
  color: var(--text-muted);
  font-size: 0.91rem;
}
.footer-col a:hover {
  color: var(--violet);
}

.footer-bottom {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--border-soft);
}
.disclaimer {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  line-height: 1.85;
  color: var(--text-muted);
}
.disclaimer strong {
  color: var(--text-soft);
}
.copyright {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---- print: the saveable report ------------------------------------------ */

@media print {
  @page {
    margin: 18mm 16mm;
  }
  .site-header,
  .site-footer,
  .report-actions,
  .followup,
  .upgrade-banner,
  .skip-link,
  .no-print {
    display: none !important;
  }
  body {
    background: #fff !important;
    color: #14131f !important;
    font-size: 11.5pt;
    line-height: 1.85;
  }
  .print-header {
    display: block !important;
    margin-bottom: 14mm;
    padding-bottom: 6mm;
    border-bottom: 2px solid #5628d6;
  }
  .report-section,
  .message-box,
  .symbol-card,
  .dream-quote,
  .pill-list li {
    background: #fff !important;
    border-color: #d9d6ea !important;
    box-shadow: none !important;
    color: #14131f !important;
  }
  .report-section {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .report-section > h2 {
    color: #4c22c0 !important;
    border-bottom-color: #d9d6ea !important;
    break-after: avoid;
  }
  .report-section > h2 .num {
    background: #5628d6 !important;
    color: #fff !important;
  }
  .report-section p,
  .pill-list li,
  .symbol-card p,
  .dream-quote p,
  .message-box p {
    color: #2d2b40 !important;
  }
  .symbol-card h3 {
    color: #4c22c0 !important;
  }
  .tier-pill {
    background: #5628d6 !important;
    color: #fff !important;
  }
  a {
    color: #4c22c0 !important;
    text-decoration: none !important;
  }
}

.print-header {
  display: none;
}
.print-header h1 {
  margin: 0 0 4mm;
  font-size: 20pt;
  color: #14131f;
}
.print-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2mm 8mm;
  font-size: 10pt;
  color: #55526e;
}
