/* ==========================================================================
   Design Tokens — extracted from Figma
   ========================================================================== */
:root {
  /* Colors */
  --color-primary: #D72610;
  --color-text: #74665F;
  --color-text-inverse: #FFFFFF;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F6F6F6;
  --color-border: rgba(215, 38, 16, 0.2);
  --color-badge-bg: rgba(255, 255, 255, 0.2);
  --color-badge-border: rgba(255, 255, 255, 0.3);

  /* Typography */
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;   /* 8px */
  --space-sm: 1.5rem;   /* 24px */
  --space-md: 1.875rem; /* 30px */
  --space-lg: 2.0625rem;/* 33px */
  --space-xl: 2.5rem;   /* 40px */
  --space-2xl: 2.75rem; /* 44px */

  /* Layout */
  --container-max: 1440px;
  --container-padding: 1.875rem; /* 30px */

  /* Borders & Radius */
  --radius-sm: 8px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-button: 0px 10px 15px rgba(0, 0, 0, 0.1), 0px 4px 6px rgba(0, 0, 0, 0.1);
}

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

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

}

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

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   Typography — from Figma
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: -0.45px;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 5rem); /* 40px → 80px */
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem); /* 28px → 40px */
  line-height: 1.2;
  color: var(--color-primary);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 2rem); /* 20px → 32px */
  font-weight: 500;
  line-height: 1.875;
  letter-spacing: 0.26px;
  color: var(--color-text);
}

h4 {
  font-size: clamp(1.125rem, 2vw, 1.875rem); /* 18px → 30px */
  line-height: 1.28;
}

p {
  margin-bottom: 0.625rem;
}

p:last-child {
  margin-bottom: 0;
}

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

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

.accent-line {
  display: block;
  width: 96px;
  height: 3px;
  background-color: var(--color-primary);
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.125rem 2rem;
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: -0.31px;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-button);
  transition: opacity 0.2s ease;
}

.btn:hover {
  opacity: 0.9;
}

.btn__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ==========================================================================
   Mobile refinements (≤ 639px)
   ========================================================================== */
@media (max-width: 639px) {
  :root {
    --container-padding: 1rem;
  }

  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
  }
}
