/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --orange-deep: #ee4709;
  --orange: #f35300;
  --orange-bright: #ff6900;
  --gold: #fcb900;
  --gold-light: #fdb047;
  --dark: #32373c;
  --cream: #fffaf3;
  --surface: #ffffff;
  --bg: #f6f6f6;
  --muted: #6b6f73;

  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Manrope", var(--sans);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 20px;
  --container: 1120px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.02em; font-family: var(--display); }
::selection { background: var(--gold); color: var(--dark); }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--cream); color: var(--dark);
  z-index: 9999; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   4. Header
   ============================================================= */
.site-header {
  background: linear-gradient(120deg, var(--orange-deep), var(--orange) 55%, var(--orange-bright));
  padding-block: 1rem;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .65rem; }
.brand img {
  border-radius: 50%;
  background: #fff;
  padding: 2px;
}
.brand-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: -0.01em;
}

/* =============================================================
   5. Hero
   ============================================================= */
.hero {
  background: linear-gradient(160deg, var(--orange-deep) 0%, var(--orange) 40%, var(--gold-light) 100%);
  padding-block: clamp(3rem, 8vw, 6rem) clamp(3.5rem, 9vw, 7rem);
  color: #fff;
}
.hero-inner { max-width: 720px; }
.hero-kicker {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--cream);
  opacity: 0.9;
  margin-bottom: 0.9rem;
}
.hero-title {
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 1rem;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--cream);
  opacity: 0.95;
  max-width: 46ch;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 800;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.btn-header {
  flex-shrink: 0;
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-header:hover { background: rgba(255, 255, 255, 0.28); }
.btn-hero {
  margin-top: 1.75rem;
  padding: 0.85rem 1.75rem;
  font-size: 1.05rem;
  color: var(--orange-deep);
  background: #fff;
  box-shadow: 0 14px 30px -12px rgba(50, 20, 0, 0.45);
}
.btn-hero:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(50, 20, 0, 0.5); }

.card-badge.card-badge-live {
  color: #1a7a3d;
  background: rgba(26, 122, 61, 0.12);
}

/* =============================================================
   6. Cards section
   ============================================================= */
.cards-section {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem);
  margin-top: clamp(-3rem, -6vw, -4rem);
}
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: 0 20px 50px -25px rgba(50, 55, 60, 0.35);
  border: 1px solid rgba(50, 55, 60, 0.06);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px -25px rgba(238, 71, 9, 0.35);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold-light), var(--orange-bright));
  color: #fff;
  margin-bottom: 1.25rem;
}
.card-icon svg { width: 26px; height: 26px; }
.card-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}
.card-text {
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.card-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--orange-deep);
  background: rgba(243, 83, 0, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

/* Reveal (functional micro-interaction, not gated by reduced-motion) */
[data-reveal] .card {
  opacity: 0;
  transform: translateY(24px);
}
[data-reveal].is-visible .card {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
[data-reveal].is-visible .card:nth-child(2) { transition-delay: 0.1s; }

/* =============================================================
   7. Footer
   ============================================================= */
.site-footer {
  padding-block: 1.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.footer-inner img { border-radius: 50%; opacity: 0.85; }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 720px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
}

/* =============================================================
   9. Reduced-motion (only intrusive effects)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
