:root {
  --font-body: "Plus Jakarta Sans", sans-serif;
  --font-headers: "Plus Jakarta Sans", sans-serif;
  --font-size: 16px;
  --color-headers: var(--color-text);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--font-size);
  font-weight: 400;
  color: var(--color-text);
  background: #fff;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
}

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

p {
  line-height: 1.75;
}

strong,
b {
  font-weight: 700;
}

/* H */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headers);
  color: var(--color-headers);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(30px, 3.2vw, 52px);
  font-weight: 800;
}

h2 {
  font-size: clamp(24px, 2.8vw, 40px);
  font-weight: 800;
  margin: 0 0 20px;
}

h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 10px;
}

/* MAIN */
span.anchor:not(:first-child) {
  padding: 50px;
}

/* SECTION */
section {
  position: relative;
  z-index: 1;
}

.section {
  padding: 96px 48px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.bg-white {
  background: #fff;
}

.bg-surface {
  background: var(--color-surface);
}

.section-intro {
  text-align: center;
  margin-bottom: 56px;
}

.section-intro p {
  font-size: 17px;
  color: var(--color-text-soft);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.split-2.align-top {
  align-items: start;
}

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-surface-alt);
  padding: 5px 13px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.tag-light {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.ibox {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

.text-soft {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-soft);
  margin: 0 0 16px;
  text-wrap: pretty;
}

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

.rl {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.rr {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.on,
.rl.on,
.rr.on {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .rl,
  .rr {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* RESPONSIVE */
@media all and (max-width: 1050px) {
  .section {
    padding: 80px 32px;
  }

  .split-2 {
    gap: 48px;
  }
}

@media all and (max-width: 850px) {
  .section {
    padding: 64px 24px;
  }

  .split-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-intro {
    margin-bottom: 40px;
  }

  /* on single column, slide-in-from-right feels random: unify */
  .rl,
  .rr {
    transform: translateY(24px);
  }
}

@media all and (max-width: 550px) {
  .section {
    padding: 56px 20px;
  }
}
