/* Meditation Mandir: midnight indigo, saffron and soft gold. Marcellus for headings, Hind for text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #0F1230;
  --surface: #171B45;
  --soft: #1E2358;
  --ink: #ECEDFB;
  --muted: #AEB3E0;
  --line: #2A3070;
  --line-strong: #414A9C;
  --brand: #F2A23A;
  --brand-hover: #F7B75F;
  --brand-ink: #0F1230;
  --brand-text: #F6D58E;
  --eyebrow: #F6D58E;
  --focus: #F6D58E;
  --input-bg: #121539;
  --badge-bg: #F2A23A;
  --badge-ink: #0F1230;
  --out-bg: #F4EFE2;
  --out-ink: #14183D;
  --out-accent: #A85E0B;
  --out-btn: #14183D;
  --out-btn-ink: #F6D58E;
  --head: "Marcellus", Georgia, serif;
  --body: "Hind", system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --btn-radius: 999px;
  --wrap: 1160px;
  --gap: 24px;
  color-scheme: dark;
}
body { font-size: 1.05rem; background: radial-gradient(ellipse at 50% -10%, #232866 0%, var(--bg) 55%) fixed; }
h1, h2, h3 { font-weight: 400; letter-spacing: .01em; line-height: 1.15; }
.btn { font-weight: 600; letter-spacing: .02em; }
.eyebrow { font-weight: 600; letter-spacing: .22em; }
.ic { color: var(--brand-text); }
.input option { background: #121539; color: var(--ink); }

/* header: minimal, logo left and a dotted marker under the current page */
.header { background: rgba(15, 18, 48, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header > .wrap { min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 40px; height: 40px; }
.logo span { display: grid; line-height: 1; }
.logo b { font: 400 1.5rem var(--head); color: var(--ink); letter-spacing: .06em; }
.logo small { font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--brand-text); margin-top: 4px; }
.nav { margin-inline: auto; }
.nav a { position: relative; font-weight: 500; border-radius: 999px; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--brand); }
.header .btn-primary { background: transparent; color: var(--brand-text); border-color: var(--brand); }
.header .btn-primary:hover { background: var(--brand); color: var(--brand-ink); }
@media (max-width: 960px) { .nav { margin-inline: 0; } .nav-open .nav { background: var(--surface); } }

/* hero with a breathing orb */
.hero { padding-block: clamp(36px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); margin: 12px 0 16px; }
.hero .t-actions { margin-top: 24px; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 26px; color: var(--muted); }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.orb-wrap { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 420px; justify-self: center; width: 100%; }
.orb { position: absolute; border-radius: 50%; animation: breathe 10s ease-in-out infinite; }
.o1 { width: 36%; aspect-ratio: 1; background: radial-gradient(circle at 35% 30%, #FFE3A8, var(--brand)); box-shadow: 0 0 60px 10px rgba(242, 162, 58, .4); }
.o2 { width: 62%; aspect-ratio: 1; border: 2px solid rgba(246, 213, 142, .5); animation-delay: -.5s; }
.o3 { width: 90%; aspect-ratio: 1; border: 1.5px solid rgba(185, 190, 240, .35); animation-delay: -1s; }
.orb-wrap p { position: absolute; bottom: 4%; font-family: var(--head); color: var(--muted); letter-spacing: .08em; }
@keyframes breathe { 0%, 100% { transform: scale(.82); opacity: .7; } 40% { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .orb { animation: none; } }
.band-indigo { background: var(--surface); border-block: 1px solid var(--line); }
.trust { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 760px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.trust li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.timer-peek { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 820px) { .timer-peek { grid-template-columns: minmax(0, 1fr); } }
.pattern-list { list-style: none; display: grid; gap: 10px; }
.pattern-list li { padding: 14px 18px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); }
.c-card { background: var(--surface); border-color: var(--line); }
.c-filters button { background: var(--surface); }
.c-filters button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.page-head { background: var(--surface); border-bottom: 1px solid var(--line); margin-bottom: clamp(24px, 4vw, 44px); padding-block: clamp(32px, 5vw, 60px); }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.numbers-band { background: var(--soft); }
.numbers b { color: var(--brand-text); }
.card, .cd-side, .done, .quotes li { background: var(--surface); }
.pick:has(input:checked) { background: var(--soft); }
.chips input:checked + span, .seg input:checked + span, .day-strip button[aria-pressed="true"] { color: #0F1230; }
.tool-out .input { background: #fff; color: #1b1b1b; }
.tool-out .btn-ghost { color: var(--out-ink); border-color: rgba(20, 24, 61, .4); }
.out-text { font-size: clamp(1.8rem, 4vw, 2.5rem); }

/* planner output */
.plan-steps { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.plan-steps li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(20, 24, 61, .18); }
.plan-steps b { font-variant-numeric: tabular-nums; color: var(--out-accent); }
.plan-steps span { display: block; font-weight: 700; }
.plan-steps small { display: block; opacity: .8; }

/* breathing timer */
.timer-band { background: var(--surface); border-top: 1px solid var(--line); }
.timer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .timer { grid-template-columns: minmax(0, 1fr); } }
.timer-in { display: grid; gap: 16px; }
.timer-view { display: grid; justify-items: center; gap: 14px; text-align: center; }
.breath-orb { display: grid; place-items: center; width: min(78vw, 300px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFE3A8, var(--brand)); color: #0F1230; font: 400 3rem var(--head); box-shadow: 0 0 70px 10px rgba(242, 162, 58, .35); transform: scale(.6); transition: transform 1s linear; }
.breath-orb span { font-variant-numeric: tabular-nums; }
.phase { font: 400 1.7rem var(--head); min-height: 2.2rem; }
.round { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .breath-orb { transition: none; } }

/* CTA + footer */
.cta-band { padding-block: clamp(44px, 6vw, 76px); background: linear-gradient(120deg, #2A2F7A, #4A3A8F); color: #fff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.cta-band p { margin-top: 6px; color: #D8DAF7; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-primary { background: var(--brand); color: #0F1230; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.footer { background: #090B22; color: #AEB3E0; --footer-line: rgba(255,255,255,.14); }
.footer .logo b { color: #fff; }
.footer h2 { color: var(--brand-text); }
.f-about { margin-top: 12px; max-width: 34ch; }
.footer .credit a { color: var(--brand-text); }
