/* ============================================
   BASE — Variables, Reset, Typography, Layout
   ============================================ */

:root {
  /* Colors */
  --color-bg:     #FFFFFF;
  --color-text:   #111111;
  --color-accent: #0057FF;

  /* Typography */
  --font-sans: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.25rem;
  --text-xl:   1.5rem;
  --text-2xl:  2rem;
  --text-3xl:  3rem;
  --text-4xl:  4.5rem;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  8rem;

  /* Layout */
  --container: 1100px;
  --gutter:    1.5rem;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul {
  list-style: none;
}

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

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

/* Typography Scale */
.display {
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.2;
}

p {
  max-width: 65ch;
}

/* Label — Swiss section identifier */
.label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

/* Rule — Swiss accent line */
.rule {
  height: 2px;
  background: var(--color-accent);
  margin-top: var(--space-lg);
}

/* Section Title */
.section-title {
  margin-bottom: var(--space-md);
}

/* Mobile-first responsive text */
@media (max-width: 640px) {
  :root {
    --text-3xl: 2.25rem;
    --text-4xl: 2.75rem;
  }
}
