/* ============================================================
   Brand bar — navy top bar + footer taken from the logo (18 Nov 2026)
   Logo background #11152E, lifted to #1C2340 at the top edge.
   Loaded LAST on every page so it wins over each page's own bar
   styles (several tool pages style .topbar inline, and some
   buttons carry inline colours, hence !important).
   Only the bars change; the page itself stays light.
   ============================================================ */
:root{
  --bar-bg: linear-gradient(180deg,rgb(var(--ink-x1c2340)) 0%,rgb(var(--ink-x11152e)) 100%);
  --bar-line: rgb(var(--orange-xd6c6a4) / .28);
  --bar-text: rgb(var(--orange-xecdfc2));      /* KUNDALITY wordmark */
  --bar-text2: rgb(var(--orange-xd6c6a4));     /* page title, links */
  --bar-btn: rgb(var(--orange-xe3d4b2));       /* outline buttons */
  --bar-btn-line: rgb(var(--orange-xd6c6a4) / .45);
  --bar-cta: linear-gradient(180deg,rgb(var(--amber-xecdcb6)),rgb(var(--orange-xc9ad78)));
  --bar-cta-text: rgb(var(--ink-x11152e));
}

/* ── Bars: home/legal (.site-nav), apps + tools (.topbar), blog (.blog-nav),
      muhurat-style tools (nav > .nav-left), numerology tool (.n-topbar) ── */
.site-nav, .topbar, .blog-nav, body > nav:has(> .nav-left), body > nav:has(> .nav-home), .n-topbar{
  background: var(--bar-bg) !important;
  border-bottom: 1px solid var(--bar-line) !important;
  box-shadow: 0 2px 14px rgb(var(--ink-x11152e) / .22) !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}
/* numerology tool: its bar sits inside a centred column, so paint the navy out to both edges */
.n-topbar{ background: transparent !important; position: relative; z-index: 0; box-shadow: none !important; border-bottom: none !important; }
.n-topbar::before{ content:''; position:absolute; top:0; bottom:0; left:-100vmax; right:-100vmax; z-index:-1;
  background: var(--bar-bg); border-bottom: 1px solid var(--bar-line); }
.topbar::after{ background: linear-gradient(90deg,transparent,rgb(var(--orange-xd6c6a4) / .5) 50%,transparent) !important; }

/* wordmark */
.nav-logo-text, .topbar-name, .nav-brand, .n-brand a, .blog-nav-logo, body > nav > a.nav-logo{
  color: var(--bar-text) !important; -webkit-text-fill-color: var(--bar-text) !important;
  background: none !important; animation: none !important;
}
/* separators + page titles */
.topbar-div, .nav-div, .n-brand .div, .blog-nav-sep{ color: rgb(var(--orange-xd6c6a4) / .5) !important; }
.agent-title, .topbar-agent, .nav-title, .n-brand .tt{
  color: var(--bar-text2) !important; -webkit-text-fill-color: var(--bar-text2) !important; background: none !important;
}
.blog-nav-link{ color: var(--bar-text2) !important; }
.blog-nav-link:hover{ color: rgb(var(--amber-xfff6e3)) !important; }

/* outline buttons: back / home / articles / free tools / sign out / any link in the bar */
.back-btn, .nav-home, .n-back, .blog-nav-home,
.site-nav .btn-articles, .site-nav .btn-free-tools, .site-nav #logout-btn,
.topbar-right a, .topbar-right button:not(#login-btn):not(.signin-btn){
  background: transparent !important;
  color: var(--bar-btn) !important; -webkit-text-fill-color: var(--bar-btn) !important;
  border: 1px solid var(--bar-btn-line) !important;
  opacity: 1 !important;
}
.back-btn:hover, .nav-home:hover, .n-back:hover, .blog-nav-home:hover,
.site-nav .btn-articles:hover, .site-nav .btn-free-tools:hover,
.topbar-right a:hover, .topbar-right button:not(#login-btn):not(.signin-btn):hover{
  background: rgb(var(--orange-xd6c6a4) / .10) !important; color: rgb(var(--amber-xfff6e3)) !important; -webkit-text-fill-color: rgb(var(--amber-xfff6e3)) !important;
}
/* buy tokens keeps its coin but in champagne */
.site-nav #buy-tokens-btn, .topbar #buy-tokens-btn{
  background: rgb(var(--orange-xd6c6a4) / .10) !important; color: var(--bar-btn) !important; border: 1px solid var(--bar-btn-line) !important;
}
/* small logo in the bars */
.topbar-brand img, .nav-left img, .n-brand img{ border-radius:6px; }
.topbar-bal{ color: var(--bar-text2) !important; }

/* the one filled button: Sign In / account CTA */
.site-nav .btn-signin, .site-nav #login-btn, .topbar .signin-btn, .topbar #login-btn, .nav-cta, .blog-nav-cta{
  background: var(--bar-cta) !important; color: var(--bar-cta-text) !important; -webkit-text-fill-color: var(--bar-cta-text) !important;
  border: none !important; box-shadow: none !important;
}
.site-nav .btn-signin:hover, .site-nav #login-btn:hover, .topbar .signin-btn:hover, .topbar #login-btn:hover, .nav-cta:hover, .blog-nav-cta:hover{
  filter: brightness(1.06); color: var(--bar-cta-text) !important;
}

