/* ============================================================ux.css — shared cross-page polish & accessibility helpers.Loaded on every page. Pairs with js/ux.js.· scroll-reveal [data-reveal] -> .is-in· back-to-top .to-top button (injected by ux.js)· skip link .skip-linkPlain CSS, no framework.============================================================ */
/* ---------- Skip to content (keyboard / screen-reader) ---------- */
.skip-link {
position: fixed;
top: -60px;
left: 12px;
z-index: 200;
padding: 0.7rem 1.1rem;
border-radius: 0 0 var(--radius-sm) var(--radius-sm);
background: var(--violet);
color: #fff;
font-weight: 700;
text-decoration: none;
box-shadow: var(--shadow-sm);
transition: top 0.2s ease;
}
.skip-link:focus { top: 0; outline: none; }
/* ---------- Global keyboard focus ring (accessibility) ---------- */
:where(a, button, input, select, textarea, summary, [tabindex]:not([tabindex="-1"])):focus-visible {
outline: 3px solid var(--violet, #3d9970);
outline-offset: 2px;
border-radius: 4px;
}
/* ---------- Reduced-motion safety net (respects OS setting) ---------- */
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.001ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.001ms !important;
scroll-behavior: auto !important;
}
}
/* ---------- Scroll reveal ---------- */
[data-reveal] {
opacity: 0;
transform: translateY(22px);
transition: opacity 0.6s ease, transform 0.6s ease;
will-change: opacity, transform;
}
[data-reveal].is-in {
opacity: 1;
transform: none;
}
/* small stagger helpers */
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
/* ---------- Scroll cue / back to top ---------- */
.to-top {
position: fixed;


left: clamp(0.35rem, 1.2vw, 0.9rem);
bottom: clamp(1rem, 3vw, 2rem);
z-index: 120;
display: inline-flex;
align-items: center;
justify-content: center;
width: 48px;
height: 48px;
border: none;
border-radius: 50%;
cursor: pointer;
color: #fff;
background: var(--grad-accent);
box-shadow: 0 14px 30px -12px rgba(58, 171, 116, 0.55);
opacity: 0;
visibility: hidden;
transform: translateY(14px) scale(0.9);
transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.to-top.is-show {
opacity: 1;
visibility: visible;
transform: none;
}
.to-top.is-down {
animation: scrollCueBreath 2.35s ease-in-out infinite;
}
.to-top.is-down svg {
animation: scrollCueFloat 1.65s ease-in-out infinite;
}
.to-top.is-up {
animation: none;
}
.to-top:hover { transform: translateY(-2px); }
.to-top:focus-visible { outline: none; box-shadow: var(--ring); }
.to-top svg { display: block; }
@keyframes scrollCueBreath {
0%, 100% {
box-shadow:
0 14px 30px -12px rgba(58, 171, 116, 0.55),
0 0 0 0 rgba(157, 216, 207, 0.28);
}
50% {
box-shadow:
0 18px 34px -14px rgba(58, 171, 116, 0.7),
0 0 0 10px rgba(157, 216, 207, 0);
}
}
@keyframes scrollCueFloat {
0%, 100% { transform: translateY(-1px); }
50% { transform: translateY(3px); }
}
@media (prefers-reduced-motion: reduce) {
[data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
.to-top { transition: opacity 0.2s ease; animation: none !important; }
.to-top svg { animation: none !important; }
.skip-link { transition: none; }
}
/* ---------- Site-wide brand footer (injected by ux.js) ---------- */
.yv-brand-footer {
padding: 2.1rem 1rem 2.25rem;
text-align: center;
background: var(--ink-900, #17241d);
color: var(--text-inv-soft, rgba(255, 255, 255, 0.76));
}
.yv-brand-footer__inner {
display: grid;
justify-items: center;
gap: 0.72rem;
max-width: var(--maxw, 1120px);
margin: 0 auto;
}
.yv-brand-footer__logo img {
display: block;
width: 64px;
height: 64px;
/* light disc behind the emblem: its sky is see-through, and the black brush
   circle would vanish on the dark footer */
box-sizing: border-box;
padding: 3px;
background: #F9FDFB;
border-radius: 50%;
object-fit: contain;
box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}
.yv-brand-footer__name {
display: grid;
grid-template-columns: minmax(3.5rem, 8rem) auto minmax(3.5rem, 8rem);
align-items: center;
gap: 0.85rem;
color: #fff;
font-family: var(--font-heading);
font-size: clamp(1.28rem, 2.4vw, 1.7rem);
font-weight: 700;
}
.yv-brand-footer__line {
position: relative;
height: 2px;
overflow: hidden;
border-radius: 999px;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.56), transparent);
}
.yv-brand-footer__line::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
animation: yvFooterLine 3.8s ease-in-out infinite;
}
.yv-brand-footer__links {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 0.35rem 1.4rem;
max-width: 40rem;
}
.yv-brand-footer__links a {
display: inline-block;
padding: 0.45rem 0.1rem;
color: rgba(255, 255, 255, 0.86);
font-size: 0.95rem;
font-weight: 600;
text-decoration: none;
border-bottom: 1px solid transparent;
}
.yv-brand-footer__links a:hover,
.yv-brand-footer__links a:focus-visible {
color: #fff;
border-bottom-color: rgba(255, 255, 255, 0.7);
}
@keyframes yvFooterLine {
0% { transform: translateX(-100%); opacity: 0; }
35%, 65% { opacity: 1; }
100% { transform: translateX(100%); opacity: 0; }
}
/* ---------- Safety-message note (injected by ux.js into the shared footer) ---------- */
.yv-caution {
display: flex;
align-items: flex-start;
gap: 0.65rem;
max-width: var(--maxw);
margin: 1rem auto 0;
padding: 0.8rem 1.05rem;
border-radius: 12px;
background: rgba(214, 158, 46, 0.12);


border: 1px solid rgba(214, 158, 46, 0.4);
border-left: 4px solid #d69e2e;
color: var(--text-inv-soft, #b8e0cc);
}
.yv-caution__icon {
flex: 0 0 auto;
margin-top: 0.12rem;
color: #f0c060;
}
.yv-caution p {
margin: 0;
font-size: 0.88rem;
line-height: 1.55;
}
.yv-caution a {
color: #f0c060;
font-weight: 700;
text-decoration: underline;
}
/* ---------- Nav dropdown (Mudras tab — works in both .nav__links and .fs-topnav__links) ---------- */
.nav-drop {
position: relative;
display: inline-flex;
align-items: center;
}
.nav-drop__tab {
display: inline-flex;
align-items: center;
gap: 0.28rem;
cursor: pointer;
}
.nav-drop__caret {
font-size: 0.68rem;
opacity: 0.7;
line-height: 1;
transition: transform 0.22s ease;
pointer-events: none;
}
.nav-drop:hover .nav-drop__caret { transform: rotate(180deg); }
/* the panel - ALWAYS hidden by default */
.nav-drop__panel {
position: absolute;
top: calc(100% + 7px);
left: 50%;
transform: translateX(-50%) translateY(-5px);
min-width: 200px;
background: rgba(255, 255, 255, 0.98);
backdrop-filter: blur(18px);
border: 1px solid rgba(58, 171, 116, 0.2);
border-radius: 0.9rem;
padding: 0.4rem;
list-style: none;
margin: 0;
opacity: 0 !important;
visibility: hidden !important;
pointer-events: none !important;
display: none !important;
transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
z-index: 300;
box-shadow: 0 14px 44px rgba(30, 77, 50, 0.18);
}


/* Override all possible states - ALWAYS keep hidden unless on hover */
.nav-drop__panel[role="menu"],
[role="menu"].nav-drop__panel {
opacity: 0 !important;
visibility: hidden !important;
pointer-events: none !important;
display: none !important;
}
/* show ONLY on direct mouse hover of the nav-drop container */
.nav-drop:hover .nav-drop__panel {
opacity: 1 !important;
visibility: visible !important;
pointer-events: auto !important;
display: block !important;
transform: translateX(-50%) translateY(0) !important;
}
/* Extra override: if any other element in nav has focus or active, dropdown stays hidden */
.nav-drop__panel:focus,
.nav-drop__panel:active,
.nav-drop__panel[aria-expanded="true"] {
opacity: 0 !important;
visibility: hidden !important;
pointer-events: none !important;
display: none !important;
}
.nav-drop__panel li { list-style: none; margin: 0; }
.nav-drop__panel a {
display: block;
padding: 0.52rem 1rem;
font-size: 0.875rem;
font-weight: 500;
color: var(--text-soft);
white-space: nowrap;
border-radius: 0.55rem;
transition: color 0.15s ease, background 0.15s ease;
text-decoration: none;
}
.nav-drop__panel a:hover {
color: var(--sage-dk);
background: rgba(58, 171, 116, 0.10);
}
/* sage accent line at top of panel */
.nav-drop__panel::before {
content: "";
display: block;
height: 2px;
border-radius: 1px;
background: linear-gradient(90deg, #3aab74, #7dd4ae);
margin-bottom: 0.4rem;
border-radius: 0.55rem 0.55rem 0 0;
}
@media (prefers-reduced-motion: reduce) {
.nav-drop__panel { transition: none; }
.nav-drop__caret { transition: none; }
}
/* ---------- Inner-page nav section dropdowns ---------- */
.nav-drop {
position: relative;
display: inline-flex;
align-items: center;
}
.nav-drop__tab {
display: inline-flex;
align-items: center;
gap: 0.28rem;
cursor: pointer;
}
.nav-drop__caret {
font-size: 0.68rem;
line-height: 1;
opacity: 0.72;
transition: transform 0.2s ease, opacity 0.2s ease;
pointer-events: none;
}
.nav-drop::after {
content: "";
position: absolute;
left: -0.35rem;
right: -0.35rem;
top: 100%;
height: 0.82rem;
z-index: 299;
}
.nav-drop__panel,
.nav-drop__panel[role="menu"],
[role="menu"].nav-drop__panel {
position: absolute;
top: calc(100% + 0.24rem);
left: 50%;
z-index: 300;
display: grid !important;
gap: 0.18rem;
min-width: 210px;
max-width: min(280px, calc(100vw - 2rem));
margin: 0;
padding: 0.5rem;
list-style: none;
border: 1px solid rgba(47, 111, 82, 0.14);
border-radius: 14px;
background: linear-gradient(180deg, #ffffff, #f8fcf9);
box-shadow: 0 24px 60px -32px rgba(23, 60, 49, 0.44);
opacity: 0 !important;
visibility: hidden !important;
pointer-events: none !important;
transform: translate(-50%, -6px) scale(0.98) !important;
transform-origin: top center;
transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}
.nav-drop__panel::before {
content: "";
position: absolute;
left: 14px;
right: 14px;
top: 0;
height: 3px;
border-radius: 0 0 99px 99px;
background: linear-gradient(90deg, var(--sage, #3aab74), var(--gold, #d8a642));
margin: 0;
}
.nav-drop:hover .nav-drop__panel,
.nav-drop:focus-within .nav-drop__panel {
display: grid !important;
opacity: 1 !important;
visibility: visible !important;
pointer-events: auto !important;
transform: translate(-50%, 0) scale(1) !important;
}
.nav-drop:hover .nav-drop__caret,
.nav-drop:focus-within .nav-drop__caret {
opacity: 1;
transform: translateY(1px);
}
.nav-drop__panel.is-closing {
opacity: 0 !important;
visibility: hidden !important;
pointer-events: none !important;
}
.nav-drop__panel li {
min-width: 0;
list-style: none;
margin: 0;
}
.fs-topnav__links .nav-drop__panel a,
.nav-drop__panel a {
display: flex;
justify-content: flex-start;
width: 100%;
min-height: 34px;
padding: 0.58rem 0.68rem;
border: 0;
border-radius: 10px;
background: transparent;
box-shadow: none;
color: #355d4c;
font-size: 0.78rem;
font-weight: 700;
line-height: 1.22;
text-align: left;
white-space: normal;
text-decoration: none;
}
.fs-topnav__links .nav-drop__panel a:hover,
.fs-topnav__links .nav-drop__panel a:focus-visible,
.nav-drop__panel a:hover,
.nav-drop__panel a:focus-visible {
background: rgba(114, 169, 130, 0.13);
color: var(--ink-900, #15362d);
transform: none;
box-shadow: none;
}
:is(section, main, h1, h2, h3, .yi-eye, .section__eyebrow, .ct-hero__eyebrow, .ct-aside__eyebrow, .fs-hero__eyebrow, .pr-hero__eyebrow, .md-hero__eyebrow)[id] {
scroll-margin-top: calc(var(--site-top-h, 150px) + 18px);
}
@media (min-width: 781px) {
.fs-topnav__links > .nav-drop:nth-last-child(-n+4) .nav-drop__panel {
left: auto;
right: 0;
transform: translate(0, -6px) scale(0.98) !important;
transform-origin: top right;
}
.fs-topnav__links > .nav-drop:nth-last-child(-n+4):hover .nav-drop__panel,
.fs-topnav__links > .nav-drop:nth-last-child(-n+4):focus-within .nav-drop__panel {
transform: translate(0, 0) scale(1) !important;
}
}
@media (max-width: 780px) {
.nav-drop {
display: block;
width: 100%;
}
.nav-drop::after {
display: none;
}
.nav-drop__tab {
width: 100%;
}
.nav-drop__panel,
.nav-drop__panel[role="menu"],
[role="menu"].nav-drop__panel {
position: static;
display: none !important;
min-width: 0;
max-width: none;
margin: 0.24rem 0 0.34rem;
opacity: 1 !important;
visibility: visible !important;
pointer-events: auto !important;
transform: none !important;
box-shadow: none;
background: rgba(247, 251, 247, 0.86);
}
.nav-drop:hover .nav-drop__panel,
.nav-drop:focus-within .nav-drop__panel {
display: grid !important;
transform: none !important;
}
}
@media (prefers-reduced-motion: reduce) {
.nav-drop__panel { transition: none; }
.nav-drop__caret { transition: none; }
}
/* ---- Drifting leaves (sides of every page, injected by ux.js) ---- */
.yv-leaves {
position: fixed;
inset: 0;


pointer-events: none;
overflow: hidden;
z-index: 1; /* above page bg, below all content */
}
.yv-leaf {
position: absolute;
bottom: -60px;
opacity: 0;
font-size: var(--ls, 34px);
line-height: 1;
will-change: transform, opacity;
animation: leafDrift var(--ld, 14s) var(--del, 0s) ease-in-out infinite;
filter: drop-shadow(0 2px 5px rgba(30,77,50,0.18));
user-select: none;
}
@keyframes leafDrift {
/* float up over ~40% of the cycle, then stay invisible for ~60% as a rest */
0% { transform: translateY(0) rotate(0deg) translateX(0); opacity: 0; }
5% { opacity: 1; }
35% { transform: translateY(-52vh) rotate(var(--rh,160deg)) translateX(var(--sx,22px)); opacity: 0.85; }
44% { transform: translateY(-100vh) rotate(var(--rf,330deg)) translateX(var(--sx2,-14px)); opacity: 0; }
100% { transform: translateY(0) rotate(0deg) translateX(0); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
.yv-leaves { display: none; }
}

body,
main,
.guru-market,
:is(.section, .fs-section, .fs-hero, .fs-next, .sn-section, .sn-alt, .pr-section, .pr-alt, .md-section, .md-alt, .mu-section, .mu-section--alt, .ck-section, .ck-section--alt, .ck-what, .ck-practice, .yi-light, .yi-sand, .yn-what, .yn-benefits, .gm-hero, .gm-section, .gm-wrap, .gm-process, .pl-section, .pl-wrap, .pl-secure, .ab-section, .ct-wrap, .guru-form-wrap, .pf-head, .pf-section) {
background: var(--yv-site-bg, #f9fdfb) !important;
}
