/* ========================================
   QEDEVELOPER - BASE CSS
   Fondasi visual seluruh website
======================================== */

/* 1. BODY DAN TIPOGRAFI */

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 2. HEADING */

h1,
h2,
h3,
h4 {
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
}

h3 {
  font-size: 1.15rem;
  font-weight: 750;
}

h4 {
  font-size: 1rem;
  font-weight: 700;
}

/* 3. PARAGRAF */

p {
  color: var(--muted);
  line-height: 1.7;
}

/* 4. CONTAINER UTAMA */

.container {
  width: min(var(--container), calc(100% - 48px));

  margin-inline: auto;
}

/* 5. SECTION */

.section {
  padding-block: 72px;
}

.section-compact {
  padding-block: 16px 40px;
}

/* 6. LABEL KECIL DI ATAS HEADING */

.kicker {
  display: inline-block;
  margin-bottom: 10px;

  color: var(--blue);

  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* 7. EYEBROW / BADGE */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 8px 13px;

  border-radius: 999px;

  background: #eaf2ff;
  color: #2466c9;

  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

/* 8. LINK */

a {
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

a:hover {
  color: var(--blue);
}

/* 9. GAMBAR */

img {
  max-width: 100%;
  height: auto;
}

/* 10. TOMBOL DAN INPUT */

button,
input,
textarea,
select {
  font-family: inherit;
}

button {
  color: inherit;
}

/* 11. UTILITAS */

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--muted);
}

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

/* 12. JARAK ANTAR-ELEMEN */

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

/* 13. SELEKSI TEKS */

::selection {
  color: #ffffff;
  background: var(--blue);
}
