/*
 * Design tokens, transcribed from the source tokens.css.
 * Values are verbatim — do not "round" them.
 */

:root {
  /* Brand */
  --brand-primary: #2980f2;
  --brand-mid: #579af2;
  --brand-light: #7eb0f2;
  --brand-coral: #f29b88;
  --brand-red: #f20505;
  --brand-gradient: linear-gradient(135deg, #2980f2 0%, #7eb0f2 100%);
  --brand-gradient-warm: linear-gradient(135deg, #2980f2 0%, #f29b88 100%);

  /* Surfaces & text */
  --page-bg: #ffffff;
  --page-panel: #f4f8ff;
  --page-panel-alt: #eef4ff;
  --page-fg: #1a2a4a;
  --page-fg-strong: #0d1a2e;
  --page-fg-muted: rgba(26, 42, 74, 0.65);
  --page-fg-subtle: rgba(26, 42, 74, 0.45);
  --page-fg-faint: rgba(26, 42, 74, 0.25);

  --glass-bg: rgba(41, 128, 242, 0.06);
  --glass-border: rgba(41, 128, 242, 0.15);
  --line: rgba(41, 128, 242, 0.12);
  --line-strong: rgba(41, 128, 242, 0.22);

  /* Radii */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-2xl: 48px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-card: 0 4px 24px -4px rgba(41, 128, 242, 0.14), 0 1px 4px rgba(0, 0, 0, 0.04);
  --shadow-strong: 0 16px 48px -8px rgba(41, 128, 242, 0.22), 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-phone: 0 32px 80px -16px rgba(41, 128, 242, 0.28), 0 8px 32px rgba(0, 0, 0, 0.12);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-fast: 140ms;
  --dur: 240ms;
  --dur-slow: 440ms;

  /* Type scale */
  --t-display: clamp(44px, 6vw, 76px);
  --t-h1: clamp(36px, 5vw, 60px);
  --t-h2: clamp(32px, 4vw, 52px);
  --t-h3: clamp(24px, 2.6vw, 34px);
  --t-h4: 22px;
  --t-lead: clamp(18px, 1.5vw, 22px);
  --t-body: 18px;
  --t-small: 16px;
  --t-micro: 14px;
  --t-eyebrow: 13px;
}

/*
 * A real design breakpoint, not an accident: at these widths the clamp maxima
 * make type and spacing feel oversized, so the source scales the whole ramp down.
 * Elementor's Laptop stop (1366) does not cover 1367-1440, so this lives in CSS.
 */
@media (min-width: 1024px) and (max-width: 1440px) {
  :root {
    --t-display: clamp(38px, 4.8vw, 62px);
    --t-h1: clamp(32px, 4vw, 52px);
    --t-h2: clamp(28px, 3.2vw, 44px);
    --t-h3: clamp(20px, 2.2vw, 29px);
    --t-lead: clamp(16px, 1.3vw, 19px);
    --t-body: 17px;
  }
}

body {
  font-family: "FUP Aviv", "Inter Tight Variable", system-ui, sans-serif;
  line-height: 1.6;
  color: var(--page-fg);
  background: var(--page-bg);
}

h1, h2, h3, h4, h5 {
  letter-spacing: -0.02em;
}

h1, h2 { line-height: 1.05; }
h3 { line-height: 1.15; }
h4 { line-height: 1.2; }

::selection {
  background: #2980f2;
  color: #fff;
}

/* Layout primitives (source: .pg-container / .pg-section / .pg-section-head) */
.lt-container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(18px, 3.5vw, 44px);
}

.lt-section {
  padding-block: clamp(72px, 12vw, 128px);
}

@media (min-width: 1024px) and (max-width: 1440px) {
  .lt-section { padding-block: clamp(64px, 8vw, 100px); }
}

@media (max-width: 720px) {
  .lt-section { padding-block: clamp(56px, 14vw, 96px); }
}

.lt-section-head {
  max-width: 780px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  text-align: center;
}

/* Utilities */
.lt-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--glass-bg);
  box-shadow: inset 0 0 0 1px var(--glass-border);
  margin-bottom: 18px;
}

/*
 * Eyebrow pills are sometimes heading widgets. Elementor styles the inner
 * .elementor-heading-title DIRECTLY (font-size/weight from the kit's global
 * typography, line-height:1) — and a direct match beats the pill's inherited
 * values at any specificity, so the pill's own type never reaches its text.
 * Pull it back down to whatever .lt-eyebrow declared above.
 * (letter-spacing is not part of the `font` shorthand, so it needs restating.)
 */
/* .elementor-widget qualifier takes this to (0,3,0). Elementor's kit CSS applies
   the global typography via `.elementor-widget-heading .elementor-heading-title`
   (0,2,0) and is enqueued AFTER this file, so an equal-specificity rule loses. */
.elementor-widget.lt-eyebrow .elementor-heading-title {
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
}

.lt-accent {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Same reasoning: gradient-clipped headings must clip the text node itself. */
.lt-accent .elementor-heading-title,
.elementor-heading-title .lt-accent {
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
}

.lt-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.lt-reveal.is-in {
  opacity: 1;
  transform: none;
}

/*
 * Defined once here. In the source these keyframes lived inside Hero's <style>
 * block yet Solution and FinalCta both depended on them — a cross-section
 * coupling that only worked because Hero always rendered first.
 */
@keyframes lt-blob {
  0%, 100% {
    border-radius: 72% 28% 58% 42% / 42% 62% 38% 58%;
    transform: rotate(0deg);
  }
  50% {
    border-radius: 38% 62% 42% 58% / 58% 38% 62% 42%;
    transform: rotate(7deg);
  }
}

@keyframes lt-float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.lt-blob {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

@media (prefers-reduced-motion: reduce) {
  .lt-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .lt-blob,
  [class*="lt-badge"] {
    animation: none !important;
  }
}
