/* ================================================================
   BASE.CSS — Reset, typography, containers, reveal animation
================================================================ */

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

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

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--size-body);      /* 16px */
  font-weight: 400;
  line-height: var(--lh-body);      /* 1.78 — Poppins needs extra breathing */
  overflow-x: hidden;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background var(--transition), color var(--transition);
  /* Poppins text rendering hint */
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
}

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

a { color: inherit; }

/* ── LAYOUT SYSTEM ───────────────────────────────────────── */
/* Single source of truth for all widths and gutters         */
:root {
  --max-w:    1180px;   /* universal container max-width     */
  --gutter:   40px;     /* horizontal page padding           */
  --gutter-md:24px;     /* tablet                            */
  --gutter-sm:20px;     /* mobile                            */
}

.container {
  max-width: var(--max-w);
  margin:    0 auto;
  padding:   0 var(--gutter);
  position:  relative;
  z-index:   1;
  width:     100%;
}

section {
  position: relative;
  z-index: 1;
}

/* ── SECTION HEADERS ─────────────────────────────────────── */
.section-header {
  margin-bottom: 52px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  transition: color var(--transition);
}

.section-label::before {
  content: '';
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--gold);
  transition: background var(--transition);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.8vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;   /* Poppins-tuned: less negative tracking */
  line-height: var(--lh-heading);
  color: var(--text-primary);
  transition: color var(--transition);
}

.section-sub {
  font-size: 1rem;    /* 15px */
  font-weight: 400;
  color: #000;
  margin-top: 12px;
  max-width: 600px;
  line-height: var(--lh-body);
  transition: color var(--transition);
}

/* ── DIVIDER LINE ────────────────────────────────────────── */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ── SCROLL REVEAL ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.ai-list-item__left{margin-top: 3px;}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .container { padding: 0 var(--gutter-md); }
}
@media (max-width: 600px) {
  .container { padding: 0 var(--gutter-sm); }
}

/* ── Responsive typography ───────────────────────────────── */
@media (max-width: 768px) {
  body        { font-size: 0.9375rem; line-height: 1.7; }
  .section-sub{ max-width: 100%; }
}
@media (max-width: 480px) {
  body        { font-size: 0.875rem; }
  .container  { padding: 0 var(--gutter-sm); }
}
