/* The public site pages (engine/site/): the look the founders approved 2026-10-06 (a calm stone page, arched windows
   onto a dusk sky, Newsreader headings and Figtree text). Mobile first; no scripts, so everything here works without JS.
   A brand's own tokens and fonts come from its theme's site stylesheet (brand theme.site.css, linked after this file);
   the defaults below are in :where(), so any brand value wins. Nothing here styles the quizzes, paywalls or account. */

:where(:root) {
  --stone: #f1eee9;
  --stone-2: #e8e3dc;
  --paper: #fbfaf7;
  --ink: #1f1c2e;
  --muted: #5d586c;
  --line: #dcd6ce;
  --accent: #3b3170;
  --accent-hover: #2f2760;
  --night: #221e38;
  --night-ink: #ece8f4;
  --night-muted: #b7b1cc;
  --peach: #ecc6a6;
  --good: #356a4f;
  --serif: Georgia, "Iowan Old Style", serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --glyph: "Segoe UI Symbol", "Apple Symbols", sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--stone); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: -.015em; text-wrap: balance; }
@media (max-width: 599px) { :lang(de) h1, :lang(de) h2, :lang(de) h3, :lang(de) .lead, :lang(de) .rcard p { hyphens: auto; } }
p { margin: 0; }
svg { flex: none; }
.wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { font: 600 .8125rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 36rem; }
.g { font-family: var(--glyph); font-variant-emoji: text; font-style: normal; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Buttons. A button whose quiz isn't open says "Coming soon" in the same place and links nowhere (.soon). */
.btn, .button { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .95rem 1.6rem; border-radius: 999px; font: 600 1.0625rem/1.1 var(--sans); text-decoration: none; text-align: center; border: 0; cursor: pointer; transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.btn-primary, .button { background: var(--accent); color: #fff; }
.btn-primary:hover, .button:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f1eef8; transform: translateY(-1px); }
.btn-glass { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.btn-glass:hover { box-shadow: inset 0 0 0 1px #fff; }
.btn.soon, .button.soon { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); cursor: default; transform: none; font-weight: 500; }
.btn-light.soon { color: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .06); }
.arrow { transition: transform .2s ease; }
a:hover .arrow { transform: translateX(3px); }

/* Header: wordmark, navigation, language, sign-in, the quiz button; a <details> menu on small screens. */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(241, 238, 233, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; padding-block: .5rem; }
.wordmark { font: 500 1.8rem/1 var(--serif); letter-spacing: -.01em; text-decoration: none; display: inline-flex; align-items: baseline; color: var(--ink); padding-block: .5rem; white-space: nowrap; }
.wordmark .i, .wordmark .star-end { position: relative; }
.wordmark .i svg { position: absolute; left: 50%; top: -.02em; width: .34em; height: .34em; transform: translateX(-50%); color: var(--accent); }
.wordmark .star-end svg { width: .34em; height: .34em; margin-left: .05em; color: var(--accent); }
.wordmark .wm { display: inline-flex; align-items: baseline; }
/* Text for screen readers only. */
.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.nav-links { display: none; gap: .5rem 1.5rem; font-size: 1rem; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--muted); padding: .75rem .1rem; }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: .5rem 1rem; }
.nav-right .account { display: none; font-weight: 500; color: var(--muted); text-decoration: none; padding: .75rem .1rem; }
.nav-right .account:hover { color: var(--ink); }
.nav-cta { display: none; min-height: 44px; padding: .7rem 1.2rem; font-size: 1rem; }
.menu, .lang { position: relative; }
.menu summary, .lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; min-width: 44px; justify-content: center; padding: 0 .55rem; border-radius: 999px; font: 600 1rem/1 var(--sans); color: var(--ink); }
.menu summary::-webkit-details-marker, .lang summary::-webkit-details-marker { display: none; }
.menu summary { box-shadow: inset 0 0 0 1px var(--line); padding: 0 1rem; }
.menu[open] summary, .lang[open] summary { background: var(--paper); }
.lang summary { color: var(--muted); font-weight: 600; font-size: .875rem; letter-spacing: .04em; }
.lang summary svg { width: 18px; height: 18px; }
.menu-panel, .lang-panel { position: absolute; right: 0; top: calc(100% + .5rem); z-index: 30; background: var(--paper); border-radius: 18px; padding: .5rem; display: grid; min-width: 14rem; margin: 0; list-style: none; box-shadow: 0 24px 50px -24px rgba(31, 28, 46, .35), inset 0 0 0 1px var(--line); }
.menu-panel a, .lang-panel a { display: flex; align-items: center; min-height: 44px; padding: .5rem 1rem; text-decoration: none; border-radius: 12px; color: var(--ink); }
.menu-panel a:hover, .lang-panel a:hover { background: var(--stone); }
.lang-panel a[aria-current="true"] { font-weight: 600; color: var(--accent); }
.lang-foot .lang-panel { top: auto; bottom: calc(100% + .5rem); left: 0; right: auto; }
.lang-foot summary { box-shadow: inset 0 0 0 1px var(--line); padding: 0 .9rem; }
@media (min-width: 460px) { .nav-cta { display: inline-flex; } }
@media (min-width: 1160px) {
  .nav-links, .nav-right .account { display: flex; }
  .menu { display: none; }
}

