/* Valfocus public site. No third-party resources: the typeface is served from /fonts.
   Design notes: docs/DESIGN.md. */
@font-face{font-family:"Manrope";font-style:normal;font-weight:500;font-display:swap;src:url("fonts/manrope-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:"Manrope";font-style:normal;font-weight:700;font-display:swap;src:url("fonts/manrope-latin-700-normal.woff2") format("woff2")}
@font-face{font-family:"Manrope";font-style:normal;font-weight:800;font-display:swap;src:url("fonts/manrope-latin-800-normal.woff2") format("woff2")}

:root{
  --vf-navy:#0F2A4A; --vf-navy-deep:#0A1E36; --vf-blue:#1B4F8C; --vf-amber:#E8A33D; --vf-amber-hover:#F2B95F;
  --vf-bg:#F4F6F8; --vf-surface:#FFFFFF; --vf-border:#D8DEE4; --vf-text:#1F2937; --vf-muted:#4B5766;
  --vf-blue-soft:#E6EEF7; --vf-amber-soft:#FBE7C6; --vf-on-dark:#FFFFFF; --vf-on-dark-muted:#C9D6E6; --vf-on-blue:#E6EEF7;
  --vf-font:"Manrope",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --vf-mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --vf-radius:10px;
  --vf-shadow:0 1px 2px rgba(15,42,74,.06),0 12px 32px -12px rgba(15,42,74,.22);
  --vf-shadow-deep:0 2px 4px rgba(6,18,33,.18),0 28px 56px -20px rgba(6,18,33,.6);
  --vf-section:clamp(3.5rem,8vw,6rem);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--vf-bg);color:var(--vf-text);font:500 1.0625rem/1.65 var(--vf-font);caret-color:var(--vf-blue)}
::selection{background:var(--vf-amber-soft);color:var(--vf-navy)}
a{color:var(--vf-blue);text-underline-offset:.18em;text-decoration-thickness:.08em}
a:hover{color:var(--vf-navy)}
:focus-visible{outline:3px solid var(--vf-blue);outline-offset:3px;border-radius:2px}
h1,h2,h3{text-wrap:balance}
p,dd,li{text-wrap:pretty}
@media (prefers-reduced-motion:no-preference){
  html{scroll-behavior:smooth}
  .lang a,.lang button{transition:background-color .15s ease-out,color .15s ease-out,border-color .15s ease-out}
}

/* only the active language is shown (bilingual policy pages) */
html[lang="en"] [data-l="es"], html[lang="es"] [data-l="en"]{display:none}

.wrap{max-width:72rem;margin:0 auto;padding:0 1.5rem}

/* brand and language switch (all pages) */
.brand{display:inline-flex;align-items:center;gap:.6rem;text-decoration:none;font-weight:800;font-size:1.4rem;letter-spacing:-.01em;min-height:2.75rem}
.brand svg{width:1.9rem;height:1.9rem;flex:none}
.brand .val{color:var(--vf-navy)} .brand .focus{color:var(--vf-blue)}
.lang{display:flex;gap:.4rem}
.lang button,.lang a{font:inherit;font-size:.9rem;font-weight:700;background:none;border:1px solid var(--vf-border);color:var(--vf-muted);
  min-width:2.75rem;min-height:2.75rem;padding:0 .8rem;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;border-radius:999px;text-decoration:none}
.lang a:hover,.lang button:hover{border-color:var(--vf-blue);color:var(--vf-blue)}
.lang button[aria-pressed="true"],.lang a[aria-current="page"]{background:var(--vf-navy);border-color:var(--vf-navy);color:#fff}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* buttons: the one action (book the demo) is amber with navy text, 7.8:1 */
.cta{display:inline-flex;align-items:center;justify-content:center;min-height:2.75rem;background:var(--vf-amber);color:var(--vf-navy-deep);
  text-decoration:none;font-weight:800;padding:.6rem 1.15rem;border-radius:8px;box-shadow:0 1px 2px rgba(10,30,54,.2),0 6px 16px -8px rgba(10,30,54,.45)}
.cta:hover{background:var(--vf-amber-hover);color:var(--vf-navy-deep)}
.cta-large{min-height:3.5rem;padding:.9rem 1.75rem;font-size:1.1rem}
.cta-small{font-size:.95rem}
@media (prefers-reduced-motion:no-preference){
  .cta{transition:background-color .15s ease-out,transform .2s cubic-bezier(.16,1,.3,1)}
  .cta:hover{transform:translateY(-1px)}
}

/* ---------- home (/es/, /en/) ---------- */
html:has(body.home){scroll-padding-top:5rem}

/* sticky header: the booking button is always in view */
.site-header{position:sticky;top:0;z-index:10;background:var(--vf-surface);border-bottom:1px solid var(--vf-border)}
.site-header .wrap{display:flex;align-items:center;gap:.5rem 1.25rem;min-height:4.25rem;padding-top:.6rem;padding-bottom:.6rem}
.access{margin:0 0 0 auto;display:inline-flex;align-items:center;gap:.5rem;font-size:.9rem;font-weight:700;color:var(--vf-navy)}
.access::before{content:"";width:.55rem;height:.55rem;border-radius:50%;background:var(--vf-amber);box-shadow:0 0 0 3px var(--vf-amber-soft)}

/* hero: dark band, the portal mock-up on the right */
.hero{background:radial-gradient(56rem 32rem at 88% 18%,rgba(27,79,140,.6),transparent 70%),var(--vf-navy-deep);color:var(--vf-on-dark);
  padding:clamp(3rem,7vw,6rem) 0 clamp(3.5rem,8vw,6.5rem);overflow:hidden}
.hero :focus-visible,.security :focus-visible,.closing :focus-visible,.site-footer :focus-visible{outline-color:#fff}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(2.5rem,6vw,5rem);align-items:center}
.home h1{font-weight:800;font-size:clamp(2.1rem,3.6vw,3rem);line-height:1.06;letter-spacing:-.03em;color:#fff;margin:0 0 1.5rem;max-width:21ch}
.lede{font-size:clamp(1.12rem,1.6vw,1.3rem);line-height:1.55;color:var(--vf-on-dark-muted);max-width:34rem;margin:0 0 2.25rem}
.actions{display:flex;flex-wrap:wrap;align-items:center;gap:1rem 1.75rem}
.text-link{font-weight:700;display:inline-flex;align-items:center;min-height:2.75rem;color:#fff}
.text-link:hover{color:var(--vf-amber-soft)}

/* the portal mock-up (HTML, illustrative data). Real screenshots replace the
   .mock block with one <img> inside figure.portal-shot (docs/DESIGN.md). */
.portal-shot{margin:0;position:relative;padding-top:2.75rem}
.portal-shot img{display:block;width:100%;height:auto;border-radius:12px;box-shadow:var(--vf-shadow-deep)}
.mock{position:relative}
.mock ul{list-style:none;margin:0;padding:0}
.mock-window{background:var(--vf-surface);color:var(--vf-text);border-radius:12px;box-shadow:var(--vf-shadow-deep);overflow:hidden;padding-bottom:.6rem}
.mock-bar{display:flex;align-items:center;gap:.9rem;padding:.7rem 1rem;background:var(--vf-bg);border-bottom:1px solid var(--vf-border)}
.mock-dots{display:flex;gap:.3rem}
.mock-dots i{width:.55rem;height:.55rem;border-radius:50%;background:var(--vf-border)}
.mock-client{font-weight:800;color:var(--vf-navy);font-size:.92rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mock-title{margin:0;padding:.9rem 1.1rem .45rem;font-size:.78rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--vf-muted)}
.mock-docs{padding:0 .6rem!important}
.mock-docs li{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto auto;align-items:center;gap:.7rem;padding:.6rem .5rem;border-top:1px solid var(--vf-border);font-size:.88rem}
.mock-docs li:first-child{background:var(--vf-blue-soft);border-radius:8px;border-top-color:transparent}
.mock-docs li:first-child + li{border-top-color:transparent}
.mock-file{width:1.15rem;height:1.15rem;color:var(--vf-blue)}
.mock-name{font:500 .84rem/1.3 var(--vf-mono);color:var(--vf-navy);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mock-type{font-size:.75rem;font-weight:700;color:var(--vf-blue);background:var(--vf-surface);border:1px solid var(--vf-blue-soft);border-radius:999px;padding:.1rem .55rem;white-space:nowrap}
.mock-date{color:var(--vf-muted);font-size:.8rem;font-variant-numeric:tabular-nums;white-space:nowrap}
.mock-dl{display:grid;place-items:center;width:1.9rem;height:1.9rem;border-radius:6px;border:1px solid var(--vf-border);background:var(--vf-surface);color:var(--vf-blue)}
.mock-dl .ic{width:1rem;height:1rem}
/* the activity card overlaps only the last row, never the first three download buttons */
.mock-log{position:relative;width:min(17.5rem,72%);margin:-3.1rem 0 0 -1rem;background:var(--vf-surface);color:var(--vf-text);border-radius:10px;box-shadow:var(--vf-shadow-deep);padding-bottom:.65rem}
.mock-log .mock-title{padding-top:.8rem}
.mock-log li{display:flex;justify-content:space-between;align-items:center;gap:.75rem;padding:.3rem 1.1rem;font-size:.84rem}
.mock-log li span{display:inline-flex;align-items:center;gap:.5rem}
.mock-log li span::before{content:"";width:.45rem;height:.45rem;border-radius:50%;background:var(--vf-amber);flex:none}
.mock-log time{font-variant-numeric:tabular-nums;font-weight:800;color:var(--vf-navy);white-space:nowrap}
.mock-mail{position:absolute;top:-3.1rem;right:-.75rem;display:flex;align-items:center;gap:.75rem;background:var(--vf-surface);color:var(--vf-text);
  border-radius:10px;box-shadow:var(--vf-shadow-deep);padding:.65rem 1rem .65rem .7rem}
.mock-mail-icon{display:grid;place-items:center;width:2.25rem;height:2.25rem;border-radius:50%;background:var(--vf-amber);color:var(--vf-navy-deep);flex:none}
.mock-mail-icon .ic{width:1.15rem;height:1.15rem}
.mock-mail strong{display:block;font-size:.9rem;color:var(--vf-navy);line-height:1.3}
.mock-mail-link{font-size:.8rem;font-weight:700;color:var(--vf-blue);text-decoration:underline;text-underline-offset:.18em}
.portal-shot figcaption{margin-top:1rem}
.tag{display:inline-block;font-size:.8rem;font-weight:700;letter-spacing:.02em;color:var(--vf-on-dark-muted);border:1px dashed var(--vf-on-dark-muted);border-radius:999px;padding:.15rem .75rem}
@media (prefers-reduced-motion:no-preference){
  .mock-mail{animation:vf-arrive .7s cubic-bezier(.16,1,.3,1) .5s both}
}
@keyframes vf-arrive{from{opacity:0;transform:translateY(-.6rem)}to{opacity:1;transform:none}}

/* sections */
.home main > section{padding:var(--vf-section) 0}
.home h2{font-weight:800;font-size:clamp(1.75rem,3.4vw,2.6rem);line-height:1.12;letter-spacing:-.024em;color:var(--vf-navy);margin:0 0 2.5rem;max-width:24ch}
.home h3{font-weight:800;font-size:1.15rem;line-height:1.3;color:var(--vf-navy);margin:0 0 .45rem}
.ic{width:1.5rem;height:1.5rem;flex:none}

/* cards: the problem and the audience */
.problem,.audience{background:var(--vf-bg)}
.cards{list-style:none;margin:0;padding:0;display:grid;gap:1.25rem}
.cards-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.card{background:var(--vf-surface);border:1px solid var(--vf-border);border-radius:12px;padding:1.6rem 1.5rem 1.7rem}
.card p{margin:0;color:var(--vf-muted)}
.badge{display:grid;place-items:center;width:3rem;height:3rem;border-radius:10px;background:var(--vf-blue-soft);color:var(--vf-blue);margin-bottom:1.1rem}
.badge .ic{width:1.6rem;height:1.6rem}
.problem .badge{background:var(--vf-amber-soft);color:var(--vf-navy)}
.doc-chips{list-style:none;margin:.35rem 0 .7rem;padding:0;display:flex;flex-wrap:wrap;gap:.45rem}
.doc-chips li{display:inline-flex;align-items:center;gap:.35rem;font-size:.86rem;font-weight:700;color:var(--vf-navy);background:var(--vf-bg);border:1px solid var(--vf-border);border-radius:8px;padding:.3rem .6rem}
.doc-chips .ic{width:.95rem;height:.95rem;color:var(--vf-blue)}
.audience .card p{font-size:.95rem}
.sectors-close{margin:2rem 0 0;font-weight:700;color:var(--vf-navy);max-width:44rem}

/* how it works: four numbered steps, each with a small picture of the step */
.how{background:var(--vf-surface)}
.steps{list-style:none;margin:0;padding:0;counter-reset:step;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2.5rem 1.5rem}
.steps > li{counter-increment:step;display:flex;flex-direction:column}
.steps > li::before{content:counter(step);font-weight:800;font-size:3rem;line-height:1;letter-spacing:-.04em;color:var(--vf-blue);margin-bottom:1rem;font-variant-numeric:tabular-nums}
.steps p{margin:0;color:var(--vf-muted)}
.mini{height:9.75rem;border-radius:12px;background:var(--vf-bg);border:1px solid var(--vf-border);margin-bottom:1.25rem;padding:1rem;
  display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:.55rem;font-size:.8rem;overflow:hidden}
.mini .ic{width:1rem;height:1rem;color:var(--vf-blue)}
.mini .mini-arrow{color:var(--vf-muted)}
.mini-chip{display:inline-flex;align-items:center;gap:.4rem;min-width:0;max-width:100%;background:var(--vf-surface);border:1px solid var(--vf-border);border-radius:8px;
  padding:.35rem .55rem;font:500 .76rem/1.3 var(--vf-mono);color:var(--vf-navy);box-shadow:0 1px 2px rgba(15,42,74,.08)}
.mini-chip > span:not(.mini-dl){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.mini-chip.is-unknown{border-style:dashed;color:var(--vf-muted)}
.mini-folder .mini-arrow{transform:rotate(90deg);margin-left:.6rem}
.mini-box{display:inline-flex;align-items:center;gap:.45rem;font-weight:700;color:var(--vf-navy);background:var(--vf-blue-soft);border-radius:8px;padding:.45rem .7rem}
.mini-row{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem .4rem;max-width:100%;min-width:0}
.mini-row .mini-chip{flex:0 1 auto}
.mini-pill{flex:none;background:var(--vf-navy);color:#fff;font-weight:700;font-size:.74rem;border-radius:999px;padding:.25rem .6rem;white-space:nowrap}
.mini-pill.is-review{background:var(--vf-amber-soft);color:var(--vf-navy)}
.mini-dl{display:grid;place-items:center;width:1.5rem;height:1.5rem;border-radius:5px;background:var(--vf-blue);margin-left:.25rem;flex:none}
.mini-dl .ic{color:#fff;width:.85rem;height:.85rem}
.mini-logline{display:inline-flex;align-items:center;gap:.4rem;font-weight:700;color:var(--vf-navy)}
.mini-logline time{font-weight:500;color:var(--vf-muted);font-variant-numeric:tabular-nums}
.mini-mail{background:var(--vf-surface)}
.mini-mailhead{display:inline-flex;align-items:center;gap:.45rem;color:var(--vf-muted);font-weight:700}
.mini .mini-mailhead .ic{width:1.5rem;height:1.5rem;padding:.25rem;border-radius:50%;background:var(--vf-amber);color:var(--vf-navy-deep)}
.mini-subject{font-size:1rem;font-weight:800;color:var(--vf-navy)}
.mini-button{background:var(--vf-navy);color:#fff;font-weight:700;border-radius:6px;padding:.3rem .7rem}
.how-cta{margin-top:3rem;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.25rem 2rem;padding:1.5rem 1.75rem;background:var(--vf-blue-soft);border-radius:14px}
.how-cta p{margin:0;font-weight:700;color:var(--vf-navy);max-width:34rem}

/* the client's view: a real screenshot with illustrative data, in a plain
   browser frame (no address bar, so no domain) */
.showcase{background:var(--vf-bg)}
.home .showcase h2{margin-bottom:.75rem}
.showcase-lede{margin:0 0 2.5rem;font-size:1.12rem;color:var(--vf-muted);max-width:40rem}
.browser-shot{margin:0}
.browser{background:var(--vf-surface);border:1px solid var(--vf-border);border-radius:14px;overflow:hidden;box-shadow:var(--vf-shadow)}
.browser-bar{display:flex;align-items:center;padding:.65rem 1rem;background:var(--vf-bg);border-bottom:1px solid var(--vf-border)}
.browser img{display:block;width:100%;height:auto}
.browser-shot figcaption{margin-top:1rem}
.showcase .tag{color:var(--vf-muted);border-color:var(--vf-muted)}

/* security: six facts on the navy band */
.security{background:var(--vf-navy);color:var(--vf-on-dark-muted)}
.home .security h2{color:#fff}
.facts{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.facts li{display:flex;gap:1rem;align-items:flex-start;padding:1.35rem 1.4rem;border-radius:12px;background:rgba(255,255,255,.05);border:1px solid rgba(201,214,230,.2)}
.facts .ic{width:1.75rem;height:1.75rem;color:var(--vf-amber);margin-top:.1rem}
.facts p{margin:0}
.facts strong{display:block;color:#fff;font-weight:800;margin-bottom:.2rem}

/* questions: native <details>, no JavaScript */
.faq{background:var(--vf-surface)}
.faq-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:2rem clamp(2rem,6vw,5rem);align-items:start}
.home .faq-grid > h2{margin:0}
.faq-list details{border-top:1px solid var(--vf-border)}
.faq-list details:last-child{border-bottom:1px solid var(--vf-border)}
.faq-list summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:1rem;min-height:3.5rem;padding:.9rem 0;
  font-weight:800;font-size:1.08rem;color:var(--vf-navy)}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{content:"";flex:none;width:.65rem;height:.65rem;margin:0 .45rem .3rem 0;border-right:2px solid var(--vf-blue);border-bottom:2px solid var(--vf-blue);transform:rotate(45deg)}
.faq-list details[open] summary::after{transform:rotate(-135deg);margin-bottom:-.3rem}
.faq-list summary:hover{color:var(--vf-blue)}
.faq-list details p{margin:0 0 1.25rem;color:var(--vf-muted);max-width:40rem}
@media (prefers-reduced-motion:no-preference){
  .faq-list summary::after{transition:transform .2s cubic-bezier(.16,1,.3,1)}
}

/* closing band */
.closing{background:var(--vf-blue);color:var(--vf-on-blue)}
.home .closing h2{color:#fff;max-width:none;font-size:clamp(2rem,4.5vw,3rem);margin-bottom:1rem}
.closing p{max-width:40rem;margin:0 0 2rem;font-size:1.12rem}
.closing a:not(.cta){color:#fff}

.site-footer{background:var(--vf-navy-deep);color:var(--vf-on-dark-muted);padding:2rem 0 2.5rem;font-size:.95rem}
.site-footer .wrap{display:flex;flex-wrap:wrap;align-items:center;gap:1rem 2rem}
.site-footer .copyright{margin:0}
.footer-links{display:flex;flex-wrap:wrap;gap:.25rem 1.5rem}
.footer-links a{color:#fff;display:inline-flex;align-items:center;min-height:2.75rem}
.site-footer .lang{margin-left:auto}
.site-footer .lang a{border-color:rgba(201,214,230,.5);color:var(--vf-on-dark)}
.site-footer .lang a:hover{border-color:#fff;color:#fff}
.site-footer .lang a[aria-current="page"]{background:#fff;border-color:#fff;color:var(--vf-navy)}

@media (max-width:64rem){
  .steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .facts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:52rem){
  .hero-grid,.faq-grid{grid-template-columns:1fr}
  .portal-shot{max-width:34rem}
  .site-header .access{display:none}
  .site-header .lang{margin-left:auto}
  .cards-3{grid-template-columns:1fr}
  .card{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:1.1rem;align-items:start}
  .card .badge{grid-row:span 3;margin:0}
}
@media (max-width:40rem){
  .wrap{padding:0 1rem}
  .site-header .wrap{gap:.5rem;min-height:3.75rem}
  .site-header .lang a[aria-current="page"]{display:none}
  .brand{font-size:1.2rem}
  .brand svg{width:1.6rem;height:1.6rem}
  .cta-small{padding:.5rem .85rem;font-size:.9rem}
  .steps,.facts{grid-template-columns:1fr}
  .actions .cta,.how-cta .cta,.closing .cta{width:100%}
  .how-cta{padding:1.25rem}
  .card{padding:1.25rem}
  .portal-shot{padding-top:0}
  .mock{display:flex;flex-direction:column;gap:.75rem}
  .mock-mail{position:static;width:auto}
  .mock-log{width:82%;margin:-3.75rem 0 0 -.25rem}
  .mock-mail{order:-1;align-self:flex-start}
  .mock-date,.mock-type{display:none}
  .site-footer .lang{margin-left:0}
}

/* ---------- language selector (/), 404 and policy pages ---------- */
.wrap > header{display:flex;align-items:center;justify-content:space-between;padding:1.5rem 0}
.wrap > footer,body > footer:not(.site-footer){border-top:1px solid var(--vf-border);padding:1.75rem 0 3rem;font-size:.95rem;color:var(--vf-muted)}
body > footer:not(.site-footer) .wrap{display:flex;gap:1rem 1.5rem;justify-content:space-between;flex-wrap:wrap}
body > footer:not(.site-footer) nav{display:flex;gap:.25rem 1.25rem;flex-wrap:wrap}
body > footer:not(.site-footer) nav a{display:inline-block;padding:.65rem 0}
.pick{padding:3rem 0 4rem}
.pick h1,.doc h1{font-weight:800;line-height:1.1;letter-spacing:-.025em;color:var(--vf-navy)}
.pick h1{font-size:clamp(2rem,4.4vw,3rem);margin:0 0 .75rem}
.pick h2{font-weight:800;font-size:clamp(1.5rem,3vw,2rem);color:var(--vf-navy);margin:0 0 .75rem}
.pick p{color:var(--vf-muted);max-width:40rem}
.pick-list{list-style:none;padding:0;margin:2rem 0 0;display:flex;flex-wrap:wrap;gap:1rem}
.pick .both + .both{margin-top:2.5rem;padding-top:2rem;border-top:1px solid var(--vf-border)}

.doc{max-width:46rem;padding:1.5rem 0 4rem}
.doc h1{font-size:clamp(1.8rem,3.6vw,2.4rem);margin:0 0 .4rem}
.doc .updated{color:var(--vf-muted);font-size:.95rem;margin:0 0 2rem}
.doc h2{font-weight:800;font-size:1.2rem;color:var(--vf-navy);margin:2.2rem 0 .5rem}
.doc ul{padding-left:1.25rem;margin:.5rem 0 1rem}
.doc li{margin:.3rem 0}
.doc .box{background:#fff;border:1px solid var(--vf-border);border-radius:10px;padding:1rem 1.2rem;margin:1.2rem 0}

/* cookie banner and its footer control: consent.js builds them only when
   ANALYTICS_ENABLED is on. Fixed at the bottom (no layout shift), both
   choices with the same weight, 44px targets. */
.consent{position:fixed;z-index:20;left:1rem;right:1rem;bottom:1rem;max-width:46rem;margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.25rem;
  background:var(--vf-surface);color:var(--vf-text);border:1px solid var(--vf-border);border-radius:12px;box-shadow:var(--vf-shadow-deep);padding:1rem 1.25rem;font-size:.95rem;line-height:1.5}
.consent[hidden]{display:none}
.consent p{margin:0;flex:1 1 22rem}
.consent a{color:var(--vf-blue);font-weight:700}
.consent a:hover{color:var(--vf-navy)}
.consent-actions{display:flex;gap:.75rem}
.consent-button{font:inherit;font-weight:800;min-height:2.75rem;min-width:7.5rem;padding:.55rem 1.25rem;border:2px solid var(--vf-navy);border-radius:8px;background:var(--vf-surface);color:var(--vf-navy);cursor:pointer}
.consent-button:hover{background:var(--vf-blue-soft)}
html.consent-open body{padding-bottom:var(--vf-consent-space,0)}
.consent-prefs{font:inherit;background:none;border:0;margin:0;padding:0;cursor:pointer;text-decoration:underline;text-underline-offset:.18em;text-decoration-thickness:.08em}
.footer-links .consent-prefs{color:#fff;min-height:2.75rem}
body > footer:not(.site-footer) nav .consent-prefs{color:var(--vf-blue);padding:.65rem 0}
@media (max-width:40rem){
  .consent{left:.5rem;right:.5rem;bottom:.5rem;padding:.9rem 1rem;font-size:.9rem}
  .consent-actions{flex:1 1 100%}
  .consent-button{flex:1 1 0;min-width:0}
}
@media (prefers-reduced-motion:no-preference){
  .consent{animation:vf-consent-in .3s cubic-bezier(.16,1,.3,1)}
}
@keyframes vf-consent-in{from{opacity:0;transform:translateY(1rem)}to{opacity:1;transform:none}}
