@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:ital,wght@0,400;0,500;0,600;0,700;1,400&family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap');

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

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

body {
  font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: #1e293b;
  background-color: #f8fafc;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'IBM Plex Serif', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  line-height: 1.2;
  color: #0a1628;
  letter-spacing: -0.02em;
}

.rlx-hero-title {
  font-size: clamp(2.5rem, 5vw + 0.5rem, 4.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #0a1628;
}

.rlx-section-heading {
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 0.5em;
}

.rlx-card-title {
  font-size: clamp(1.125rem, 1.5vw + 0.25rem, 1.375rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.5em;
}

.rlx-eyebrow {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: clamp(0.75rem, 0.8vw + 0.1rem, 0.875rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #0ea5e9;
  margin-bottom: 0.75em;
  display: block;
}

.rlx-lead-paragraph {
  font-size: clamp(1.0625rem, 1.2vw + 0.2rem, 1.3125rem);
  line-height: 1.65;
  color: #475569;
  font-weight: 300;
}

.rlx-body-text {
  font-size: clamp(0.9375rem, 1vw + 0.1rem, 1.0625rem);
  line-height: 1.75;
  color: #475569;
}

p {
  margin-bottom: 1em;
}

a {
  color: #0ea5e9;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #0284c7;
}

/* ── Layout ── */
.rlx-page-hero {
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

.rlx-section-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.25rem, 3vw, 3rem);
}

.rlx-inner-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 3rem);
}

.rlx-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 3rem);
}

/* ── Header / Nav ── */
.rlx-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.rlx-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: clamp(64px, 8vw, 80px);
}

.rlx-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
}

.rlx-brand-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rlx-brand-text {
  font-family: 'IBM Plex Serif', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0a1628;
  letter-spacing: -0.02em;
}

.rlx-brand-text span {
  color: #0ea5e9;
}

.rlx-main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.rlx-nav-link {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  padding: 0.5rem 0.875rem;
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.rlx-nav-link:hover {
  color: #0a1628;
  background-color: rgba(15, 23, 42, 0.04);
}

.rlx-nav-link--active {
  color: #0a1628;
  font-weight: 600;
}

.rlx-nav-cta {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #ffffff;
  background: #0a1628;
  padding: 0.5rem 1.125rem;
  border-radius: 6px;
  text-decoration: none;
  margin-left: 0.5rem;
  transition: background-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.rlx-nav-cta:hover {
  background: #1e3a5f;
  color: #ffffff;
  transform: translateY(-1px);
}

.rlx-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.rlx-mobile-toggle:hover {
  background-color: rgba(15, 23, 42, 0.04);
}

.rlx-mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #0a1628;
  border-radius: 2px;
  margin: 0 auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
  position: relative;
}

.rlx-mobile-toggle span::before,
.rlx-mobile-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: #0a1628;
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.rlx-mobile-toggle span::before {
  top: -6px;
}

.rlx-mobile-toggle span::after {
  top: 6px;
}

/* ── Buttons ── */
.rlx-primary-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: clamp(0.875rem, 1vw + 0.1rem, 1rem);
  font-weight: 600;
  color: #ffffff;
  background: #0a1628;
  padding: 0.8125rem 1.75rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.rlx-primary-button:hover {
  background: #1e3a5f;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.2);
}

.rlx-secondary-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: clamp(0.875rem, 1vw + 0.1rem, 1rem);
  font-weight: 600;
  color: #0a1628;
  background: transparent;
  padding: 0.8125rem 1.75rem;
  border-radius: 8px;
  border: 1.5px solid #cbd5e1;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.rlx-secondary-button:hover {
  border-color: #0ea5e9;
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.04);
  transform: translateY(-2px);
}

.rlx-button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

