/* =========================================================
   ALEX I BRUNA — BASE VISUAL
   ========================================================= */

:root {
  --color-paper: #faf7f4;
  --color-text: #2f2a26;
  --color-muted: #7a716a;

  --color-blue-dark: #35556f;
  --color-blue-light: #dcebf3;

  --color-white: #ffffff;
  --color-border-soft: rgba(47, 42, 38, 0.12);

  --font-main: Helvetica, Arial, sans-serif;

  --page-max-width: 1120px;
  --content-max-width: 720px;

  --space-xs: 0.5rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2.5rem;
  --space-xl: 4rem;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--color-paper);
  color: var(--color-text);
  font-family: var(--font-main);
  line-height: 1.6;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.page {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.page-inner {
  width: min(100% - 2rem, var(--page-max-width));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.content-narrow {
  max-width: var(--content-max-width);
}

.hidden {
  display: none !important;
}