/* Shared by /privacidad/ and /terminos/: the legal pages in the look of the home page
   (Inter, navy #0f2560, the dawn tint at the top, the navy footer). Static, no animation. */
@font-face{font-family:Inter;font-weight:100 900;font-display:swap;src:url(/assets/InterVariable.woff2) format("woff2")}
:root{
  --navy:#0f2560;
  --accent:hsl(219 77% 54%);
  --accent-deep:hsl(219 72% 42%);
  --text:#33415c;
  --muted:#5b6886;
  --line:rgba(15,37,96,.12);
  --sans:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --mono:ui-monospace,"SF Mono",Menlo,monospace;
  --corner:16px;
}
*{box-sizing:border-box}
html{background:#fff}
body{margin:0;color:var(--text);font:17px/1.65 var(--sans);-webkit-font-smoothing:antialiased;
  background:linear-gradient(#f6dcc8 0,#fbeee4 220px,#fff 520px) no-repeat #fff}
img{max-width:100%;display:block}
a{color:var(--accent-deep)}
h1,h2,h3,h4{color:var(--navy);margin:0;letter-spacing:-.01em}
.wrap{max-width:1160px;margin:0 auto;padding:0 24px}

/* header */
.head{position:sticky;top:0;z-index:10;background:rgba(255,255,255,.72);backdrop-filter:saturate(1.3) blur(14px);
  -webkit-backdrop-filter:saturate(1.3) blur(14px);border-bottom:1px solid rgba(15,37,96,.1)}
.head .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;height:70px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--navy);font-weight:700;font-size:19px;letter-spacing:.01em;white-space:nowrap}
.avatar{flex:none;width:34px;height:34px;border-radius:50%;background:#fff;border:1px solid var(--line);display:grid;place-items:center;box-shadow:0 1px 2px rgba(15,37,96,.08)}
.avatar img{width:68%;height:auto}
.avatar.sm{width:26px;height:26px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 22px;border-radius:999px;
  background:var(--navy);color:#fff;font-weight:700;font-size:16px;text-decoration:none;white-space:nowrap;
  box-shadow:0 8px 20px -10px rgba(15,37,96,.7)}

/* the document */
.legal{padding:64px 0 96px}
.legal-hero{max-width:760px;margin-bottom:48px}
.eyebrow{display:inline-block;font-size:13px;font-weight:700;color:var(--accent-deep);margin-bottom:12px}
.legal-hero h1{font-size:clamp(34px,5vw,52px);line-height:1.1;font-weight:800}
.legal-hero .date{margin:14px 0 18px;font-size:15px;color:var(--muted)}
.legal-hero p{margin:0 0 12px}
.legal-layout{display:grid;grid-template-columns:240px minmax(0,720px);gap:56px;align-items:start}
.legal-toc{position:sticky;top:94px;padding:20px 22px;border:1px solid var(--line);border-radius:var(--corner);background:rgba(255,255,255,.8)}
.legal-toc h4{font-size:13px;color:var(--muted);margin-bottom:10px}
.legal-toc ol{margin:0;padding-left:20px;font-size:14.5px;line-height:1.5}
.legal-toc li{margin:6px 0}
.legal-toc a{color:var(--text);text-decoration:none}
.legal-toc a:hover{color:var(--navy);text-decoration:underline}
.legal-section{padding:28px 0;border-top:1px solid var(--line);scroll-margin-top:90px}
.legal-section:first-child{border-top:0;padding-top:0}
.legal-section h2{font-size:24px;line-height:1.3;font-weight:700;margin-bottom:14px}
.legal-section h3{font-size:18px;font-weight:700;margin:22px 0 8px}
.legal-section p{margin:0 0 12px}
.legal-section ul,.legal-section ol{margin:0 0 12px;padding-left:22px}
.legal-section li{margin:6px 0}
.legal-section strong{color:var(--navy)}
.legal-section code{font-family:var(--mono);font-size:14px;background:#eef2fb;color:var(--navy);padding:2px 8px;border-radius:6px}
.scope-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;margin:18px 0 6px}
.scope-card{padding:18px;border:1px solid var(--line);border-radius:var(--corner);background:#fff;box-shadow:0 1px 2px rgba(15,37,96,.05)}
.scope-card h4{font-size:16px;margin-bottom:8px}
.scope-card code{display:inline-block;margin-bottom:10px}
.scope-card p{font-size:15px}
.legal-callout{margin:4px 0 16px;padding:16px 20px;border-left:4px solid var(--navy);border-radius:0 12px 12px 0;background:#f1f4fb}
.legal-callout p{margin:0}
.legal-contact-card{padding:18px 22px;border:1px solid var(--line);border-radius:var(--corner);background:#f8f9fd}
.legal-contact-card p{margin:2px 0}

/* footer, as on the home page */
.foot{padding:30px 0 40px;font-size:15px;color:#c9d4f0;background:var(--navy)}
.foot .wrap{display:flex;align-items:center;gap:8px 22px;flex-wrap:wrap}
.foot .brand{font-size:17px;color:#fff}
.foot .sp{margin-left:auto;display:flex;gap:6px 24px;flex-wrap:wrap}
.foot a{color:#c9d4f0;text-decoration:none;padding:12px 0}
.foot a:hover{color:#fff}
.foot .brand:hover{color:#fff}

@media (max-width:900px){
  .legal-layout{grid-template-columns:minmax(0,1fr);gap:28px}
  .legal-toc{position:static}
}
@media (max-width:560px){
  body{font-size:16px}
  .head .wrap{height:64px;padding:0 14px}
  .brand{font-size:16.5px;gap:8px}
  .head .btn{min-height:42px;padding:0 14px;font-size:15px}
  .legal{padding:40px 0 64px}
  .legal-section h2{font-size:21px}
  .foot .sp{margin-left:0}
}
@media print{
  body{background:#fff;color:#000;font-size:11pt}
  .head,.foot,.legal-toc{display:none}
  .legal{padding:0}
  .legal-layout{display:block}
  .legal-section{break-inside:auto;padding:12pt 0}
  .legal-section h2,.legal-section h3{break-after:avoid}
  .scope-card,.legal-callout,.legal-contact-card{break-inside:avoid;box-shadow:none}
  a{color:#000}
}
