/* =====================
   Variables
   ===================== */
:root {
  --bg-dark: #121212;
  --bg-light: #f5f1e8;
  --text-light: #f5f1e8;
  --text-dark: #121212;
  --text-muted: rgba(18, 18, 18, 0.72);
  --accent: #76d9da;
  --column: 680px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-light);
  color: var(--text-dark);
  font-family: 'DM Sans', Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

/* =====================
   Layout
   ===================== */
.container {
  width: min(calc(100% - 40px), var(--column));
  margin: 0 auto;
}

/* =====================
   Typography
   ===================== */
h1, h2 {
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: -0.045em;
  margin: 0 0 24px;
  line-height: 1.05;
}

h1 {
  font-size: clamp(36px, 6vw, 52px);
  color: var(--text-light);
}

h2 {
  font-size: 28px;
  color: var(--text-dark);
}

p, li {
  font-family: 'DM Sans', Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  margin: 0 0 16px;
}

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

/* =====================
   Dark Intro Section
   ===================== */
.intro-dark {
  background: var(--bg-dark);
  padding: 56px 0 64px;
}

.logo {
  height: 32px;
  width: auto;
  margin-bottom: 48px;
}

.intro-dark p {
  color: rgba(245, 241, 232, 0.82);
  max-width: 560px;
}

/* =====================
   Image Strip
   ===================== */
.image-strip {
  width: 100%;
  height: clamp(220px, 35vw, 420px);
  overflow: hidden;
}

.image-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

/* =====================
   Content Sections
   ===================== */
.content-section {
  padding: 56px 0;
  border-bottom: 1px solid rgba(18, 18, 18, 0.10);
}

ul {
  margin: 0 0 20px;
  padding-left: 20px;
}

ul li {
  margin-bottom: 8px;
}

/* =====================
   CTA Section
   ===================== */
.cta-section {
  background: var(--bg-dark);
  padding: 80px 0 88px;
}

.cta-lead {
  color: rgba(245, 241, 232, 0.72);
  margin-bottom: 32px;
}

.btn-apply {
  display: block;
  width: 100%;
  padding: 18px 32px;
  background: var(--bg-light);
  color: var(--text-dark);
  font-family: 'DM Sans', Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 600;
  text-align: center;
  border-radius: 999px;
  transition: opacity 0.15s ease;
}

.btn-apply:hover {
  opacity: 0.88;
}

.btn-apply:focus-visible {
  outline: 3px solid var(--bg-light);
  outline-offset: 3px;
}

/* =====================
   Footer
   ===================== */
.footer-dark {
  background: var(--bg-dark);
  padding: 64px 0 56px;
}

.footer-inner {
  width: min(calc(100% - 40px), 920px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.footer-brand .logo {
  height: 32px;
  margin-bottom: 16px;
}

.footer-tagline {
  color: rgba(245, 241, 232, 0.72);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 16px;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(245, 241, 232, 0.12);
  margin: 16px 0;
}

.footer-since {
  color: rgba(245, 241, 232, 0.38);
  font-size: 13px;
  margin: 0;
  line-height: 1.5;
}

.footer-col-heading {
  font-family: 'DM Sans', Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 12px;
}

.footer-col p {
  font-size: 14px;
  color: rgba(245, 241, 232, 0.60);
  margin-bottom: 6px;
  line-height: 1.55;
}

.footer-col p:last-child {
  margin-bottom: 0;
}

.footer-col a {
  color: rgba(245, 241, 232, 0.60);
  transition: color 0.12s ease;
}

.footer-col a:hover {
  color: rgba(245, 241, 232, 0.90);
}

/* =====================
   Desktop (640px+)
   ===================== */
@media (min-width: 640px) {
  .intro-dark {
    padding: 72px 0 80px;
  }

  .logo {
    height: 36px;
    margin-bottom: 56px;
  }

  .content-section {
    padding: 72px 0;
  }

  .cta-section {
    padding: 96px 0 112px;
    text-align: center;
  }

  .btn-apply {
    display: inline-block;
    width: 280px;
  }

  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
  }

  .footer-brand .logo {
    height: 32px;
    margin-bottom: 16px;
  }
}