/* ── Footer ── */
.site-footer{ background: var(--bar-bg) !important; border-top: 1px solid var(--bar-line) !important; }
.site-footer .footer-logo-text{ color: var(--bar-text) !important; }
.site-footer .footer-links a, .site-footer p, .site-footer span, .site-footer small{ color: rgb(var(--orange-xc9bea6)) !important; }
.site-footer .footer-links a:hover{ color: rgb(var(--amber-xfff6e3)) !important; }

/* ── Main action buttons take the bar's navy (founder 19 Nov: "change the button colors too with the top bar color to make it look even").
      Reading forms (.calc-btn: Read My Chart, Match), tool sign-in CTAs, the chat send button, tarot shuffle/reveal, tool submit buttons.
      Same gradient, champagne lettering and fine champagne edge as the bar; !important because several pages set these inline. ── */
.calc-btn, .btn-signin-cta, #send-btn, .shuffle-ready-btn, .tarot-reveal-btn, .submit-btn, .full-cta, .paid-cta, .cta > a, a.btn-primary, .cta-btn, .geo-btn, .go-btn, .n-cta, .yr-btn.active, #submit-btn{
  background: var(--bar-bg) !important;
  color: var(--bar-text) !important;
  border: 1px solid var(--bar-line) !important;
}
.geo-btn:hover, .go-btn:hover, .n-cta:hover, #submit-btn:hover, a.btn-primary:hover, .cta-btn:hover, .cta > a:hover, .calc-btn:hover, .btn-signin-cta:hover, #send-btn:hover:not(:disabled), .shuffle-ready-btn:hover, .tarot-reveal-btn:hover, .submit-btn:hover, .full-cta:hover, .paid-cta:hover{
  box-shadow: 0 10px 28px rgb(var(--ink-x11152e) / .38) !important;
}
.calc-btn:disabled, .submit-btn:disabled, #send-btn:disabled{ opacity: .55; }

/* ── Text links take the bar's navy too (founder 19 Nov: "the links font color is still same as color of the button").
      The site-wide default link (style.css / blog _base.css `a`) and the in-text links of articles and tools. Only plain links — anything
      with its own class (buttons, cards, the bars and the footer) keeps its own colours. In running text a fine bronze underline keeps them
      recognisable as links. ── */
a{ color: rgb(var(--ink-x1c2340)); }
a:hover{ color: rgb(var(--ink-x11152e)); }
/* every plain link on the light page (pages also colour them inline or per box) — never inside a bar, nav or footer (they are navy) —
   nor a plain link made into a button with its own inline background — and the two styled tool links that used the old blue */
body a:not([class]):not([style*="background"]):not(nav a):not(header a):not(footer a):not(.topbar a):not(.site-nav a):not(.blog-nav a):not(.site-footer a):not(.n-topbar a):not(.cta a):not(.post-cta a), body a.vis-link, body a.xtool{ color: rgb(var(--ink-x1c2340)) !important; }
body a:not([class]):not([style*="background"]):not(nav a):not(header a):not(footer a):not(.topbar a):not(.site-nav a):not(.blog-nav a):not(.site-footer a):not(.n-topbar a):not(.cta a):not(.post-cta a):hover, body a.vis-link:hover, body a.xtool:hover{ color: rgb(var(--ink-x11152e)) !important; }
body .seo-content a:not([class]), body .related a:not([class]), body .md-item a:not([class]), body .ecl-hook a:not([class]),
body .processor-note a:not([class]), body .post-body a:not([class]){
  color: rgb(var(--ink-x1c2340)) !important;   /* !important: blog posts set the old blue inline on some links */
  text-decoration: underline; text-decoration-color: rgb(var(--orange-xc9ad78) / .7); text-decoration-thickness: 1px; text-underline-offset: 3px;
}
body .seo-content a:not([class]):hover, body .related a:not([class]):hover, body .md-item a:not([class]):hover, body .ecl-hook a:not([class]):hover,
body .processor-note a:not([class]):hover, body .post-body a:not([class]):hover{
  color: rgb(var(--ink-x11152e)) !important; text-decoration-color: rgb(var(--orange-xc9ad78));
}
/* the blog's gold call-to-action button inside the article keeps its white lettering */
body .post-body .post-cta a, body .post-cta a{ color: rgb(var(--white)) !important; text-decoration: none !important; }