/* Footer. */
.site-footer { color: var(--muted); font-size: .96875rem; }
.site-footer .wrap { padding-block: clamp(2.5rem, 6vw, 4.5rem) 2.5rem; display: grid; gap: 2rem; }
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; }
.foot-brand { grid-column: 1 / -1; display: grid; gap: .9rem; align-content: start; justify-items: start; }
.foot-brand p { max-width: 21rem; }
.foot-h { margin: 0 0 .25rem; font: 600 .9375rem/1.3 var(--sans); color: var(--ink); letter-spacing: 0; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; }
.foot-cols li > a, .foot-cols li > span { display: inline-flex; align-items: center; min-height: 44px; padding-block: .3rem; line-height: 1.35; }
.foot-cols a { text-decoration: none; overflow-wrap: anywhere; hyphens: auto; }
.foot-cols a:hover { color: var(--ink); text-decoration: underline; }
.foot-cols li > span { color: var(--muted); }
.foot-legal { border-top: 1px solid var(--line); padding-top: 1.5rem; display: grid; gap: .5rem; font-size: .875rem; }
.foot-legal a { color: inherit; }
@media (min-width: 900px) {
  .foot-cols { grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); }
  .foot-brand { grid-column: auto; }
  .foot-legal { display: flex; justify-content: space-between; gap: .75rem 2rem; flex-wrap: wrap; }
}

/* The stars: an SVG of circles; each twinkles on one of six timings, and stands still for reduced motion. */
.stars { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }
.stars circle { fill: #fff; opacity: .6; animation: twinkle 4s ease-in-out infinite alternate; }
.stars .tw1 { animation-duration: 3.2s; animation-delay: -1.1s; }
.stars .tw2 { animation-duration: 4.1s; animation-delay: -2.7s; }
.stars .tw3 { animation-duration: 5.3s; animation-delay: -.4s; }
.stars .tw4 { animation-duration: 6.2s; animation-delay: -3.9s; }
.stars .tw5 { animation-duration: 3.7s; animation-delay: -5.2s; }
.stars .tw6 { animation-duration: 6.8s; animation-delay: -1.8s; }
@keyframes twinkle { from { opacity: .15; } to { opacity: .85; } }

/* The Moon, drawn on the server (products/astro/site/moon-svg.ts). */
.moon-svg { display: block; width: 100%; height: auto; aspect-ratio: 1; overflow: visible; }
.moon-grain { mix-blend-mode: multiply; }

/* ---------- The home page ---------- */
main.home { display: block; }
.home section.block { padding-block: clamp(4.5rem, 9vw, 8rem); }
.home section.block.tight { padding-top: 0; }
.home .section-head { display: grid; gap: 1rem; max-width: 46rem; margin-bottom: clamp(2.25rem, 5vw, 4rem); }
.home .section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.home .section-head.flush { margin-bottom: 0; }
.home h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.05; }
.home h3 { font-size: 1.5rem; line-height: 1.2; }