/* ── Hero ── */
.rlx-hero-content {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.rlx-hero-subtitle {
  font-size: clamp(1.0625rem, 1.3vw + 0.2rem, 1.375rem);
  line-height: 1.6;
  color: #64748b;
  font-weight: 300;
  margin-top: 1.25em;
  max-width: 560px;
}

.rlx-hero-visual {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 20px 50px -12px rgba(10, 22, 40, 0.12);
  background: #0a1628;
}

.rlx-hero-image {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Cards ── */
.rlx-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(1.25rem, 2vw, 1.75rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.rlx-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 12px;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.rlx-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0ea5e9, #22c55e);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.rlx-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px -8px rgba(10, 22, 40, 0.1);
  border-color: rgba(14, 165, 233, 0.15);
}

.rlx-card:hover::before {
  opacity: 1;
}

.rlx-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(34, 197, 94, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
}

.rlx-card-body {
  margin-top: 0.75rem;
}

/* ── Code Block ── */
.rlx-code-block {
  background: #0a1628;
  border-radius: 10px;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  font-family: 'IBM Plex Mono', 'Fira Code', monospace;
  font-size: clamp(0.8125rem, 0.9vw + 0.1rem, 0.9375rem);
  line-height: 1.8;
  color: #22c55e;
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid rgba(255,255,255,0.06);
}

.rlx-code-block .comment {
  color: #64748b;
}

.rlx-code-block .string {
  color: #fbbf24;
}

.rlx-code-block .keyword {
  color: #0ea5e9;
}

.rlx-code-block .operator {
  color: #f472b6;
}

/* ── Divider ── */
.rlx-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.08), transparent);
  border: none;
  margin: 0;
}

/* ── Footer ── */
.rlx-footer {
  background: #0a1628;
  color: #94a3b8;
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  margin-top: clamp(3rem, 6vw, 5rem);
}

.rlx-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 3rem);
}

.rlx-footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.rlx-footer-brand {
  max-width: 280px;
}

.rlx-footer-brand-name {
  font-family: 'IBM Plex Serif', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.rlx-footer-brand-name span {
  color: #0ea5e9;
}

.rlx-footer-brand p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #64748b;
  margin-bottom: 0;
}

.rlx-footer-col-title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #475569;
  margin-bottom: 1rem;
}

.rlx-footer-links {
  list-style: none;
}

.rlx-footer-links li {
  margin-bottom: 0.5rem;
}

.rlx-footer-links a {
  font-size: 0.875rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.rlx-footer-links a:hover {
  color: #e2e8f0;
}

.rlx-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.rlx-footer-copyright {
  font-size: 0.8125rem;
  color: #475569;
}

.rlx-footer-legal {
  display: flex;
  gap: 1.5rem;
}

.rlx-footer-legal a {
  font-size: 0.8125rem;
  color: #475569;
  text-decoration: none;
  transition: color 0.2s ease;
}

.rlx-footer-legal a:hover {
  color: #94a3b8;
}

/* ── Accent Utilities ── */
.rlx-accent-blue { color: #0ea5e9; }
.rlx-accent-green { color: #22c55e; }
.rlx-accent-navy { color: #0a1628; }

.rlx-bg-section--alt {
  background: #ffffff;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .rlx-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .rlx-main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(248, 250, 252, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1rem clamp(1.25rem, 3vw, 3rem) 1.5rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    gap: 0.25rem;
    box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  }

  .rlx-main-nav.is-open {
    display: flex;
  }

  .rlx-nav-link {
    width: 100%;
    text-align: left;
    padding: 0.75rem 0.875rem;
  }

  .rlx-nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: center;
    justify-content: center;
    width: 100%;
  }

  .rlx-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .rlx-footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .rlx-footer-brand {
    max-width: none;
  }

  .rlx-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .rlx-card-grid {
    grid-template-columns: 1fr;
  }

  .rlx-button-group {
    flex-direction: column;
  }

  .rlx-primary-button,
  .rlx-secondary-button {
    justify-content: center;
    width: 100%;
  }
}
/* universal guards (not a template) */
*{box-sizing:border-box}img,svg,video{max-width:100%;height:auto}h1,h2,h3,h4,p,li,a,span,blockquote{overflow-wrap:break-word;word-break:normal}html{-webkit-text-size-adjust:100%}body{margin:0}
