/* ============================================================
   Cup Arenas — base.css
   Reset, variables, typography, base elements
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Wix+Madefor+Display:wght@500;600;700;800&display=swap');

:root {
  /* Palette: concrete grey + green */
  --concrete-900: #1c1f1d;
  --concrete-800: #262a27;
  --concrete-700: #343935;
  --concrete-600: #4a504b;
  --concrete-500: #6c726d;
  --concrete-400: #9aa09b;
  --concrete-300: #c4c9c4;
  --concrete-200: #e1e4e0;
  --concrete-100: #f0f2ef;
  --concrete-050: #f7f8f6;

  --green-700: #1f6b3b;
  --green-600: #258049;
  --green-500: #2f9d5b;
  --green-400: #46b873;
  --green-300: #7fd3a0;
  --green-100: #dff3e7;

  --white: #ffffff;
  --black: #14151400;

  --bg: var(--concrete-050);
  --surface: var(--white);
  --text: var(--concrete-900);
  --text-soft: var(--concrete-600);
  --text-muted: var(--concrete-500);
  --accent: var(--green-600);
  --accent-strong: var(--green-700);
  --border: var(--concrete-200);

  --font-display: 'Wix Madefor Display', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 8px rgba(28, 31, 29, 0.06);
  --shadow: 0 8px 28px rgba(28, 31, 29, 0.10);
  --shadow-lg: 0 18px 50px rgba(28, 31, 29, 0.16);

  --maxw: 1180px;
  --gutter: clamp(16px, 4vw, 40px);

  --t-fast: 0.18s ease;
  --t: 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

* { margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.12;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
h4 { font-size: 1.12rem; }

p { color: var(--text-soft); }

a {
  color: var(--accent-strong);
  text-decoration: none;
  transition: color var(--t-fast);
}
a:hover { color: var(--green-500); }

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

ul, ol { list-style: none; }

strong { color: var(--text); font-weight: 600; }

::selection {
  background: var(--green-300);
  color: var(--concrete-900);
}

:focus-visible {
  outline: 3px solid var(--green-400);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--text-soft);
  line-height: 1.6;
}

.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;
}

.section { padding-block: clamp(46px, 8vw, 96px); }
.section--tight { padding-block: clamp(32px, 5vw, 60px); }

.text-center { text-align: center; }
