/* vaayaa Research Papers: standalone stylesheet. Loaded only on /research-papers pages.
   Every rule is scoped under .vrp-section (or uses the vrp- prefix). Never merged into app.css. */

.vrp-section{--t:#049f82;--td:#005F4E;--g:#F4C430;--dg:#06752E;--ink:#0f172a;--ink2:#334155;--mute:#64748b;--line:#e2e8f0;--bg:#f6faf9;--card:#fff;--r:16px;
  --serif:ui-serif,Georgia,Cambria,"Times New Roman",serif;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--ink);background:var(--bg);line-height:1.6;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.vrp-section *,.vrp-section *::before,.vrp-section *::after{box-sizing:border-box}
.vrp-section a{color:inherit;text-decoration:none}
.vrp-section h1,.vrp-section h2,.vrp-section h3,.vrp-section p,.vrp-section ul,.vrp-section ol,.vrp-section figure{margin:0;padding:0}
.vrp-section ul,.vrp-section ol{list-style:none}
.vrp-section :focus-visible{outline:3px solid var(--g);outline-offset:2px;border-radius:6px}
.vrp-section .vrp-ico{width:1.25em;height:1.25em;flex:none}
.vrp-section .vrp-wrap{width:100%;max-width:1180px;margin:0 auto;padding:0 20px}
.vrp-section .vrp-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* progress bar */
.vrp-section .vrp-progress{position:fixed;left:0;top:0;height:3px;width:100%;z-index:60;background:transparent;pointer-events:none}
.vrp-section .vrp-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--t),var(--g))}

