/* ==========================================================================
   Landing page
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --burgundy: #960000;
  --burgundy-dark: #400205;
  --slate: #374B4C;
  --cream: #EEE8DC;
  --white: #FFFFFF;

  --font-sans: 'Archivo', sans-serif;
}

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--slate);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

ul { list-style: none; margin: 0; padding: 0; }

h1 { margin: 0; }

/* ---------- Layout ---------- */
.landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 64px;
  min-height: 100vh;
  min-height: 100svh;
  padding: 48px 40px;
}

.landing__logo {
  display: block;
  width: 420px;
  max-width: 100%;
  height: auto;
}

.landing__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ---------- Buttons ---------- */
.landing__btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 200px;
  padding: 18px 24px;
  border-radius: 2px;
  background: var(--burgundy);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .02em;
  text-decoration: none;
  transition: background-color .2s ease;
}

.landing__btn:hover { background: var(--burgundy-dark); }

.landing__btn:focus-visible {
  outline: 2px solid var(--slate);
  outline-offset: 3px;
}

.landing__btn-arrow { transition: transform .2s ease; }
.landing__btn:hover .landing__btn-arrow { transform: translateX(4px); }

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Tablet */
@media (max-width: 959px) {
  .landing { gap: 56px; }
  .landing__logo { width: 360px; }
  .landing__btn { min-width: 180px; }
}

/* Mobile: stack full-width buttons */
@media (max-width: 639px) {
  .landing { gap: 48px; padding: 40px 20px; }
  .landing__logo { width: 280px; }

  .landing__nav,
  .landing__list,
  .landing__list li { width: 100%; }

  .landing__list { flex-direction: column; gap: 12px; }
  .landing__btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
