/*
 * The public site: homepage, the free kundli, the trust pages. Built on the tokens in main.css, so
 * dark and light follow the same switch as the sitting.
 */
body.site-page {
    min-height: 100%;
    line-height: 1.6;
}
.site-page .site-header, .site-main, .site-footer { position: relative; z-index: 1; }

.skip-link {
    position: absolute;
    left: 0.75rem;
    top: -3rem;
    z-index: 30;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: var(--cream);
    color: var(--text-on-accent);
    text-decoration: none;
    font-size: 0.85rem;
}
.skip-link:focus { top: 0.75rem; }

/* ------------------------------------------------------------------ header */
.public-header {
    gap: 1rem;
    max-width: 1180px;
    flex-wrap: wrap;
}
.public-header .brand { text-decoration: none; color: var(--cream); }
.brand-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; letter-spacing: 0.01em; }
.public-nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.public-nav a {
    color: var(--cream-dim);
    text-decoration: none;
    font-size: 0.9rem;
}
.public-nav a:hover, .public-nav a[aria-current="page"] { color: var(--gold); }
.public-actions { display: flex; align-items: center; gap: 0.9rem; }
.public-actions .header-link { font-size: 0.85rem; }
.primary-btn, .ghost-btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.primary-btn.small { min-height: 0; border-radius: 999px; }

/* ------------------------------------------------------------------ layout */
.site-main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 1rem 1.25rem 3rem;
}
.site-main h1, .site-main h2, .site-main h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.site-main a:not(.primary-btn):not(.ghost-btn) { color: var(--gold); }
.lede { font-size: 1.12rem; color: var(--cream-dim); max-width: 38rem; }

.site-section { margin: 4.5rem 0 0; }
.site-section > h2 { font-size: 2rem; margin: 0 0 1.4rem; }
.site-section p { color: var(--cream-dim); }
.site-section.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.site-section.split h2 { font-size: 1.6rem; margin: 0 0 0.8rem; }

/* ------------------------------------------------------------------ hero */
.hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
    padding: 2.5rem 0 1rem;
}
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.08; margin: 0 0 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.6rem 0 0.9rem; }
.hero-note { font-size: 0.85rem; color: var(--cream-dim); margin: 0; }
.hero-sample {
    margin: 0;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 1.4rem;
    padding: 1.4rem 1.4rem 1.1rem;
    box-shadow: var(--shadow);
}
.sample-q { font-family: var(--serif); font-size: 1.15rem; margin: 0 0 1rem; color: var(--cream); }
.sample-voice { border-left: 2px solid rgba(var(--gold-rgb), 0.55); padding: 0 0 0 0.9rem; margin: 0 0 1rem; }
.sample-voice.astrologer { border-left-color: rgba(var(--sky-rgb), 0.6); }
.sample-voice p { margin: 0.3rem 0 0; font-size: 0.92rem; color: var(--cream-dim); }
.voice-tag {
    font-size: var(--type-label);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
}
.sample-voice.astrologer .voice-tag { color: var(--sky); }
.hero-sample figcaption { font-size: 0.75rem; color: var(--cream-dim); }

/* ------------------------------------------------------------------ steps, cards, plans */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: step; }
.steps li { counter-increment: step; background: var(--surface-1); border: 1px solid var(--line); border-radius: 1.1rem; padding: 1.2rem 1.2rem 0.4rem; }
.steps li::before { content: counter(step); font-family: var(--serif); font-size: 1.6rem; color: var(--gold); }
.steps h3 { font-size: 1.2rem; margin: 0.3rem 0 0.4rem; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.site-card { background: var(--surface-1); border: 1px solid var(--line); border-radius: 1.1rem; padding: 1.1rem 1.2rem; }
.site-card h3 { font-size: 1.15rem; margin: 0 0 0.35rem; }
.site-card p { margin: 0 0 0.5rem; font-size: 0.93rem; }
.card-ask { font-family: var(--serif); font-style: italic; color: var(--cream) !important; }

.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 22rem)); gap: 1.4rem; }
.plan-card { background: var(--panel); border: 1px solid var(--line); border-radius: 1.3rem; padding: 1.4rem 1.5rem; display: flex; flex-direction: column; align-items: flex-start; }
.plan-card.plus { border-color: rgba(var(--gold-rgb), 0.55); }
.plan-card.monthly { border-color: rgba(var(--gold-rgb), 0.85); box-shadow: 0 0 0 1px rgba(var(--gold-rgb), 0.25); }
.plan-card h3 { font-size: 1.4rem; margin: 0; }
.plan-price { font-family: var(--serif); font-size: 2rem; color: var(--cream) !important; margin: 0.3rem 0 0.6rem; }
.plan-price small { font-family: var(--sans); font-size: 0.85rem; color: var(--cream-dim); }
.plan-card ul { padding-left: 1.1rem; margin: 0 0 1.1rem; color: var(--cream-dim); }
.plan-card li { margin: 0.25rem 0; }
.plan-note { font-size: 0.82rem; margin: auto 0 0; }

