/* Privacy Policy and Cookie Policy pages: the same look as the rest of the DOVAQ website
   (colours, fonts, header, footer). Light is the default; dark only if the visitor chose it
   with the switch on the home page. */
:root{--bg:#f5f7fb;--bg-elev:#fff;--bg-sunk:#eaf0f8;--ink:#081426;--ink-2:#3e4c66;--ink-3:#5a6882;--line:rgba(8,20,38,.1);--line-strong:rgba(8,20,38,.18);--accent:#1e6bff;--accent-hover:#1458e0;--accent-text:#1556d6;--accent-soft:rgba(30,107,255,.09);--header:rgba(245,247,251,.86);--shadow:0 1px 2px rgba(8,20,38,.05),0 22px 44px -22px rgba(8,20,38,.3);--font-display:"Poppins","Montserrat",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;--font-body:"Inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;--gutter:clamp(16px,4.4vw,48px);--maxw:1240px;color-scheme:light}
:root[data-theme="dark"]{--bg:#05070d;--bg-elev:#0b1322;--bg-sunk:#09101c;--ink:#eef3fb;--ink-2:#a9b5c9;--ink-3:#8794ab;--line:rgba(143,211,255,.1);--line-strong:rgba(143,211,255,.2);--accent-text:#8fd3ff;--accent-soft:rgba(30,107,255,.16);--header:rgba(5,7,13,.82);--shadow:0 1px 2px rgba(0,0,0,.3),0 22px 44px -22px rgba(0,0,0,.7);color-scheme:dark}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font:400 1rem/1.7 var(--font-body);min-height:100vh;display:flex;flex-direction:column}
img{max-width:100%;height:auto}
.wrap{width:100%;max-width:var(--maxw);margin-inline:auto;padding-inline:var(--gutter)}
.skip-link{position:absolute;left:-9999px;top:8px;z-index:100;padding:10px 16px;border-radius:10px;background:var(--accent);color:#fff;font-weight:600;text-decoration:none}
.skip-link:focus{left:8px}

/* The site header (logo, menu, theme switch, Start journey) is the home page's own, added by build/site-header.mjs. */

/* page */
.policy-page{flex:1;padding-block:clamp(32px,5vw,72px) clamp(56px,7vw,104px)}
.eyebrow{margin:0 0 12px;font:600 .75rem/1.2 var(--font-display);letter-spacing:.2em;text-transform:uppercase;color:var(--accent-text)}
.policy-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}
.policy-tabs a{display:inline-flex;align-items:center;min-height:38px;padding:0 1rem;border-radius:999px;background:var(--bg-elev);border:1px solid var(--line);font-size:.875rem;font-weight:500;color:var(--ink-2);text-decoration:none}
.policy-tabs a:hover{color:var(--accent-text);border-color:var(--accent)}
.policy-tabs a[aria-current="page"]{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:600}

/* the document */
.policy-card{background:var(--bg-elev);border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);padding:clamp(22px,4.5vw,56px)}
.prose{color:var(--ink-2);font-size:1.0625rem;overflow-wrap:anywhere}
.prose h1,.prose h2,.prose h3{font-family:var(--font-display);font-weight:500;letter-spacing:-.02em;color:var(--ink);text-wrap:balance}
.prose h1{margin:0 0 .5rem;font-size:clamp(2rem,1.4rem + 2.4vw,3rem);line-height:1.12}
.prose h2{margin:2.4rem 0 .8rem;padding-top:.2rem;font-size:clamp(1.3rem,1.15rem + .6vw,1.65rem);line-height:1.25}
.prose h3{margin:1.8rem 0 .6rem;font-size:1.2rem;line-height:1.3}
.prose p,.prose ul,.prose ol{margin:0 0 1.05rem}
.prose strong,.prose b{color:var(--ink);font-weight:600}
.prose a{color:var(--accent-text);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.18em}
.prose a:hover{text-decoration-thickness:2px}
.prose ul,.prose ol{padding-left:1.4rem}
.prose li{margin:.4rem 0}
.prose li::marker{color:var(--accent)}
.prose hr{border:0;border-top:1px solid var(--line);margin:2rem 0}
.prose code{padding:.12em .4em;border-radius:6px;background:var(--bg-sunk);color:var(--ink);font:500 .92em ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.prose table{width:100%;border-collapse:collapse;font-size:.95rem;margin:0 0 1.2rem}
.prose th,.prose td{border:1px solid var(--line);padding:8px 10px;text-align:left;vertical-align:top}
.prose th{background:var(--bg-sunk);color:var(--ink)}
/* the "Last updated" line right under the title */
.prose h1 + p{margin-bottom:1.4rem;color:var(--ink-3);font-size:.95rem}
.prose h1 + p strong{color:var(--ink-3);font-weight:500}

/* The cookie banner and panel (consent.css) read --ink and --paper. In dark mode this page changes
   --ink, which would turn the banner light with light text, so give them their own fixed colours. */
#dovaq-consent-banner,#dovaq-consent-dialog{--ink:#0A0F1A;--paper:#EEF4FF}
/* the cookie choices panel the cookie page adds (its own dark card) */
#cookie-preferences{margin-top:24px}
#cookie-preferences #dovaq-consent-dialog{margin:0}

/* footer */
.site-footer{border-top:1px solid var(--line);padding:32px 0;color:var(--ink-3);font-size:.875rem}
.site-footer .wrap{display:flex;flex-wrap:wrap;gap:12px 24px;justify-content:space-between;align-items:center}
.site-footer nav{display:flex;flex-wrap:wrap;gap:8px 18px}
.site-footer a{text-decoration:none}
.site-footer a:hover{color:var(--accent-text)}

a:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}
@media (max-width:640px){.policy-card{border-radius:18px}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
