/* =============================================================
   1. DESIGN TOKENS (VARIABLES)
   ============================================================= */
:root {
  --color-text: #f5f4ec;
  --color-bg: #0f0f0f;
  --color-accent: #ffb805;
  --color-accent-gradient: linear-gradient(90deg, #ffb805 0%, #f4e2b3 100%);
  --color-white: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 0.42);
  --color-dark: #131313;

  --font-main: "Roboto", Arial, Helvetica, sans-serif;
  --text-size: 16px;
  --text-weight: 400;
  --text-line-height: 151%;
}

/* =============================================================
   2. RESET & BASE
   ============================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  font-size: var(--text-size);
  font-weight: var(--text-weight);
  line-height: var(--text-line-height);
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
}

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

a {
  color: #ffb805;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

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

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

:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
}

/* =============================================================
   3. TYPOGRAPHY (HEADINGS)
   ============================================================= */
h1 {
  font-weight: 800;
  font-size: 28px;
  line-height: 110%;
}

h2 {
  font-weight: 800;
  font-size: 24px;
  line-height: 120%;
}

h3 {
  font-weight: 800;
  font-size: 20px;
  line-height: 120%;
}

h4 {
  font-weight: 700;
  font-size: 16px;
  line-height: 120%;
}

h5 {
  font-weight: 400;
  font-size: 14px;
  line-height: 160%;
}

@media (min-width: 768px) {
  h1 {
    font-size: 38px;
    line-height: 111%;
  }

  h2 {
    font-size: 28px;
    line-height: 120%;
  }

  h3 {
    font-size: 22px;
    line-height: 120%;
  }

  h4 {
    font-size: 20px;
    line-height: 120%;
  }

  h5 {
    font-size: 16px;
    line-height: 151%;
  }
}

@media (min-width: 1280px) {
  h1 {
    font-size: 48px;
    line-height: 106%;
  }

  h2 {
    font-size: 38px;
    line-height: 38px;
  }

  h3 {
    font-size: 24px;
    line-height: 120%;
  }

  h4 {
    font-size: 20px;
    line-height: 120%;
  }

  h5 {
    font-size: 16px;
    line-height: 151%;
  }
}

/* =============================================================
   4. UTILITIES / LAYOUT
   ============================================================= */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }
}

@media (min-width: 1220px) {
  .container {
    padding: 0 40px;
  }
}

.section {
  padding: 48px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 64px 0;
  }
}

@media (min-width: 1280px) {
  .section {
    padding: 96px 0;
  }
}

/* =============================================================
   5. UI-KIT (BUTTONS & LINKS)
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  vertical-align: middle;
  font-weight: 400;
  font-size: 14px;
  line-height: 144%;
  letter-spacing: 0;
  padding: 6px 12px;
  border-radius: 3px;
  border: 0.6px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn__icon {
  flex: 0 0 auto;
  margin-right: 5px;
  transition: filter 0.2s ease;
}

.btn__icon--right {
  margin-right: 0;
  margin-left: 5px;
}

.btn--icon-only .btn__icon {
  margin-right: 0;
  margin-left: 0;
}

.btn--ghost {
  padding: 6px 12px;
  border-color: var(--color-text-muted);
  color: var(--color-text-muted);
  background-color: transparent;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-dark);
}

.btn--ghost:hover .btn__icon,
.btn--ghost:focus-visible .btn__icon {
  filter: brightness(0);
}

.btn--primary {
  padding: 6px 18px;
  background-color: var(--color-accent);
  color: var(--color-dark);
  border-color: transparent;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background-image: var(--color-accent-gradient);
}

.btn--outline {
  padding: 6px 18px;
  border-color: var(--color-accent);
  color: var(--color-white);
  background-color: transparent;
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-dark);
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.link:hover,
.link:focus-visible {
  color: var(--color-white);
}

.link__icon {
  flex: 0 0 auto;
}


/* =============================================================
   6. MAIN LAYOUT CONTAINER
   ============================================================= */
.main-content {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 45px 15px;
  background-color: var(--color-bg);
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .main-content {
    width: calc(100% - 60px);
    margin: 0 auto;
    padding: 62px 34px;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
  }
}

@media (min-width: 1240px) {
  .main-content {
    width: 100%;
    max-width: 1240px;
    padding: 90px 70px;
  }
}
