  :root {
    color-scheme: dark;
    --night: #070B16; --night-2: #11162A;
    --rose: #E2C4B6; --gold: #D9B98B; --paper: #FBF8F5; --dusk: #ABA0B8;
    --card: rgba(21, 26, 46, 0.72); --card-solid: #141A2E;
    --text: #F3ECE6; --muted: #B7AFC4;
    --line: rgba(226, 196, 182, 0.18);
    --serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --sans: "Plus Jakarta Sans", "Noto Sans Thai", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; min-height: 100vh; min-height: 100dvh; background: var(--night); color: var(--text); font-family: var(--sans); font-size: 1rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
  a { color: inherit; }
  :focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
  [hidden] { display: none !important; }

  /* ---------- fixed cosmic backdrop ---------- */
  .sky-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: linear-gradient(180deg,#060A16 0%,#0C1428 35%,#241F3E 68%,#4A3650 100%); }
  .sky-bg::before {
    content: ""; position: absolute; inset: -10% -10%;
    background-image:
      radial-gradient(1.6px 1.6px at 8% 12%, #fff, transparent 60%),
      radial-gradient(1.2px 1.2px at 22% 38%, #fff, transparent 60%),
      radial-gradient(1.4px 1.4px at 38% 8%, #fff, transparent 60%),
      radial-gradient(1px 1px at 52% 55%, #fff, transparent 60%),
      radial-gradient(1.6px 1.6px at 68% 22%, #fff, transparent 60%),
      radial-gradient(1px 1px at 78% 62%, #fff, transparent 60%),
      radial-gradient(1.3px 1.3px at 92% 18%, #fff, transparent 60%),
      radial-gradient(1px 1px at 12% 78%, #fff, transparent 60%),
      radial-gradient(1.4px 1.4px at 32% 90%, #fff, transparent 60%),
      radial-gradient(1px 1px at 58% 82%, #fff, transparent 60%),
      radial-gradient(1.2px 1.2px at 85% 88%, #fff, transparent 60%),
      radial-gradient(1px 1px at 96% 45%, #fff, transparent 60%);
    background-size: 340px 340px; background-repeat: repeat; opacity: .55;
  }
  .sky-bg .glow { position: absolute; width: 56vmax; height: 56vmax; border-radius: 50%; right: -18vmax; top: -16vmax; background: radial-gradient(circle, rgba(226,196,182,.16), transparent 70%); }

  .wrap { width: 100%; max-width: 990px; margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2rem); }

  .pill { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; font: inherit; font-weight: 500; font-size: 0.95rem; text-decoration: none; color: #1B1830; background: var(--rose); border: 0; border-radius: 999px; padding: 0.85rem 1.7rem; min-height: 2.9rem; cursor: pointer; transition: filter .2s, transform .15s; }
  .pill:hover { filter: brightness(1.06); }
  .pill:active { transform: scale(.98); }
  .pill.ghost { background: transparent; color: var(--gold); border: 1px solid rgba(217,185,139,.5); }
  .pill.text { background: transparent; color: var(--muted); padding: .75rem .4rem; min-height: 2.75rem; font-size: .88rem; text-decoration: underline; text-underline-offset: 3px; }
  .pill[disabled] { opacity: .45; cursor: not-allowed; filter: none; }

  /* ---------- topbar ---------- */
  #topbar { padding: clamp(1.25rem, 4vh, 2rem) 0 0; }
  .topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
  .brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--serif); font-size: 1.2rem; letter-spacing: .2em; text-decoration: none; color: var(--paper); }
  .brand-mark { flex: 0 0 auto; display: block; filter: drop-shadow(0 0 6px rgba(217,185,139,.35)); }
  .step-dots { display: flex; gap: .55rem; align-items: center; font-family: var(--serif); font-style: italic; font-size: .82rem; letter-spacing: .04em; }
  .step-dots .d { color: rgba(217,185,139,.32); transition: color .25s, text-shadow .25s; }
  .step-dots .d.active { color: var(--gold); text-shadow: 0 0 14px rgba(217,185,139,.5); }
  .step-dots .d.done { color: rgba(217,185,139,.75); }
  .step-dots .sep { color: rgba(217,185,139,.3); font-size: .62rem; }

  main.wrap { padding-top: clamp(2.25rem,6vh,3.5rem); padding-bottom: 4rem; }
  .step { animation: fadein .4s ease both; }
  @keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

  .eyebrow { font-size: .72rem; letter-spacing: .3em; color: var(--rose); margin: 0 0 .7rem; text-transform: uppercase; }
  h1.step-h, h2.step-h { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem,4.6vw,2.5rem); line-height: 1.28; margin: 0 0 .6rem; color: var(--paper); }
  .step-sub { color: var(--dusk); font-size: .96rem; margin: 0 0 2rem; max-width: 42rem; }

  .card { position: relative; background: var(--card); backdrop-filter: blur(14px); border: 1px solid rgba(217,185,139,.4); border-radius: 18px; padding: clamp(1.5rem,4vw,2.25rem); box-shadow: 0 30px 70px -30px rgba(0,0,0,.55), inset 0 0 0 1px rgba(217,185,139,.06); }

  /* ---------- tarot-style ornate inner frame (injected by JS into every .card) ---------- */
  .ornate-frame { position: absolute; inset: 9px; border: 1px solid rgba(217,185,139,.3); border-radius: 10px; pointer-events: none; }
  .ornate-frame .corner { position: absolute; width: 8px; height: 8px; background: var(--card-solid); border: 1px solid var(--gold); transform: rotate(45deg); }
  .ornate-frame .corner.tl { top: -5px; left: -5px; }
  .ornate-frame .corner.tr { top: -5px; right: -5px; }
  .ornate-frame .corner.bl { bottom: -5px; left: -5px; }
  .ornate-frame .corner.br { bottom: -5px; right: -5px; }

  /* ---------- form ---------- */
  .form-grid { display: grid; gap: 1.1rem; }
  .form-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
  .field { display: grid; gap: .4rem; }
  .field label { font-size: .85rem; color: var(--dusk); }
  .field input, .field select { font: inherit; color: var(--text); background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 12px; padding: .75rem .9rem; min-height: 2.9rem; width: 100%; }
  .field input::-webkit-calendar-picker-indicator { filter: invert(.85); }
  .field input:focus, .field select:focus { border-color: var(--rose); }
  .field.has-error input { border-color: #D98888; }
  .field-error { font-size: .8rem; color: #E5A3A3; margin: 0; display: none; }
  .field.has-error .field-error { display: block; }
  .notice { background: rgba(255,255,255,.03); border: 1px dashed var(--line); border-radius: 14px; padding: 1rem 1.15rem; color: var(--dusk); font-size: .85rem; margin: 1.4rem 0 1.5rem; }
  .actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: .5rem; }

  /* ---------- "how we calculate" accordion ---------- */
  .how-it-works { margin: 0 0 1.5rem; }
  .how-it-works summary { cursor: pointer; font-size: .88rem; color: var(--rose); list-style: none; display: flex; align-items: center; gap: .5rem; }
  .how-it-works summary::-webkit-details-marker { display: none; }
  .how-it-works summary::before { content: "✦"; font-size: .7rem; color: var(--gold); transition: transform .2s; }
  .how-it-works[open] summary::before { transform: rotate(90deg); }
  .how-it-works .how-body { margin-top: .9rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.02); color: var(--muted); font-size: .86rem; line-height: 1.7; }
  .how-it-works .how-body p { margin: 0 0 .7rem; }
  .how-it-works .how-body p:last-child { margin-bottom: 0; }

  /* ---------- star loader overlay ---------- */
  .star-loader { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; background: rgba(5,8,18,.82); backdrop-filter: blur(3px); transition: opacity .25s; }
  .star-loader .spin { font-size: 1.8rem; color: var(--gold); animation: loaderSpin 1.4s linear infinite; }
  .star-loader p { font-family: var(--serif); font-style: italic; color: var(--paper); font-size: 1rem; letter-spacing: .04em; margin: 0; }
  @keyframes loaderSpin { from { transform: rotate(0deg) scale(1); opacity: .6; } 50% { transform: rotate(180deg) scale(1.2); opacity: 1; } to { transform: rotate(360deg) scale(1); opacity: .6; } }

  /* ---------- today's sky — elevated daily card ---------- */
  .today-card { border-color: rgba(217,185,139,.5); background: linear-gradient(165deg, rgba(217,185,139,.1), transparent 65%); }
  .today-badge { display: inline-flex; align-items: center; gap: .4rem; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: .8rem; }
  .today-badge .dot { width: .4rem; height: .4rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 6px var(--gold); }
  .today-card p.body { color: var(--text); font-size: .96rem; margin: 0; line-height: 1.75; }

  /* ---------- rhythm stat heads (styled as small tarot cards) ---------- */
  .rhythm-heads { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.75rem; }
  .rhythm-stat { position: relative; text-align: center; padding: 1.1rem .75rem 1.25rem; border: 1px solid rgba(217,185,139,.35); border-radius: 12px; background: linear-gradient(180deg, rgba(217,185,139,.07), transparent 70%); }
  .rhythm-stat::before, .rhythm-stat::after { content: "✦"; position: absolute; font-size: .55rem; color: rgba(217,185,139,.5); left: 50%; transform: translateX(-50%); }
  .rhythm-stat::before { top: .5rem; }
  .rhythm-stat::after { bottom: .5rem; }
  .rhythm-stat .k { display: block; font-size: .68rem; letter-spacing: .14em; color: var(--dusk); text-transform: uppercase; margin-bottom: .5rem; }
  .rhythm-stat .num { font-family: var(--serif); font-size: 2.1rem; color: var(--gold); line-height: 1; }
  .rhythm-stat .num .arabic { display: block; font-family: var(--sans); font-size: .62rem; color: var(--dusk); letter-spacing: .1em; margin-top: .3rem; }
  .rhythm-stat .name { display: block; font-size: .88rem; color: var(--paper); margin-top: .6rem; font-style: italic; font-family: var(--serif); }

  .rhythm-chart-wrap { position: relative; }
  .rhythm-chart { width: 100%; height: auto; display: block; margin: .25rem 0 .5rem; overflow: visible; }
  .rhythm-chart .area { fill: color-mix(in srgb, var(--rose) 22%, transparent); stroke: none; opacity: 0; transition: opacity 1s ease .5s; }
  .rhythm-chart .area.in { opacity: 1; }
  .rhythm-chart .line { fill: none; stroke: var(--rose); stroke-width: 2; }
  .rhythm-chart .baseline { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 3; }

  /* month points: color by intensity tier */
  .rhythm-chart .dot { fill: var(--night-2); stroke: var(--rose); stroke-width: 1.6; opacity: 0; transform: scale(.3); transform-box: fill-box; transform-origin: center; animation: dotIn .45s ease forwards; }
  .rhythm-chart .dot.tier-high { stroke: var(--gold); }
  .rhythm-chart .dot.tier-mid { stroke: var(--rose); }
  .rhythm-chart .dot.tier-low { stroke: #9A8FC2; }
  .rhythm-chart .dot.current { stroke-width: 2.2; }
  .rhythm-chart .dot.current.tier-high { fill: var(--gold); }
  .rhythm-chart .dot.current.tier-mid { fill: var(--rose); }
  .rhythm-chart .dot.current.tier-low { fill: #9A8FC2; }
  @keyframes dotIn { to { opacity: 1; transform: scale(1); } }

  .rhythm-chart .dot-glow { fill: none; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: glowPulse 2.2s ease-out infinite; pointer-events: none; }
  .rhythm-chart .dot-glow.tier-high { stroke: var(--gold); }
  .rhythm-chart .dot-glow.tier-mid { stroke: var(--rose); }
  .rhythm-chart .dot-glow.tier-low { stroke: #9A8FC2; }
  @keyframes glowPulse { 0% { opacity: .55; transform: scale(1); } 75% { opacity: 0; transform: scale(2.6); } 100% { opacity: 0; transform: scale(2.6); } }

  .rhythm-chart .hit { fill: transparent; cursor: pointer; }
  .rhythm-chart .hit:focus-visible ~ .dot, .month-point:hover .dot { stroke-width: 2.4; }

  .rhythm-chart .axis-label { font-size: 10px; fill: var(--dusk); }
  .rhythm-chart.narrow .axis-label { font-size: 10.5px; }
  .rhythm-chart.narrow .line { stroke-width: 2.4; }
  .rhythm-chart .axis-label.current { fill: var(--gold); font-weight: 600; }
  .rhythm-note { font-size: .8rem; color: var(--dusk); margin: .6rem 0 0; }

  /* chart tooltip */
  .chart-tooltip { position: absolute; z-index: 5; pointer-events: none; background: var(--card-solid); border: 1px solid rgba(217,185,139,.5); border-radius: 10px; padding: .55rem .8rem; font-size: .8rem; color: var(--paper); white-space: nowrap; box-shadow: 0 14px 30px -12px rgba(0,0,0,.6); transform: translate(-50%, -115%); transition: opacity .15s ease; }
  .chart-tooltip .t-month { font-family: var(--serif); font-style: italic; color: var(--gold); margin-right: .4rem; }
  .chart-tooltip .t-name { color: var(--dusk); }
  @media (prefers-reduced-motion: reduce) { .rhythm-chart .dot, .rhythm-chart .dot-glow, .rhythm-chart .area { animation: none !important; opacity: 1 !important; transform: none !important; transition: none !important; } }

  .theme-texts p { color: var(--muted); font-size: .92rem; margin: 0 0 .5rem; }
  .theme-texts p:last-child { margin-bottom: 0; }

  /* ---------- prediction (step 3) ---------- */
  .facts-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.5rem; }
  .fact-chip { font-size: .8rem; color: var(--rose); background: rgba(226,196,182,.08); border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem; }

  /* ---------- luck card (step 3) ---------- */
  .luck-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
  .luck-item { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; }
  .luck-k { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dusk); }
  .luck-v { font-size: .95rem; color: var(--paper); font-weight: 500; }
  .luck-swatch { width: 1.4rem; height: 1.4rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); }
  @media (max-width: 560px) { .luck-grid { grid-template-columns: 1fr 1fr; } }

  /* ---------- sponsor placeholder card (step 3) ---------- */
  .sponsor-card { position: relative; }
  .sponsor-badge { display: inline-block; font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; color: var(--dusk); border: 1px solid rgba(183,175,196,.35); border-radius: 999px; padding: .3rem .7rem; margin-bottom: 1rem; }
  .sponsor-body { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
  .sponsor-icon { flex: 0 0 auto; width: 3rem; height: 3rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--gold); background: rgba(217,185,139,.12); border: 1px solid rgba(217,185,139,.35); }
  .sponsor-copy { flex: 1 1 14rem; min-width: 0; }
  .sponsor-title { font-family: var(--serif); font-style: italic; font-size: 1.02rem; color: var(--paper); margin: 0 0 .3rem; }
  .sponsor-text { font-size: .88rem; color: var(--muted); margin: 0; line-height: 1.55; }
  .sponsor-cta { flex: 0 0 auto; font-size: .82rem; padding: .55rem 1.1rem; white-space: nowrap; }
  @media (max-width: 560px) { .sponsor-body { flex-direction: column; align-items: flex-start; } .sponsor-cta { width: 100%; } }
  .reading h3 { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 1.2rem; color: var(--paper); margin: 0 0 .5rem; }
  .reading p { color: var(--text); font-size: 1rem; margin: 0 0 1.1rem; }
  .reading p:last-child { margin-bottom: 0; }
  .reading .cap { display: flex; align-items: center; gap: .6rem; font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); margin: 1.8rem 0 .7rem; }
  .reading .cap:first-child { margin-top: 0; }
  .reading .cap::before, .reading .cap::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(217,185,139,.4)); }
  .reading .cap::after { background: linear-gradient(90deg, rgba(217,185,139,.4), transparent); }
  .reading .cap-icon { flex: 0 0 auto; font-size: .85rem; letter-spacing: 0; color: var(--rose); }
  .reading .cap-label { min-width: 0; }

  footer.site-foot { padding: 2rem clamp(1.1rem, 4vw, 2rem) 3rem; text-align: center; border-top: 1px solid var(--line); }
  footer.site-foot p { max-width: 42rem; margin: 0 auto; color: var(--dusk); font-size: .78rem; }

  @media (max-width: 560px) {
    .form-grid2, .rhythm-heads { grid-template-columns: 1fr; }
  }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* ---------- cookie consent bar ---------- */
.consent-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 1rem; align-items: center; justify-content: flex-start; flex-wrap: wrap; padding: .9rem 12.5rem calc(.9rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left)); background: var(--card-solid); border-top: 1px solid rgba(217,185,139,.4); box-shadow: 0 -12px 30px -12px rgba(0,0,0,.6); }
.consent-bar p { margin: 0; flex: 1 1 18rem; font-size: .85rem; line-height: 1.6; color: var(--paper); }
.consent-actions { display: flex; gap: .6rem; }
.consent-actions .pill { font-size: .85rem; padding: .55rem 1.1rem; min-height: 2.75rem; }
.consent-link { display: block; margin: .6rem auto 0; background: none; border: 0; color: var(--dusk); font: inherit; font-size: .8rem; text-decoration: underline; cursor: pointer; padding: .5rem; }

/* ---------- legal pages ---------- */
.legal { padding-top: 2.5rem; padding-bottom: 2rem; }
.legal .card h2 { font-family: var(--serif); font-size: 1.15rem; color: var(--gold); margin: 1.6rem 0 .5rem; font-weight: 500; }
.legal .card h2:first-child { margin-top: 0; }
.legal .card p { font-size: .95rem; color: var(--text); margin: 0 0 .5rem; }
.legal a { color: var(--rose); }
.foot-links { margin-top: .6rem; font-size: .8rem; }
.foot-links a { color: var(--dusk); }

/* keep the buttons clear of the Netlify badge fixed at the bottom-right */
@media (max-width: 640px) {
  .consent-bar { padding-right: 1rem; padding-bottom: calc(3.6rem + env(safe-area-inset-bottom)); }
  .consent-actions { max-width: calc(100% - 11rem); }
}

/* Thai wordmark: no letter-spacing (it breaks Thai vowels/tone marks) */
.brand-word { font-family: var(--sans); font-weight: 600; letter-spacing: .02em; text-transform: none; font-size: 1.15rem; }

/* ---------- share modal ---------- */
.share-modal { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(4,7,16,.82); overflow-y: auto; }
.share-modal[hidden] { display: none; }
.share-sheet { position: relative; width: 100%; max-width: 26rem; max-height: 100%; overflow-y: auto; background: var(--card-solid); border: 1px solid rgba(217,185,139,.4); border-radius: 18px; padding: 1.4rem 1.2rem 1.2rem; text-align: center; }
.share-sheet h3 { margin: 0 0 .8rem; font-family: var(--serif); font-weight: 500; font-size: 1.15rem; color: var(--gold); }
.share-close { position: absolute; top: .4rem; right: .4rem; width: 2.75rem; height: 2.75rem; background: none; border: 0; color: var(--dusk); font-size: 1.1rem; cursor: pointer; }
.share-img { display: block; width: 100%; max-width: 10.5rem; height: auto; margin: 0 auto .7rem; border-radius: 10px; border: 1px solid rgba(217,185,139,.3); -webkit-touch-callout: default; user-select: none; }
.share-hint, .share-note { margin: 0 0 .8rem; font-size: .8rem; color: var(--dusk); line-height: 1.6; }
.share-note { margin: .9rem 0 0; }
.share-actions { display: flex; flex-direction: column; gap: .6rem; }
.share-actions .pill { width: 100%; font-size: .9rem; min-height: 2.9rem; }
.share-actions [hidden] { display: none !important; }

/* ---------- content pages: articles + basic pages (built by tools/build_pages.py) ---------- */
.site-nav { display: flex; align-items: center; gap: 1.1rem; font-size: .9rem; }
.site-nav a { color: var(--dusk); text-decoration: none; }
.site-nav a:hover { color: var(--paper); }
.site-nav .nav-cta { color: #1B1830; background: var(--rose); border-radius: 999px; padding: .45rem 1rem; font-weight: 500; }
.site-nav .nav-cta:hover { color: #1B1830; filter: brightness(1.06); }
main.wrap.article { padding-top: 1.8rem; }
.crumbs { font-size: .8rem; color: var(--dusk); margin: 0 0 1.4rem; }
.crumbs a { color: var(--dusk); }
.crumbs .sep { opacity: .6; margin: 0 .25rem; }
.updated { font-size: .8rem; color: var(--dusk); margin: -1.2rem 0 1.6rem; }
.prose { font-size: 1rem; line-height: 1.85; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.2rem, 3.4vw, 1.45rem); color: var(--gold); margin: 2.2rem 0 .6rem; line-height: 1.4; }
.prose h3 { font-size: 1.05rem; font-weight: 600; color: var(--paper); margin: 1.6rem 0 .4rem; }
.prose p, .prose li { color: var(--text); }
.prose p { margin: 0 0 1rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1rem; }
.prose li { margin: .25rem 0; }
.prose a { color: var(--rose); }
.prose strong { color: var(--paper); font-weight: 600; }
.prose .table-wrap { overflow-x: auto; margin: 1rem 0 1.4rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 30rem; }
.prose th, .prose td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--gold); font-weight: 500; font-size: .85rem; letter-spacing: .02em; }
.prose .swatch { display: inline-block; width: .85rem; height: .85rem; border-radius: 50%; margin-right: .45rem; vertical-align: -.1rem; border: 1px solid rgba(255,255,255,.25); }
.prose .note { background: rgba(255,255,255,.03); border: 1px dashed var(--line); border-radius: 12px; padding: .9rem 1.1rem; color: var(--dusk); font-size: .88rem; }
.cta-box { margin: 2rem 0 0; padding: 1.5rem; border-radius: 18px; text-align: center; background: linear-gradient(135deg, rgba(226,196,182,.12), rgba(217,185,139,.05)); border: 1px solid rgba(217,185,139,.35); }
.cta-box .cta-title { font-family: var(--serif); font-size: 1.25rem; color: var(--paper); margin: 0 0 .3rem; }
.cta-box p { color: var(--dusk); margin: 0 0 1rem; font-size: .92rem; }
.related { margin: 2.2rem 0 0; }
.related h2, .article-group h2 { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; color: var(--gold); margin: 0 0 .7rem; }
.related ul { margin: 0; padding-left: 1.2rem; }
.related li { margin: .35rem 0; }
.related a { color: var(--rose); }
.article-group { margin: 0 0 2rem; }
.article-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.article-list a { display: block; padding: 1rem 1.15rem; border-radius: 14px; background: var(--card); border: 1px solid rgba(217,185,139,.28); text-decoration: none; transition: border-color .2s; }
.article-list a:hover { border-color: rgba(217,185,139,.7); }
.article-list .t { display: block; color: var(--paper); font-weight: 600; margin-bottom: .2rem; }
.article-list .d { display: block; color: var(--dusk); font-size: .85rem; line-height: 1.6; }
.home-reads { margin: 2.5rem 0 0; }
.home-reads h2 { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; color: var(--gold); margin: 0 0 .8rem; }
.home-reads .more { display: inline-block; margin-top: .8rem; color: var(--rose); font-size: .9rem; }
.site-foot .foot-links { line-height: 2; }
@media (max-width: 480px) { .site-nav { gap: .7rem; font-size: .85rem; } .site-nav .nav-cta { padding: .4rem .8rem; } .brand { font-size: 1.05rem; letter-spacing: .12em; } }

/* ---------- spacing consistency ---------- */
.step .card + .card { margin-top: 1.25rem; }
.step > .card + .actions, .step > .actions { margin-top: 1.75rem; }
.luck-color { display: inline-flex; align-items: center; gap: .5rem; }
.home-reads { margin-top: 3rem; }
.cta-box { margin-top: 2.5rem; }
.related { margin-top: 2.5rem; }
@media (max-width: 560px) {
  .actions .pill:not(.text) { flex: 1 1 100%; }
  .step > .actions .pill.text { order: 3; margin: 0 auto; }
  .article-list a { padding: .9rem 1rem; }
}
.nowrap { white-space: nowrap; }
.prose table.kv { min-width: 0; } .prose table.kv th { width: 40%; font-size: .9rem; }