.faq details { border-bottom: 1px solid var(--line); padding: 0.85rem 0; }
.faq summary { cursor: pointer; font-size: 1.02rem; color: var(--cream); }
.faq details p { margin: 0.6rem 0 0.2rem; }

.closing { text-align: center; padding: 2.5rem 1rem; border: 1px solid var(--line); border-radius: 1.5rem; background: var(--surface-1); }
.closing h2 { margin-bottom: 0.4rem !important; }

/* ------------------------------------------------------------------ prose (the trust pages, the guide) */
.site-prose { max-width: var(--measure); margin: 1.5rem auto 0; }
.site-prose h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 1rem 0 1.2rem; line-height: 1.12; }
.site-prose h2 { font-size: 1.5rem; margin: 2.2rem 0 0.6rem; }
.site-prose h3 { font-size: 1.15rem; margin: 1.5rem 0 0.4rem; }
.site-prose p, .site-prose li { color: var(--cream-dim); }
.site-prose strong { color: var(--cream); font-weight: 600; }
.site-prose li { margin: 0.35rem 0; }

/* ------------------------------------------------------------------ the free kundli */
.tool-intro { max-width: 46rem; padding: 2rem 0 0.5rem; }
.tool-intro h1 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.1; margin: 0 0 0.8rem; }
.tool-card, .kundli-result {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 1.4rem;
    padding: 1.4rem 1.5rem;
    margin: 1.5rem 0 0;
}
.form-grid { display: flex; flex-wrap: wrap; gap: 0 1rem; align-items: flex-end; }
.form-grid .field { min-width: 11rem; }
.field.grow, .form-grid .grow { flex: 1 1 14rem; }
.check.field-check { display: flex; align-items: center; gap: 0.45rem; font-size: 0.88rem; color: var(--cream-dim); margin: 0 0 1.35rem; }
.place-row { display: flex; gap: 0.8rem; align-items: flex-end; flex-wrap: wrap; }
.place-row .ghost-btn { margin-bottom: 1.1rem; }
.place-results { list-style: none; padding: 0; margin: -0.4rem 0 1rem; }
.place-results li { margin: 0.25rem 0; color: var(--cream-dim); font-size: 0.88rem; }
.place-results button { appearance: none; background: var(--surface-2); border: 1px solid var(--line); color: var(--cream); border-radius: 0.7rem; padding: 0.45rem 0.7rem; font: inherit; text-align: left; cursor: pointer; width: 100%; }
.place-results button:hover { border-color: var(--gold); }
.advanced { margin: 0 0 1rem; color: var(--cream-dim); font-size: 0.88rem; }
.advanced summary { cursor: pointer; margin-bottom: 0.8rem; }
.field select { background: var(--field-bg); border: 1px solid var(--line); color: var(--cream); border-radius: 12px; padding: 0.75rem 0.85rem; font: inherit; }
.form-note { font-size: 0.8rem; color: var(--cream-dim); margin: 0.7rem 0 0; }

.result-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.result-facts { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.fact { background: var(--surface-2); border: 1px solid var(--line); border-radius: 0.9rem; padding: 0.55rem 0.8rem; min-width: 9rem; }
.fact .fact-label { display: block; font-size: var(--type-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.fact .fact-value { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--cream); }
.fact .fact-sub { display: block; font-size: 0.75rem; color: var(--cream-dim); }
.toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.toggle button { appearance: none; background: none; border: 0; color: var(--cream-dim); font: inherit; font-size: 0.78rem; padding: 0.4rem 0.85rem; cursor: pointer; }
.toggle button.active { background: rgba(var(--gold-rgb), 0.18); color: var(--gold); }
.result-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.6rem; align-items: start; }
.kundli-wheel { max-width: 520px; width: 100%; }
.result-lines { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.result-lines li { color: var(--cream-dim); margin: 0 0 0.6rem; padding-left: 0.9rem; border-left: 2px solid rgba(var(--gold-rgb), 0.4); }
.ask-card { background: var(--surface-2); border: 1px solid rgba(var(--gold-rgb), 0.45); border-radius: 1.1rem; padding: 1.1rem 1.2rem; }
.ask-card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; margin: 0 0 0.4rem; }
.ask-card p { color: var(--cream-dim); font-size: 0.92rem; margin: 0 0 0.9rem; }
.ask-card .cta-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.ask-card .cta-row .ghost-btn { border-radius: 999px; }

/* Share row: the link through the device's sheet, WhatsApp, the clipboard, the card as a file. */
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 0 0 1.1rem; }
.share-row:empty { display: none; }
.share-row .ghost-btn.small { border-radius: 999px; min-height: 0; }
.share-row .share-wa { text-decoration: none; }
.share-row .share-note { font-size: 0.8rem; color: var(--gold); }
.share-block { margin-top: 1rem; }