/* light tabs, chips and toggles that used the old blue for text and edge: the bar's navy, a faint navy tint */
.pf-mode-btn.active, .kp-chip, .date-nav-btn, button.on{
  color: rgb(var(--ink-x1c2340)) !important;
  border-color: rgb(var(--ink-x1c2340) / .32) !important;
  background: rgb(var(--ink-x1c2340) / .05) !important;
}
.kp-chip:hover, .date-nav-btn:hover{ border-color: rgb(var(--ink-x1c2340) / .55) !important; }
/* the dark tool tiles on Free Tools: a text symbol (✦, ▦) in champagne, like the bar lettering (emoji keep their own colours) */
.ct .ct-icon{ color: var(--bar-text) !important; }

/* ── 19 Nov, the proposal the founder took ("go ahead with all four") ─────────────────────────────────────────────────────────────────────
   1. ONE GOLD MAIN ACTION: the step each page is for (Read My Chart, Get Panchang, Show my eclipses, sign in for a reading…) in the gold of
      the Sign In pill, so the eye lands on it; the chat send button and active tabs stay navy. */
.calc-btn, .btn-signin-cta, .shuffle-ready-btn, .tarot-reveal-btn, .submit-btn, .full-cta, .paid-cta, .cta > a, a.btn-primary, .cta-btn,
.geo-btn, .go-btn, .n-cta, #submit-btn{
  background: var(--bar-cta) !important;
  color: var(--bar-cta-text) !important;
  border: 1px solid rgb(var(--orange-xc9ad78)) !important;
}
.calc-btn:hover, .btn-signin-cta:hover, .shuffle-ready-btn:hover, .tarot-reveal-btn:hover, .submit-btn:hover, .full-cta:hover, .paid-cta:hover,
.cta > a:hover, a.btn-primary:hover, .cta-btn:hover, .geo-btn:hover, .go-btn:hover, .n-cta:hover, #submit-btn:hover{
  box-shadow: 0 10px 26px rgb(var(--orange-xc9ad78) / .42) !important;
}
/* 2. LINKS IN RUNNING TEXT ARE UNDERLINED (bronze), everywhere — navy alone is almost the body-text colour */
body :is(p, li, td, dd, blockquote, figcaption, small, label) a:not([class]):not([style*="background"]):not(nav a):not(header a):not(footer a):not(.topbar a):not(.site-nav a):not(.blog-nav a):not(.site-footer a):not(.n-topbar a):not(.cta a):not(.post-cta a){
  text-decoration: underline !important; text-decoration-color: rgb(var(--orange-xc9ad78) / .7) !important;
  text-decoration-thickness: 1px !important; text-underline-offset: 3px !important;
}
/* 4. LIGHTER FORM TOP: "first reading is free" is one quiet line under "Read by …", and the feature strip sits under the main button */
.form-free{ margin: -2px 0 12px; text-align: center; font-size: .74rem; font-weight: 600; color: rgb(var(--amber-800)); }
.what-strip.below{ background: none !important; border: none !important; padding: 10px 4px 0 !important; margin: 0 !important; }
/* phone width, muhurat-style tool bars (nav > .nav-left): "← Free Tools" stays on one line and the page title gives way (19 Nov: it wrapped onto three lines) */
@media (max-width: 480px){
  body > nav:has(> .nav-left) .nav-home{ white-space: nowrap; flex-shrink: 0; }
  body > nav:has(> .nav-left) .nav-div, body > nav:has(> .nav-left) .nav-title{ display: none; }
}
/* sign-in pop-up badges ("No password", "Birth data never stored"): bolder, with a bronze accent (founder 19 Nov: "give the badges more weight
   and a bronze accent" — in navy they blended in) */
.auth-badge{
  font-weight: 700 !important;
  color: rgb(var(--ink-x1c2340)) !important;
  background: rgb(var(--orange-xc9ad78) / .14) !important;
  border: 1px solid rgb(var(--orange-xc9ad78) / .55) !important;
}

/* in-text links stand out (founder 19 Nov: "although underlined but dont stand out .. may be add a bit of design element"): the bronze of the
   gold buttons as the link colour (6.6:1 on white), a little weight, a firmer bronze underline, and on hover a soft bronze highlight */
body :is(p, li, td, dd, blockquote, figcaption, small, label) a:not([class]):not([style*="background"]):not(nav a):not(header a):not(footer a):not(.topbar a):not(.site-nav a):not(.blog-nav a):not(.site-footer a):not(.n-topbar a):not(.cta a):not(.post-cta a){
  color: rgb(var(--amber-700)) !important; font-weight: 600;
  text-decoration-thickness: 1.5px !important; text-decoration-color: rgb(var(--orange-xc9ad78) / .8) !important;
  border-radius: 3px; padding: 0 1px; transition: background-color .15s, color .15s;
}
body :is(p, li, td, dd, blockquote, figcaption, small, label) a:not([class]):not([style*="background"]):not(nav a):not(header a):not(footer a):not(.topbar a):not(.site-nav a):not(.blog-nav a):not(.site-footer a):not(.n-topbar a):not(.cta a):not(.post-cta a):hover{
  color: rgb(var(--ink-x1c2340)) !important; background-color: rgb(var(--orange-xc9ad78) / .2);
  text-decoration-color: rgb(var(--orange-xc9ad78)) !important;
}
