/* ==========================================================================
   PuertoPay Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--pp-font-body);
  font-size: var(--pp-fs-base);
  color: var(--pp-text);
  background: var(--pp-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--pp-font-display);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 var(--pp-space-3);
  letter-spacing: -0.02em;
  color: var(--pp-text);
}

h1 { font-size: var(--pp-fs-3xl); }
h2 { font-size: var(--pp-fs-2xl); }
h3 { font-size: var(--pp-fs-xl); }
h4 { font-size: var(--pp-fs-lg); }

p { margin: 0 0 var(--pp-space-4); color: var(--pp-text-muted); }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

button { font-family: inherit; }

ul, ol { margin: 0; padding: 0; list-style: none; }

/* Tabular / monetary figures - the signature typographic device.
   Every amount, IBAN, transaction ID and timestamp in the product
   renders in mono so numbers always align and read as precise data. */
.mono,
.amount,
.pp-id {
  font-family: var(--pp-font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--pp-font-mono);
  font-size: var(--pp-fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pp-text-faint);
}

/* ---- Focus ---- */
:focus-visible {
  outline: 2px solid var(--pp-pink);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- Layout helpers ---- */
.container {
  width: 100%;
  max-width: var(--pp-content-max);
  margin: 0 auto;
  padding: 0 var(--pp-space-5);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--pp-navy);
  color: var(--pp-cream);
  padding: var(--pp-space-3) var(--pp-space-4);
  z-index: 1000;
  border-radius: 0 0 var(--pp-radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---- Scrollbar (subtle) ---- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--pp-ink-200); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--pp-ink-300); }
