/* Páginas legales de puy.ar — misma identidad que la landing */
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/instrument-sans-latin.woff2) format('woff2'); }
@font-face { font-family: 'Michroma'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/michroma-latin.woff2) format('woff2'); }

:root {
  --graphite: #131417; --chalk: #ECEDEF; --chalk-2: #A4A8B0; --rule-dark: #33363C;
  --paper: #EDEEF0; --paper-2: #FFFFFF; --rule-light: #CDD0D5; --ink: #121316; --ink-2: #4A4F57;
  --acc: #5B3CC4;
  --display: 'Michroma', 'Arial', sans-serif;
  --text: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--text); }
a { color: var(--acc); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--paper-2); color: var(--ink); padding: 8px 12px; z-index: 10; }

.top { background: var(--graphite); color: var(--chalk); }
.top-inner { max-width: 1120px; margin: 0 auto; padding: 18px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top img { width: 118px; height: auto; display: block; }
.top a { color: var(--chalk-2); text-decoration: none; font-weight: 500; font-size: .9375rem; }
.top a:hover { color: var(--chalk); }
.top-links { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: flex-end; }

.hero { background: var(--graphite); color: var(--chalk); border-top: 1px solid var(--rule-dark); }
.hero-inner { max-width: 1120px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) var(--gutter) clamp(36px, 5vw, 56px); }
.eyebrow { margin: 0 0 14px; color: #C7B5FF; font-weight: 600; font-size: .9375rem; }
h1 { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 4.2vw, 2.6rem); line-height: 1.2; margin: 0; letter-spacing: .01em; }
.meta { margin: 18px 0 0; color: var(--chalk-2); font-size: .9375rem; }

.layout { max-width: 1120px; margin: 0 auto; padding: clamp(32px, 5vw, 64px) var(--gutter) 80px;
  display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: 24px; font-size: .9375rem; }
.toc p { margin: 0 0 10px; font-weight: 600; }
.toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--rule-light); }
.toc a { display: block; padding: 5px 0 5px 14px; color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--ink); }

.layout > * { min-width: 0; }
article { overflow-wrap: break-word; background: var(--paper-2); border: 1px solid var(--rule-light); border-top: 3px solid var(--acc); padding: clamp(24px, 4vw, 48px); max-width: 76ch; }
article > *:first-child { margin-top: 0; }
h2 { font-size: 1.25rem; line-height: 1.35; margin: 2.2em 0 .6em; scroll-margin-top: 24px; }
h3 { font-size: 1.0625rem; margin: 1.6em 0 .4em; }
p, ul, ol { margin: 0 0 1em; }
li { margin-bottom: .4em; }
.lead { font-size: 1.125rem; color: var(--ink); }
.note { border-left: 3px solid var(--acc); background: var(--paper); padding: 14px 18px; margin: 1.4em 0; }
.legend { font-size: .9375rem; color: var(--ink-2); border-top: 1px solid var(--rule-light); padding-top: 1.2em; margin-top: 2.4em; }
table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .9375rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule-light); }
th { font-weight: 600; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps > li { counter-increment: s; position: relative; padding-left: 44px; margin-bottom: 1.1em; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border: 1px solid var(--acc);
  color: var(--acc); display: grid; place-items: center; font-family: var(--display); font-size: .8rem; }
.mail { display: inline-block; font-weight: 600; }

.foot { background: var(--graphite); color: var(--chalk-2); font-size: .875rem; }
.foot-inner { max-width: 1120px; margin: 0 auto; padding: 28px var(--gutter); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.foot a { color: var(--chalk); }

@media (max-width: 860px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .table-wrap { overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .top, .toc, .foot, .skip { display: none; }
  .hero { background: none; color: #000; }
  article { border: 0; padding: 0; }
}