/* hero */
.vrp-section .vrp-hero{position:relative;overflow:hidden;color:#fff;padding:64px 0 56px;
  background:radial-gradient(900px 400px at 85% -10%,rgba(244,196,48,.22),transparent 60%),radial-gradient(700px 420px at 0% 110%,rgba(4,159,130,.55),transparent 60%),linear-gradient(135deg,#00382e 0%,var(--td) 45%,#04846c 100%)}
.vrp-section .vrp-hero::after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);background-size:44px 44px;mask-image:radial-gradient(ellipse at 70% 30%,#000 10%,transparent 70%);-webkit-mask-image:radial-gradient(ellipse at 70% 30%,#000 10%,transparent 70%);pointer-events:none}
.vrp-section .vrp-hero .vrp-wrap{position:relative;z-index:1}
.vrp-section .vrp-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:.78rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--g)}
.vrp-section .vrp-h1{font-family:var(--serif);font-weight:700;font-size:clamp(2.1rem,5vw,3.6rem);line-height:1.1;letter-spacing:-.02em;margin:14px 0 14px;max-width:20ch}
.vrp-section .vrp-hero--paper .vrp-h1{max-width:26ch;font-size:clamp(1.9rem,4.4vw,3.1rem)}
.vrp-section .vrp-lead{font-size:clamp(1.02rem,1.6vw,1.2rem);color:rgba(255,255,255,.88);max-width:62ch}
.vrp-section .vrp-search{display:flex;gap:8px;margin-top:26px;max-width:560px;background:#fff;border-radius:14px;padding:6px;box-shadow:0 12px 30px -10px rgba(0,0,0,.45)}
.vrp-section .vrp-search input{flex:1;min-width:0;border:0;background:transparent;padding:10px 12px;font:inherit;color:var(--ink);outline:0}
.vrp-section .vrp-search button{display:inline-flex;align-items:center;gap:8px;border:0;cursor:pointer;background:var(--td);color:#fff;font:inherit;font-weight:600;padding:10px 18px;border-radius:10px}
.vrp-section .vrp-search button:hover{background:var(--dg)}
.vrp-section .vrp-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.vrp-section .vrp-chip{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border-radius:999px;font-size:.86rem;font-weight:600;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.28);color:#fff;transition:background .2s}
.vrp-section .vrp-chip:hover,.vrp-section .vrp-chip.is-on{background:#fff;color:var(--td)}

/* crumbs */
.vrp-section .vrp-crumbs{display:flex;flex-wrap:wrap;gap:6px;font-size:.84rem;color:rgba(255,255,255,.78);margin-bottom:18px}
.vrp-section .vrp-crumbs a:hover{color:#fff;text-decoration:underline}
.vrp-section .vrp-crumbs span[aria-hidden]{opacity:.6}

/* sections */
.vrp-section .vrp-block{padding:56px 0}
.vrp-section .vrp-block--white{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.vrp-section .vrp-h2{font-family:var(--serif);font-size:clamp(1.5rem,3vw,2.1rem);line-height:1.2;letter-spacing:-.01em;color:var(--td);margin-bottom:8px}
.vrp-section .vrp-sub{color:var(--mute);max-width:64ch;margin-bottom:28px}

/* grids + cards */
.vrp-section .vrp-grid{display:grid;gap:18px;grid-template-columns:repeat(auto-fill,minmax(270px,1fr))}
.vrp-section .vrp-cat{display:flex;flex-direction:column;gap:10px;padding:22px;background:var(--card);border:1px solid var(--line);border-radius:var(--r);transition:transform .2s,box-shadow .2s,border-color .2s}
.vrp-section .vrp-cat:hover{transform:translateY(-3px);box-shadow:0 14px 30px -14px rgba(0,95,78,.45);border-color:var(--t)}
.vrp-section .vrp-cat .vrp-badge{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(4,159,130,.14),rgba(4,159,130,.04));color:var(--td)}
.vrp-section .vrp-cat .vrp-badge .vrp-ico{width:24px;height:24px}
.vrp-section .vrp-cat h3{font-family:var(--serif);font-size:1.2rem;color:var(--ink)}
.vrp-section .vrp-cat p{color:var(--mute);font-size:.94rem;flex:1}
.vrp-section .vrp-more{display:inline-flex;align-items:center;gap:6px;color:var(--td);font-weight:700;font-size:.9rem}
.vrp-section .vrp-cat:hover .vrp-more .vrp-ico,.vrp-section .vrp-card:hover .vrp-more .vrp-ico{transform:translateX(3px)}
.vrp-section .vrp-more .vrp-ico{transition:transform .2s;width:1.1em;height:1.1em}

.vrp-section .vrp-card{display:flex;flex-direction:column;gap:10px;padding:22px;background:var(--card);border:1px solid var(--line);border-radius:var(--r);border-top:4px solid var(--t);transition:transform .2s,box-shadow .2s}
.vrp-section .vrp-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px -14px rgba(0,95,78,.45)}
.vrp-section .vrp-card h3{font-family:var(--serif);font-size:1.18rem;line-height:1.3;color:var(--ink)}
.vrp-section .vrp-card p{color:var(--ink2);font-size:.94rem;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;flex:1}
.vrp-section .vrp-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;color:var(--mute);font-size:.84rem}
.vrp-section .vrp-meta span{display:inline-flex;align-items:center;gap:5px}
.vrp-section .vrp-pill{display:inline-flex;align-self:flex-start;padding:3px 10px;border-radius:999px;font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;background:rgba(4,159,130,.12);color:var(--td)}
.vrp-section .vrp-hero .vrp-pill{background:rgba(255,255,255,.16);color:#fff}

.vrp-section .vrp-empty{padding:28px;border:1px dashed var(--t);border-radius:var(--r);background:#fff;color:var(--ink2)}
.vrp-section .vrp-empty strong{color:var(--td)}

/* benefits */
.vrp-section .vrp-perks{display:grid;gap:22px;grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
.vrp-section .vrp-perk .vrp-ico{width:28px;height:28px;color:var(--t);margin-bottom:8px}
.vrp-section .vrp-perk h3{font-size:1.05rem;margin-bottom:4px;color:var(--td)}
.vrp-section .vrp-perk p{color:var(--ink2);font-size:.95rem}

/* cta */
.vrp-section .vrp-cta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px;padding:28px;border-radius:var(--r);color:#fff;background:linear-gradient(135deg,var(--td),var(--dg))}
.vrp-section .vrp-cta h2,.vrp-section .vrp-cta h3{font-family:var(--serif);font-size:1.4rem}
.vrp-section .vrp-cta p{color:rgba(255,255,255,.88);max-width:56ch}
.vrp-section .vrp-btn{display:inline-flex;align-items:center;gap:8px;padding:12px 22px;border-radius:12px;font-weight:700;background:var(--g);color:#1f2937;transition:transform .15s,filter .2s}
.vrp-section .vrp-btn:hover{transform:translateY(-2px);filter:brightness(1.05)}
.vrp-section .vrp-btn--ghost{background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.4)}

/* pager */
.vrp-section .vrp-pager{display:flex;justify-content:center;align-items:center;gap:14px;margin-top:34px;color:var(--mute);font-size:.92rem}
.vrp-section .vrp-pager a{padding:9px 18px;border-radius:10px;background:#fff;border:1px solid var(--line);color:var(--td);font-weight:600}
.vrp-section .vrp-pager a:hover{border-color:var(--t)}

/* paper layout */
.vrp-section .vrp-paper-meta{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:20px;color:rgba(255,255,255,.88);font-size:.92rem}
.vrp-section .vrp-paper-meta span{display:inline-flex;align-items:center;gap:6px}
.vrp-section .vrp-layout{display:grid;gap:40px;grid-template-columns:minmax(0,1fr);padding:40px 0 64px}
@media(min-width:1000px){.vrp-section .vrp-layout{grid-template-columns:250px minmax(0,1fr)}}
.vrp-section .vrp-toc{display:none}
@media(min-width:1000px){.vrp-section .vrp-toc{display:block;position:sticky;top:96px;align-self:start;max-height:calc(100vh - 120px);overflow:auto;font-size:.9rem}}
.vrp-section .vrp-toc h2{font-size:.74rem;letter-spacing:.12em;text-transform:uppercase;color:var(--mute);margin-bottom:10px}
.vrp-section .vrp-toc a{display:block;padding:7px 12px;color:var(--mute);border-left:2px solid var(--line);transition:all .2s}
.vrp-section .vrp-toc a:hover{color:var(--td)}
.vrp-section .vrp-toc a.is-active{color:var(--td);font-weight:700;border-left-color:var(--t);background:rgba(4,159,130,.07)}
.vrp-section .vrp-toc-m{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 16px;margin-bottom:6px}
.vrp-section .vrp-toc-m summary{cursor:pointer;font-weight:700;color:var(--td)}
.vrp-section .vrp-toc-m ol{margin-top:10px}
.vrp-section .vrp-toc-m a{display:block;padding:6px 0;color:var(--ink2)}
@media(min-width:1000px){.vrp-section .vrp-toc-m{display:none}}

.vrp-section .vrp-prose{max-width:72ch;font-size:1.1rem;line-height:1.8;color:#1e293b}
.vrp-section .vrp-prose p{margin-bottom:1.25rem}
.vrp-section .vrp-abstract{font-family:var(--serif);font-size:1.22rem;line-height:1.7;color:var(--ink);padding:24px 26px;background:#fff;border:1px solid var(--line);border-left:5px solid var(--t);border-radius:0 var(--r) var(--r) 0;margin-bottom:26px}
.vrp-section .vrp-abstract small{display:block;font-family:system-ui,sans-serif;font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--td);margin-bottom:8px}
.vrp-section .vrp-take{padding:22px 24px;border-radius:var(--r);background:linear-gradient(180deg,#fff,#f0fbf8);border:1px solid rgba(4,159,130,.3);border-top:4px solid var(--g);margin-bottom:34px}
.vrp-section .vrp-take h2{font-size:1.2rem;color:var(--td);margin-bottom:10px;font-family:var(--serif)}
.vrp-section .vrp-take li{display:flex;gap:10px;margin:8px 0;font-size:1rem;line-height:1.55}
.vrp-section .vrp-take .vrp-ico{color:var(--t);margin-top:2px}
.vrp-section .vrp-sec{scroll-margin-top:96px;margin-bottom:34px}
.vrp-section .vrp-sec h2{font-family:var(--serif);font-size:clamp(1.4rem,2.6vw,1.8rem);line-height:1.25;color:var(--td);margin-bottom:14px;display:flex;gap:12px;align-items:baseline}
.vrp-section .vrp-sec h2 b{font-family:system-ui,sans-serif;font-size:.8rem;color:#fff;background:var(--t);border-radius:8px;padding:3px 9px;flex:none}
.vrp-section .vrp-faq{margin-top:10px}
.vrp-section .vrp-faq details{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 18px;margin-bottom:10px}
.vrp-section .vrp-faq summary{cursor:pointer;font-weight:700;color:var(--td);list-style:none;display:flex;justify-content:space-between;gap:12px}
.vrp-section .vrp-faq summary::-webkit-details-marker{display:none}
.vrp-section .vrp-faq summary::after{content:"+";font-size:1.3rem;line-height:1;color:var(--t)}
.vrp-section .vrp-faq details[open] summary::after{content:"\2212"}
.vrp-section .vrp-faq p{margin-top:10px;font-size:1rem;line-height:1.7;color:var(--ink2)}
.vrp-section .vrp-learn{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));margin:30px 0}
.vrp-section .vrp-learn a{display:flex;align-items:center;gap:12px;padding:16px 18px;background:#fff;border:1px solid var(--line);border-radius:14px;font-weight:700;color:var(--td);transition:border-color .2s,transform .2s}
.vrp-section .vrp-learn a:hover{border-color:var(--t);transform:translateY(-2px)}
.vrp-section .vrp-learn small{display:block;font-weight:500;color:var(--mute)}
.vrp-section .vrp-cite{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 18px;margin-top:26px;font-size:.92rem;color:var(--ink2)}
.vrp-section .vrp-cite summary{cursor:pointer;font-weight:700;color:var(--td)}
.vrp-section .vrp-cite pre{white-space:pre-wrap;word-break:break-word;font:inherit;margin:10px 0}
.vrp-section .vrp-cite button{border:1px solid var(--t);background:#fff;color:var(--td);border-radius:8px;padding:6px 14px;font:inherit;font-weight:600;cursor:pointer}

@media(max-width:640px){
  .vrp-section .vrp-hero{padding:44px 0 40px}
  .vrp-section .vrp-block{padding:40px 0}
  .vrp-section .vrp-search{flex-direction:column}
  .vrp-section .vrp-prose{font-size:1.04rem}
  .vrp-section .vrp-abstract{font-size:1.06rem;line-height:1.65;padding:18px 20px}
}
@media(prefers-reduced-motion:reduce){.vrp-section *{transition:none!important;scroll-behavior:auto!important}}
@media print{
  .vrp-section{background:#fff!important;color:#000!important}
  .vrp-section .vrp-hero{background:#fff!important;color:#000!important;padding:0 0 12px}
  .vrp-section .vrp-hero *{color:#000!important}
  .vrp-section .vrp-progress,.vrp-section .vrp-toc,.vrp-section .vrp-toc-m,.vrp-section .vrp-learn,.vrp-section .vrp-cta,.vrp-section .vrp-related,.vrp-section .vrp-cite,.vrp-section .vrp-crumbs{display:none!important}
  .vrp-section .vrp-layout{display:block;padding:0}
  .vrp-section .vrp-prose{max-width:100%;font-size:11pt}
  .vrp-section .vrp-faq details{border:0;padding:0}
  .vrp-section .vrp-faq details>*{display:block}
}