/* Hero: an arched window onto tonight's sky. */
.hero { padding-block: .75rem clamp(3rem, 7vw, 5.5rem); }
.arch { position: relative; overflow: hidden; isolation: isolate; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; gap: 2.25rem;
  --arch-r: clamp(150px, 42vw, 340px); padding: calc(var(--arch-r) * .42) clamp(1.25rem, 4.5vw, 4rem) clamp(1.5rem, 4.5vw, 4rem);
  border-radius: 50% 50% 28px 28px / var(--arch-r) var(--arch-r) 28px 28px;
  background: radial-gradient(ellipse 80% 30% at 50% 30%, rgba(236, 198, 166, .45), rgba(236, 198, 166, 0) 70%), linear-gradient(180deg, #15122b 0%, #221d47 40%, #3a3170 80%, #4a3d7e 100%); }
.arch > .stars { height: 65%; }
.hills { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 18%; z-index: -1; }
.moon-wrap { display: grid; justify-items: center; gap: 1rem; width: min(100%, 22rem); margin-inline: auto; }
.moon { width: min(52vw, 210px); aspect-ratio: 1; animation: rise 1.6s cubic-bezier(.2, .7, .2, 1) both; filter: drop-shadow(0 0 28px rgba(236, 232, 244, .14)); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.moon-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .85rem; border-radius: 999px; font-size: .875rem; font-weight: 500; line-height: 1.25; color: #fff; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.chip .g { font-size: 1rem; }
.moon-facts .extra { display: none; }
.moon-label { font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .72); text-align: center; }
.arch-content { display: grid; gap: 1.4rem; max-width: 38rem; }
.arch-content .eyebrow { color: var(--peach); }
.arch h1 { font-size: clamp(2.9rem, 7.2vw, 6.6rem); line-height: 1.02; letter-spacing: -.025em; }
.arch h1 em { font-style: italic; font-weight: 400; color: var(--peach); }
.arch .lead { color: rgba(255, 255, 255, .82); }
.ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.reassure { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; list-style: none; margin: 0; padding: 0; font-size: .9375rem; color: rgba(255, 255, 255, .78); }
.reassure li { display: inline-flex; align-items: center; gap: .45rem; }
.reassure svg { width: 16px; height: 16px; color: var(--peach); }
.soon-note { font-size: .9375rem; color: rgba(255, 255, 255, .8); max-width: 32rem; }
@media (min-width: 560px) { .moon-facts .extra { display: inline-flex; } .chip { white-space: nowrap; } }
@media (min-width: 900px) {
  .arch { display: grid; align-items: end; justify-content: stretch; min-height: clamp(600px, 62vw, 780px); padding: clamp(1.5rem, 4.5vw, 4rem); --arch-r: clamp(170px, 26vw, 340px);
    background: radial-gradient(ellipse 55% 48% at 76% 100%, rgba(236, 198, 166, .78), rgba(236, 198, 166, 0) 70%), linear-gradient(180deg, #15122b 0%, #221d47 38%, #3a3170 78%, #4a3d7e 100%); }
  .arch > .stars { height: 65%; }
  .hills { height: 28%; }
  .moon-wrap { position: absolute; top: 24%; right: 6.5%; width: clamp(260px, 29%, 340px); margin: 0; gap: 1.1rem; }
  .moon { width: 78%; }
  .arch-content { max-width: min(37rem, 56%); }
}
@media (min-width: 1200px) { .moon-wrap { top: 20%; gap: 1.25rem; } .moon { width: 84%; } }

/* The four differentiators. */
.promises { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; padding: 2.5rem 0 0; margin: 0; border-top: 1px solid var(--line); list-style: none; }
.promise { display: grid; gap: .45rem; align-content: start; min-width: 0; }
.promise svg { width: 26px; height: 26px; color: var(--accent); margin-bottom: .35rem; }
.promise strong { font: 500 1.3rem/1.25 var(--serif); }
.promise span { color: var(--muted); font-size: 1rem; line-height: 1.55; }
@media (min-width: 560px) { .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; } }
@media (min-width: 1000px) { .promises { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Inside the product: three phone screens, side by side, scrolled sideways on a phone. */
.phones-scroll { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 1rem var(--gutter) 2rem; }
.phones-scroll::-webkit-scrollbar { display: none; }
.phones { display: flex; justify-content: center; align-items: flex-end; gap: clamp(1.25rem, 3vw, 2.75rem); width: max-content; min-width: 100%; }
.phone-col { display: grid; gap: 1.1rem; justify-items: center; scroll-snap-align: center; margin: 0; }
.phone-col:nth-child(2) { margin-bottom: 2.75rem; }
.phone-col figcaption { font-size: .9375rem; color: var(--muted); text-align: center; max-width: 16rem; }
.phone-col figcaption strong { display: block; color: var(--ink); font: 500 1.2rem/1.3 var(--serif); }
.phone { width: 268px; height: 560px; border-radius: 46px; background: #17141f; padding: 9px; box-shadow: 0 50px 80px -46px rgba(31, 28, 46, .55), 0 0 0 1px rgba(31, 28, 46, .08); }
.screen { position: relative; height: 100%; border-radius: 38px; background: var(--paper); overflow: hidden; padding: 50px 18px 18px; display: flex; flex-direction: column; gap: 12px; font-size: 13px; line-height: 1.5; color: var(--ink); }
.screen::before { content: ""; position: absolute; top: 11px; left: 50%; width: 86px; height: 25px; border-radius: 20px; background: #17141f; transform: translateX(-50%); }
.scr-label { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.scr-title { font: 500 22px/1.15 var(--serif); }
.scr-text { color: var(--muted); font-size: 12.5px; }
.scr-card { background: var(--stone); border-radius: 18px; padding: 12px 14px; display: grid; gap: 3px; }
.scr-card b { font-weight: 600; font-size: 13px; }
.scr-card span { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.palm-art { background: linear-gradient(180deg, #2a2457, #5a4a88); border-radius: 22px; height: 150px; display: grid; place-items: center; flex: none; }
.palm-art svg { height: 128px; }
.today-art { border-radius: 22px; height: 120px; flex: none; overflow: hidden; background: linear-gradient(180deg, #221d47, #4a3d7e); display: grid; place-items: center; }
.today-art .moon-svg { width: 76px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.tag { font-size: 11.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--stone); }
.chat { display: flex; flex-direction: column; gap: 8px; flex: 1; justify-content: flex-end; }
.bubble { max-width: 84%; padding: 9px 12px; border-radius: 18px; font-size: 12.5px; line-height: 1.45; }
.bubble.me { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
.bubble.them { align-self: flex-start; background: var(--stone); border-bottom-left-radius: 6px; }
.composer { display: flex; align-items: center; justify-content: space-between; border-radius: 999px; padding: 9px 9px 9px 14px; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font-size: 12.5px; }
.composer span:last-child { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: #fff; font-size: 13px; }
.sample-note { text-align: center; font-size: .875rem; color: var(--muted); }
.ask { max-width: 52rem; margin: clamp(2rem, 4vw, 3rem) auto 0; text-align: center; display: grid; gap: 1rem; justify-items: center; }
.ask h3 { font: 600 1rem/1.3 var(--sans); color: var(--muted); letter-spacing: 0; }
.ask ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.ask li { padding: .65rem 1.15rem; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 1rem; }

/* The readings: arched cards, each its own colour of dusk. */
.readings { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.75rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem); list-style: none; margin: 0; padding: 0; }
.rcard { display: grid; gap: .65rem; text-decoration: none; align-content: start; min-width: 0; height: 100%; color: var(--ink); }
.reading-arch { position: relative; aspect-ratio: 5 / 3.4; border-radius: 160px 160px 22px 22px; overflow: hidden; display: grid; place-items: center; margin-bottom: .5rem; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
a.rcard:hover .reading-arch { transform: translateY(-4px); }
.reading-arch svg { width: 34%; max-width: 150px; height: auto; color: #fff; opacity: .92; }
.reading-arch::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 120%, rgba(255, 255, 255, .22), transparent 60%); }
.tone-dusk { background: linear-gradient(180deg, #221d47, #6b5490 70%, #c99a9e); }
.tone-blue { background: linear-gradient(180deg, #1c2342, #475b88 70%, #9fb2cf); }
.tone-rose { background: linear-gradient(180deg, #2e1d3f, #7a4f78 70%, #d9a29c); }
.tone-teal { background: linear-gradient(180deg, #14262f, #3d6670 70%, #94b9b1); }
.tone-ink { background: linear-gradient(180deg, #191827, #4b4468 70%, #a593b8); }
.tone-dawn { background: linear-gradient(180deg, #221d47, #6a5590 60%, #e9bf9c); }
.rcard h3 { font-size: 1.6rem; }
.rcard p { color: var(--muted); font-size: 1.03125rem; }
.rcard .go { font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: .45rem; min-height: 32px; }
.rcard.soon .go { color: var(--muted); font-weight: 500; }
.rcard.soon .reading-arch { filter: saturate(.85); }
@media (min-width: 600px) { .readings { grid-template-columns: repeat(2, minmax(0, 1fr)); } .reading-arch { aspect-ratio: 4 / 4.4; border-radius: 999px 999px 22px 22px; } .reading-arch svg { width: 44%; } }
@media (min-width: 1000px) { .readings { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* The real sky and the real hand. */
.science-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem 4rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem); }
.science-head .section-head { margin-bottom: 0; }
.facts-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 clamp(1.5rem, 3vw, 3rem); list-style: none; margin: 0; padding: 0; }
.fact { border-top: 1px solid var(--line); padding-block: 1.6rem 1.9rem; display: grid; gap: .6rem; align-content: start; min-width: 0; }
.fact .num { font: 400 clamp(2.4rem, 4.4vw, 3.5rem)/1.05 var(--serif); letter-spacing: -.02em; font-variant-numeric: lining-nums; color: var(--ink); }
.fact .num small { font-size: .42em; letter-spacing: 0; margin-left: .2em; color: var(--muted); }
.fact p { color: var(--muted); font-size: 1rem; line-height: 1.6; }
.fact .tagline { display: flex; align-items: center; gap: .5rem; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fact .tagline.live { color: var(--good); }
.fact .tagline.live::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.fact cite { font-style: normal; font-size: .8125rem; color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.split > div { border-radius: 26px; padding: clamp(1.5rem, 3vw, 2.25rem); display: grid; gap: .7rem; align-content: start; }
.split .measured { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.split .tradition { background: var(--night); color: var(--night-ink); }
.split .tradition p { color: var(--night-muted); }
.split p { color: var(--muted); }
.split h3 { font-size: 1.55rem; }
.pill { justify-self: start; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .4rem .75rem; border-radius: 999px; background: var(--stone); color: var(--accent); }
.tradition .pill { background: rgba(255, 255, 255, .1); color: var(--peach); }
@media (min-width: 600px) { .facts-grid, .split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .facts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .science-head { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }

/* The Sun signs: chips to each sign's page and today's sign on an arched card. */
.finder { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.finder-left { display: grid; gap: 1.5rem; min-width: 0; }
.sign-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; list-style: none; margin: 0; padding: 0; }
.sign-chip { display: grid; justify-items: center; gap: .1rem; min-height: 64px; padding: .7rem .25rem .6rem; border-radius: 16px; background: transparent; box-shadow: inset 0 0 0 1px var(--line); font: 500 .9375rem/1.2 var(--sans); color: var(--ink); text-decoration: none; transition: background .2s ease; min-width: 0; text-align: center; }
.sign-chip .g { font-size: 1.4rem; color: var(--accent); line-height: 1.25; }
.sign-chip:hover { background: var(--paper); }
.sign-chip[aria-current="true"] { background: var(--accent); color: #fff; box-shadow: none; }
.sign-chip[aria-current="true"] .g { color: #fff; }
.finder-note { font-size: .9375rem; color: var(--muted); }
.free-links { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.free-links a { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font-weight: 500; font-size: .9375rem; }
.free-links a:hover { box-shadow: inset 0 0 0 1px var(--muted); }
.sign-card { position: relative; overflow: hidden; isolation: isolate; color: #fff; border-radius: 999px 999px 28px 28px; padding: clamp(4.5rem, 9vw, 7rem) clamp(1.25rem, 4vw, 3rem) clamp(1.75rem, 4vw, 2.75rem); display: grid; gap: 1.2rem; justify-items: center; text-align: center; min-width: 0;
  background: linear-gradient(180deg, #1b1738 0%, #2f2861 60%, #4a3d7e 100%); }
.sign-glyph { font-size: clamp(3.4rem, 7vw, 4.6rem); line-height: 1; color: var(--peach); }
.sign-card .sign-name { font: 500 clamp(2.6rem, 5vw, 3.6rem)/1 var(--serif); letter-spacing: -.02em; }
.sign-dates { color: rgba(255, 255, 255, .72); margin-top: -.5rem; }
.sign-line { font: italic 400 clamp(1.2rem, 2vw, 1.4rem)/1.45 var(--serif); max-width: 26rem; color: rgba(255, 255, 255, .92); }
.sign-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin: 0; width: 100%; }
.sign-facts div { background: rgba(255, 255, 255, .08); border-radius: 14px; padding: .7rem .5rem; min-width: 0; }
.sign-facts dt { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.sign-facts dd { margin: .15rem 0 0; font-weight: 600; font-size: .96875rem; }
.sign-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.25rem; align-items: center; }
.sign-actions .text-link { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-weight: 600; text-underline-offset: 4px; }
@media (min-width: 420px) { .sign-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 560px) { .sign-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 900px) { .finder { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* How it works. */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: .7rem; align-content: start; padding-top: 1.25rem; border-top: 1px solid var(--line); min-width: 0; }
.steps li::before { content: counter(step); font: 400 3.4rem/1 var(--serif); color: var(--accent); }
.steps h3 { font-size: 1.4rem; }
.steps p { color: var(--muted); font-size: 1.03125rem; }
@media (min-width: 600px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* The membership: the one night band. */
.night { background: var(--night); color: var(--night-ink); }
.night .eyebrow { color: var(--peach); }
.night .lead { color: var(--night-muted); }
.includes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.includes li { display: grid; gap: .5rem; align-content: start; padding-top: 1.4rem; border-top: 1px solid rgba(236, 232, 244, .18); min-width: 0; }
.inc-ic { font-size: 1.6rem; line-height: 1; color: var(--peach); margin-bottom: .4rem; }
.includes strong { font: 500 1.35rem/1.25 var(--serif); }
.includes span:last-child { color: var(--night-muted); font-size: 1rem; line-height: 1.55; }
.member-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.member-cta p { color: var(--night-muted); font-size: .9375rem; max-width: 30rem; }
.member-cta a:not(.btn) { color: var(--night-ink); }
@media (min-width: 600px) { .includes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .includes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* The questions. */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: start; }
.faq-side { display: grid; gap: 1rem; }
.faq-side p { color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; min-height: 44px; padding: 1.2rem 0; font: 500 1.3rem/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 1.9rem; height: 1.9rem; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%233b3170' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center; transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 0 1.5rem; color: var(--muted); display: grid; gap: .8rem; }
@media (min-width: 900px) { .faq-wrap { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } .faq-side { position: sticky; top: 6rem; } .faq .ans { padding-right: 2.5rem; } }

/* The closing arch. */
.closing { position: relative; overflow: hidden; isolation: isolate; color: #fff; text-align: center; display: grid; justify-items: center; gap: 1.4rem; margin-bottom: clamp(1rem, 3vw, 2rem);
  --arch-r: clamp(150px, 40vw, 340px); padding: clamp(5rem, 12vw, 9rem) clamp(1.25rem, 5vw, 4rem) clamp(3rem, 7vw, 5rem);
  border-radius: 50% 50% 28px 28px / var(--arch-r) var(--arch-r) 28px 28px;
  background: radial-gradient(ellipse 60% 55% at 50% 105%, rgba(236, 198, 166, .7), rgba(236, 198, 166, 0) 70%), linear-gradient(180deg, #15122b 0%, #2a2457 55%, #3a3170 100%); }
.closing h2 { font-size: clamp(2.3rem, 5.6vw, 4.6rem); line-height: 1.04; max-width: 16ch; }
.closing h2 em { font-weight: 400; color: var(--peach); }
.closing p { color: rgba(255, 255, 255, .8); }

/* ---------- Every other page: one column of reading, the same type and tones ---------- */
main.site:not(.home) { max-width: 780px; margin: 0 auto; padding: clamp(1.5rem, 5vw, 3rem) var(--gutter) clamp(2rem, 5vw, 3rem); }
main.site:not(.home) + .site-footer .wrap { border-top: 1px solid var(--line); }
main.site:not(.home) h1 { font-size: clamp(2.3rem, 6vw, 3.4rem); line-height: 1.08; margin: .5rem 0 1rem; }
main.site:not(.home) h2 { font-size: clamp(1.55rem, 3.5vw, 2rem); line-height: 1.2; margin: 2.5rem 0 .9rem; }
main.site:not(.home) h3 { font-size: 1.3rem; margin: 1.5rem 0 .5rem; }
main.site:not(.home) p, main.site:not(.home) ul, main.site:not(.home) ol { margin: 0 0 1rem; }
main.site:not(.home) li { margin: .25rem 0; }
main.site:not(.home) section { margin-top: 3rem; }
main.site:not(.home) a:not(.btn):not(.button) { color: var(--accent); }
main.site:not(.home) .lead { margin-bottom: 1.5rem; }
.note, .crumb { font-size: .875rem; color: var(--muted); }
.crumb { margin: 0 0 .25rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .8125rem; }
main.site:not(.home) .crumb a { color: var(--accent); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.note { margin-top: 1.5rem; }

.tiles, .cards, .sign-grid, .articles, .prices, .phase-list, .pairs { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .75rem; }
.tiles, .cards { grid-template-columns: minmax(0, 1fr); }
.sign-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
main.site .tiles a, main.site .cards a, main.site .sign-grid a, .tiles .soon, .cards .soon { display: block; height: 100%; padding: 1rem 1.1rem; border-radius: 18px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; transition: box-shadow .2s ease, transform .2s ease; }
.tiles a:hover, .cards a:hover, .sign-grid a:hover { box-shadow: inset 0 0 0 1px var(--accent); transform: translateY(-1px); }
.tiles strong, .cards strong, .sign-grid strong { display: block; margin-bottom: .2rem; font: 500 1.2rem/1.25 var(--serif); }
.tiles span, .cards span, .sign-grid span { color: var(--muted); font-size: .9375rem; }
.cards .dates { display: block; font-size: .8125rem; margin-bottom: .3rem; }
.articles { gap: 0; }
.articles a { display: flex; align-items: center; min-height: 52px; padding: .75rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; }
.prices li, .phase-list li, .pairs li { padding: .85rem 1.1rem; border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); margin: 0; }
.two { display: grid; gap: .5rem 1.5rem; }
.refund, .basis, .status { padding: .9rem 1.1rem; border-left: 3px solid var(--accent); background: var(--paper); border-radius: 0 14px 14px 0; }
.basis, .moon-line { font-size: .9375rem; color: var(--muted); }
.facts { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; }
.facts th, .facts td { text-align: left; padding: .75rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { width: 40%; color: var(--muted); font-weight: 500; }
.facts td a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -.75rem; }
.facts.pair th, .facts.pair td { width: auto; padding-right: .75rem; }
.facts.pair thead th { color: var(--ink); font-weight: 600; }
.cta { position: relative; overflow: hidden; margin-top: 3rem; padding: clamp(3.75rem, 10vw, 4.5rem) clamp(1.5rem, 6vw, 3rem) clamp(2rem, 6vw, 2.75rem); border-radius: 140px 140px 24px 24px; text-align: center; color: #fff; display: grid; gap: 1rem; justify-items: center;
  background: radial-gradient(ellipse 70% 60% at 50% 110%, rgba(236, 198, 166, .55), rgba(236, 198, 166, 0) 70%), linear-gradient(180deg, #1b1738 0%, #2f2861 65%, #4a3d7e 100%); }
main.site .cta p { color: rgba(255, 255, 255, .88); margin: 0; max-width: 30rem; }
main.site .cta a:not(.btn) { color: #fff; }
.cta .btn-primary, .cta .button { background: #fff; color: var(--ink); }
.cta .btn.soon { color: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .06); }
.company { padding: 1rem 1.1rem; border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.months, .sign-links, .more-links { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.more-links { display: grid; gap: 0; }
.months a, .sign-links a, .more-links a, .pager a { display: inline-flex; align-items: center; min-height: 44px; }
.pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; margin: 1rem 0; }

/* The Moon pages: the disc, the phases, the calendar. */
.disc { display: block; flex: none; }
.disc-dark { fill: var(--night); stroke: var(--line); stroke-width: 2; }
.disc-lit { fill: #f1e9d6; }
.moon-now { display: flex; align-items: center; gap: 1.25rem; margin: .5rem 0 1rem; padding: 1.25rem; border-radius: 24px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
main.site .moon-now p { margin: .2rem 0; }
.moon-phase { font: 500 1.8rem/1.15 var(--serif); }
.phase-list strong, .phase-list time, .phase-list .local { display: block; }
.phase-list strong { font: 500 1.15rem/1.3 var(--serif); }
.phase-list .local { min-height: 1.6em; font-size: .9375rem; color: var(--muted); }
.moon-grid { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 1.5rem 0 .5rem; }
.moon-grid th { font-size: .8125rem; font-weight: 600; color: var(--muted); padding: .4rem 0; }
.moon-grid td { text-align: center; vertical-align: top; padding: .4rem 1px .5rem; border-top: 1px solid var(--line); }
.moon-grid td .disc { margin: .25rem auto; }
.moon-grid .d { display: block; font-size: .875rem; }
.moon-grid .p { display: block; font-size: .75rem; color: var(--muted); }
.moon-grid .e { display: block; font-size: .6875rem; font-weight: 700; color: var(--accent); }
.moon-grid td.event { background: var(--paper); }
.moon-grid td.today { outline: 2px solid var(--accent); outline-offset: -2px; }

/* The horoscopes. */
.reading h2 { margin-top: 2rem; }
.reading details { margin-top: -.25rem; }
.reading summary { cursor: pointer; font-size: .9375rem; color: var(--muted); display: inline-flex; align-items: center; min-height: 44px; }
.reading details ul { font-size: .9375rem; color: var(--muted); }
.pairs a, .pairs span { display: block; }
.pairs span { font-size: .875rem; color: var(--muted); }

/* Privacy choices. */
.choices { display: grid; gap: .75rem; margin-top: 1.5rem; padding: 1.25rem; border-radius: 20px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.choices input { width: 100%; min-height: 48px; padding: .75rem .9rem; border: 0; box-shadow: inset 0 0 0 1px var(--line); border-radius: 14px; background: #fff; color: var(--ink); font: inherit; }
.choices button { justify-self: start; }

/* The legal documents. */
.legal h2 { scroll-margin-top: 6rem; }
.legal ul { padding-left: 1.3rem; }
.draft-note { padding: .75rem 1rem; border-radius: 12px; background: #fbf3e4; color: #6b4e1f; font-size: .9375rem; }
.legal-nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.legal-nav a { display: inline-flex; align-items: center; min-height: 44px; }

@media (min-width: 640px) {
  .tiles, .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sign-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .two { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) { .sign-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stars circle, .moon, .fact .tagline.live::before { animation: none; }
  .btn, .reading-arch, .tiles a, .cards a, .sign-grid a { transition: none; }
}