/* Kundli matching: the score, the two Moons, the kootas as bars. */
.match-head { margin-bottom: 1rem; }
.match-head .lede { font-size: 1rem; }
.match-score { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin: 0.2rem 0 0.4rem; }
.match-result .result-facts { margin: 0.8rem 0 1.2rem; }
.koota-bars { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.45rem; }
.koota-bars li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) 5.5rem; align-items: center; gap: 0.7rem; font-size: 0.86rem; }
.koota-name { color: var(--cream); }
.koota-bar { display: block; height: 0.45rem; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.koota-bar span { display: block; height: 100%; background: var(--gold); border-radius: 999px; }
.koota-pts { color: var(--cream-dim); text-align: right; font-variant-numeric: tabular-nums; }
.koota-pts em { font-style: normal; color: var(--sky, #8fb0e4); font-size: 0.72rem; margin-left: 0.2rem; }
.match-kuja { color: var(--cream-dim); font-size: 0.92rem; margin: 0 0 1rem; }
.match-kuja strong { color: var(--cream); font-weight: 500; }
.match-send .share-row { margin-top: 0.6rem; }

/* First-question chips under a result. */
.question-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0 0 0.9rem; }
.question-chips .chips-label { flex-basis: 100%; margin: 0 0 0.1rem; font-size: 0.8rem; color: var(--cream-dim); }
.question-chips .chip {
    appearance: none; background: var(--surface-2); border: 1px solid var(--line); color: var(--cream);
    border-radius: 999px; padding: 0.42rem 0.8rem; font: inherit; font-size: 0.82rem; text-align: left; cursor: pointer;
}
.question-chips .chip:hover { border-color: var(--gold); color: var(--gold); }
.table-wrap { overflow-x: auto; margin-top: 1.4rem; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
table.data th { text-align: left; font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); padding: 0.45rem 0.6rem; border-bottom: 1px solid var(--line); font-weight: 500; }
table.data td { padding: 0.5rem 0.6rem; border-bottom: 1px solid rgba(var(--cream-rgb), 0.07); vertical-align: top; color: var(--cream); }
table.data .dot { display: inline-block; width: 0.55rem; height: 0.55rem; border-radius: 50%; margin-right: 0.45rem; }
.kundli-guide { margin-top: 3.5rem; }
.kundli-guide .seo-links { max-width: none; }

/* ------------------------------------------------------------------ the long-tail pages (Moon signs, nakshatras, dashas) */
.seo-intro { padding-top: 1.4rem; }
.seo-intro .eyebrow a { color: var(--cream-dim); text-decoration: none; }
.seo-intro .eyebrow a:hover { color: var(--gold); }
.seo-alt { display: block; font-size: 0.55em; color: var(--cream-dim); margin-top: 0.3rem; letter-spacing: 0; }
.seo-facts { margin: 1.4rem 0 0; }
.seo-facts .fact-value a { color: var(--cream); text-decoration: none; border-bottom: 1px solid rgba(var(--gold-rgb), 0.5); }
.seo-facts .fact-value a:hover { color: var(--gold); }
.fact .fact-value a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(var(--gold-rgb), 0.5); }
.fact .fact-value a:hover { color: var(--gold); }
.seo-prose { margin-top: 2.2rem; }
.seo-prose ul.seo-list { padding-left: 1.1rem; }
.seo-prose .seo-houses li { margin: 0.5rem 0; }
.seo-phases { padding-left: 1.2rem; color: var(--cream-dim); }
.seo-phases li { margin: 0.5rem 0; }
.seo-phases strong, .seo-houses strong { color: var(--cream); font-weight: 600; }
.seo-now {
    margin: 1.2rem 0 0;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(var(--gold-rgb), 0.45);
    border-radius: 0.9rem;
    background: var(--surface-1);
    color: var(--cream-dim);
}
.seo-now strong { color: var(--gold); font-weight: 600; }
.seo-prose .table-wrap, .seo-prose table.seo-table { margin-top: 0.9rem; }
table.seo-table { width: auto; min-width: 20rem; }
table.seo-table caption.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.seo-faq { margin-top: 3rem; }
.seo-faq h2 { font-size: 1.5rem; margin: 0 0 0.6rem; }
.seo-faq h3 { font-size: 1.1rem; margin: 1.4rem 0 0.35rem; color: var(--cream); }
.seo-tool { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.seo-tool .tool-intro { padding-top: 0; }
.seo-tool .tool-intro h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.12; margin: 0 0 0.7rem; }
.seo-more { margin-top: 1rem; }
.seo-siblings { margin: 3.5rem 0 0; }
.seo-siblings h2 { font-size: 1.3rem; margin: 0 0 0.6rem; }
.seo-links { color: var(--cream-dim); line-height: 2; max-width: var(--measure); margin: 0.2rem 0 0; }
.seo-links a { white-space: nowrap; text-decoration: none; border-bottom: 1px solid rgba(var(--gold-rgb), 0.35); }
.seo-links a:hover { border-bottom-color: var(--gold); }

/* ------------------------------------------------------------------ the world prediction */
.world-intro h1 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.world-source a { color: var(--cream-dim); text-decoration: none; border-bottom: 1px solid rgba(var(--gold-rgb), 0.4); }
.world-source a:hover { color: var(--gold); }
.world-headline {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 1.4rem;
    padding: 1.6rem 1.7rem;
    margin: 1.5rem 0 0;
}
.world-call .eyebrow { margin: 0 0 0.3rem; }
.world-stance { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; color: var(--gold); margin: 0 0 0.6rem; }
.world-outcome { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.3; color: var(--cream); margin: 0 0 0.5rem; }
.world-window { color: var(--cream-dim); font-size: 0.92rem; margin: 0 0 0.5rem; }
/* The fact and the call told apart: "What happened" over the story, "What we predict" over the
   call, "How we'll know" under it; a story in the list carries "We predict" before its call. */
.world-label { letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.68rem; color: var(--cream-dim); margin: 0.6rem 0 0.2rem; }
.world-label-inline {
    display: inline-block; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.64rem; color: var(--gold);
    margin-right: 0.35rem; vertical-align: 0.1em;
}
.world-check { color: var(--cream-dim); font-size: 0.9rem; line-height: 1.5; margin: 0 0 1.1rem; }
.world-item-call .world-label-inline { color: var(--gold); }
.world-item-link { font-size: 0.78rem; color: var(--cream-dim); text-decoration: none; border-bottom: 1px solid rgba(var(--gold-rgb), 0.4); }
.world-item-link:hover { color: var(--gold); }
/* The story a shared link opened on: a gold edge, so the eye lands where the link pointed. */
.world-item, .world-intro { scroll-margin-top: 1.2rem; }
.world-item.focus { border-color: rgba(var(--gold-rgb), 0.6); box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.12); }
.world-voice { color: var(--cream); font-size: 1.05rem; line-height: 1.6; margin: 0 0 1.2rem; }
.world-facts { margin-top: 0.4rem; }
.world-chart-label { color: var(--cream-dim); font-size: 0.86rem; margin: 0 0 0.8rem; }
.world-status { margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.world-note { color: var(--cream-dim); font-size: 0.86rem; }
.world-pill {
    display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 0.18rem 0.65rem;
    font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cream-dim); background: var(--surface-2);
}
.world-pill.status-hit { border-color: rgba(127, 200, 169, 0.7); color: #7fc8a9; }
.world-pill.status-miss { border-color: rgba(224, 122, 106, 0.7); color: #e07a6a; }
.world-pill.status-open { border-color: rgba(var(--gold-rgb), 0.55); color: var(--gold); }
.world-pill.stance-likely, .world-pill.stance-unlikely { border-color: rgba(var(--gold-rgb), 0.55); color: var(--gold); }
.world-downloads { font-size: 0.86rem; color: var(--cream-dim); margin: 0.2rem 0 0; }
.world-wheel-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.world-wheel-wrap .kundli-wheel { max-width: 440px; }
.world-wheel-caption { font-size: 0.8rem; color: var(--cream-dim); text-align: center; margin: 0; }
.world-record { max-width: var(--measure); margin: 2.4rem 0 0; }
.world-record p { color: var(--cream-dim); }
.world-record strong { color: var(--cream); font-weight: 600; }
.world-disclaimer { font-size: 0.86rem; }
.world-others { margin-top: 3rem; }
.world-others h2, .world-sky h2 { font-size: 1.6rem; margin: 0 0 0.6rem; }
.world-others-note { color: var(--cream-dim); max-width: var(--measure); margin: 0 0 1.2rem; }
.world-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; counter-reset: world; }
.world-item {
    background: var(--surface-1); border: 1px solid var(--line); border-radius: 1rem; padding: 1rem 1.2rem 1rem 3rem; position: relative;
    counter-increment: world;
}
.world-item::before { content: counter(world); position: absolute; left: 1.1rem; top: 1rem; font-family: var(--serif); color: var(--gold); font-size: 1.1rem; }
.world-item-title { font-family: var(--serif); font-size: 1.15rem; line-height: 1.3; margin: 0 0 0.4rem; color: var(--cream); }
.world-item-title a { color: inherit; text-decoration: none; }
.world-item-title a:hover { color: var(--gold); }
.world-item-meta { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; margin: 0 0 0.5rem; }
.world-item-source { font-size: 0.8rem; color: var(--cream-dim); }
.world-item-call { color: var(--cream-dim); margin: 0 0 0.5rem; }
.world-item-why { color: var(--cream-dim); font-size: 0.9rem; }
.world-item-why summary { cursor: pointer; color: var(--gold); margin: 0 0 0.6rem; }
.world-item-voice { color: var(--cream); line-height: 1.55; margin: 0 0 0.6rem; }
.world-chart { margin: 0.2rem 0 0.8rem; }
.world-chart summary { font-size: 0.86rem; }
.world-chart .world-facts { margin: 0 0 0.4rem; }
/* The friend's two lines: what is working for it (a plus), what could trip it (a minus). */
.world-lines { list-style: none; margin: 0 0 0.9rem; padding: 0; display: grid; gap: 0.45rem; }
.world-lines li { display: flex; gap: 0.65rem; align-items: flex-start; color: var(--cream); font-size: 0.95rem; line-height: 1.4; }
.world-lines small { display: block; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.64rem; color: var(--cream-dim); }
.world-mark {
    flex: 0 0 auto; width: 1.5rem; height: 1.5rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.95rem; font-weight: 600; margin-top: 0.15rem;
}
.world-lines .plus .world-mark { background: rgba(154, 214, 168, 0.18); color: #9ad6a8; }
.world-lines .minus .world-mark { background: rgba(231, 154, 142, 0.18); color: #e79a8e; }
.world-card-row { margin: 0 0 0.8rem; }
.world-card-row .world-open-card { border-radius: 999px; min-height: 0; margin: 0; }
.world-item-meta .world-open-card { border-radius: 999px; min-height: 0; padding: 0.25rem 0.7rem; font-size: 0.74rem; margin-left: auto; }
.world-skipped { color: var(--cream-dim); font-size: 0.9rem; padding-left: 1.1rem; }
.world-skipped-title { color: var(--cream); }
.world-sky { margin-top: 2.6rem; max-width: var(--measure); }
.world-run-note { color: var(--cream-dim); font-size: 0.82rem; }
.world-archive { margin-top: 2.4rem; }
.world-archive .eyebrow { margin: 0 0 0.2rem; }
.world-cta { margin-top: 2.6rem; max-width: 46rem; }
@media (max-width: 900px) {
    .world-headline { grid-template-columns: 1fr; padding: 1.2rem 1.1rem; }
    .world-wheel-wrap { order: -1; }
}

/* ------------------------------------------------------------------ footer */
.site-footer {
    max-width: 1180px;
    margin: 2rem auto 0;
    padding: 2rem 1.25rem 2.5rem;
    border-top: 1px solid var(--line);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin-bottom: 1rem; }
.footer-links a { color: var(--cream-dim); text-decoration: none; font-size: 0.88rem; }
.footer-links a:hover { color: var(--gold); }
.footer-note { font-size: 0.78rem; color: var(--cream-dim); margin: 0.3rem 0; max-width: 44rem; }

/* ------------------------------------------------------------------ small screens */
@media (max-width: 900px) {
    .hero, .site-section.split, .result-body { grid-template-columns: 1fr; }
    .steps, .card-grid { grid-template-columns: 1fr 1fr; }
    .plan-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .public-nav { order: 3; width: 100%; gap: 1rem; }
    .public-actions .theme-control { display: none; }
    .steps, .card-grid { grid-template-columns: 1fr; }
    .site-section { margin-top: 3rem; }
    .site-section > h2 { font-size: 1.6rem; }
    .hero { padding-top: 1rem; gap: 2rem; }
    .result-facts { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
    .fact { min-width: 0; }
    .tool-card, .kundli-result { padding: 1.1rem 1rem; }
}
