/* ==========================================================================
   RelayRuntime Landing Page — Production Styles
   Brand: Navy #0f172a · Deep Blue #1e3a8a · Electric Blue #2563eb
   Spacing scale: 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 120
   ========================================================================== */

:root {
  --color-navy: #0f172a;
  --color-deep: #1e3a8a;
  --color-blue: #2563eb;
  --color-blue-hover: #1d4ed8;
  --color-blue-soft: #60a5fa;
  --color-bg: #ffffff;
  --color-muted-bg: #f8fafc;
  --color-card: #ffffff;
  --color-text: #0f172a;
  --color-text-secondary: #334155;
  --color-muted: #475569;
  --color-border: #e2e8f0;
  --color-border-strong: #cbd5e1;
  --color-focus: rgba(37, 99, 235, 0.45);
  --color-blue-tint: rgba(37, 99, 235, 0.08);
  --color-danger-tint: rgba(239, 68, 68, 0.06);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 5rem;
  --space-10: 6.5rem;

  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 56px rgba(15, 23, 42, 0.14);
  --shadow-hero: 0 32px 80px rgba(2, 6, 23, 0.55);

  --container: 1160px;
  --container-narrow: 720px;
  --header-h: 76px;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --leading-tight: 1.12;
  --leading-snug: 1.35;
  --leading-body: 1.65;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 280ms;
  --duration-slow: 350ms;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open,
body.lightbox-open {
  overflow: hidden;
}

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

figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

a:hover {
  color: var(--color-blue-hover);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -56px;
  z-index: 1200;
  padding: 0.7rem 1rem;
  background: var(--color-blue);
  color: #fff;
  border-radius: var(--radius-xs);
  font-weight: 600;
  font-size: var(--text-sm);
}

.skip-link:focus {
  top: 12px;
  color: #fff;
  outline-offset: 2px;
}

.container {
  width: min(100% - 3rem, var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 3rem, var(--container-narrow));
}

/* --------------------------------------------------------------------------
   Brand lockup — official SVG/PNG only (no JPG logos)
   -------------------------------------------------------------------------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  min-height: 48px;
}

.brand:hover {
  color: inherit;
}

.brand--desktop {
  display: inline-flex;
}

.brand--mobile {
  display: none;
}

.brand__logo {
  display: block;
  height: 48px;
  width: auto;
  max-width: min(260px, 46vw);
  object-fit: contain;
  object-position: left center;
  background: transparent;
}

.brand__appicon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  object-fit: contain;
  background: transparent;
}

.brand__name {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-navy);
  line-height: 1;
}

/* Footer: same HorizontalLogo, transparent — light render for dark surface */
.brand--footer .brand__logo {
  height: 44px;
  max-width: 240px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  /* Official lockup is dark-on-transparent; invert for dark footer legibility */
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-weight: 600;
  font-size: var(--text-sm);
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    background var(--duration) var(--ease),
    color var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.btn--sm {
  min-height: 40px;
  padding: 0.55rem 1.05rem;
  font-size: 0.875rem;
}

.btn--lg {
  min-height: 52px;
  padding: 0.95rem 1.7rem;
  font-size: 1rem;
}

.btn--primary {
  background: var(--color-blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.3);
}

.btn--primary:hover {
  background: var(--color-blue-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn--glow:hover {
  box-shadow:
    0 0 0 4px rgba(37, 99, 235, 0.18),
    0 14px 34px rgba(37, 99, 235, 0.42);
}

/* --------------------------------------------------------------------------
   Header / Nav
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  transition: box-shadow var(--duration) var(--ease), background var(--duration) var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.nav {
  position: relative;
  width: min(100% - 3rem, var(--container));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav__menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.35rem 1.5rem;
}

.nav__menu a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--color-muted);
  font-weight: 500;
  font-size: var(--text-sm);
}

.nav__menu a:not(.btn):hover {
  color: var(--color-navy);
}

.nav__menu .btn {
  color: #fff;
  margin-left: 0.35rem;
}

.nav__menu .btn:hover {
  color: #fff;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  background: #fff;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav__toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}

.nav__toggle-bars span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-navy);
  border-radius: 2px;
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bars span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(15, 23, 42, 0.35);
}

.nav-backdrop[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   Sections / Typography
   -------------------------------------------------------------------------- */

.section {
  padding: var(--space-10) 0;
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}

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

.section--dark {
  background:
    radial-gradient(980px 420px at 50% -8%, rgba(37, 99, 235, 0.22), transparent 58%),
    linear-gradient(180deg, #07101f 0%, var(--color-navy) 100%);
  color: #fff;
}

.section--dark .section__lead,
.section--dark .section__footer-note {
  color: rgba(226, 232, 240, 0.86);
}

.section--dark .eyebrow {
  color: var(--color-blue-soft);
}

.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-7);
}

.section__header h2,
.section h2 {
  margin: 0 0 var(--space-4);
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  line-height: var(--leading-tight);
  letter-spacing: -0.032em;
  font-weight: 800;
  color: inherit;
}

.section__lead {
  margin: 0;
  color: var(--color-muted);
  font-size: var(--text-lg);
  line-height: 1.7;
}

.section__lead--left {
  text-align: left;
  max-width: 34rem;
  margin-bottom: var(--space-4);
}

.section__footer-note {
  text-align: center;
  margin: var(--space-7) auto 0;
  max-width: 540px;
  color: var(--color-muted);
  font-size: var(--text-lg);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 var(--space-3);
  color: var(--color-blue);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.positioning-line {
  margin: 0 0 var(--space-5);
  color: var(--color-deep);
  font-weight: 600;
  font-size: var(--text-base);
  line-height: var(--leading-snug);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: clamp(3.5rem, 7vw, 5.75rem) 0 clamp(3.25rem, 6vw, 5.25rem);
  background:
    radial-gradient(820px 420px at 12% 8%, rgba(37, 99, 235, 0.3), transparent 55%),
    radial-gradient(640px 360px at 88% 18%, rgba(30, 58, 138, 0.38), transparent 52%),
    linear-gradient(165deg, #020617 0%, #0f172a 50%, #111c33 100%);
  color: #fff;
  overflow: hidden;
  content-visibility: visible;
}

.hero__glow {
  position: absolute;
  inset: auto -10% -30% 40%;
  height: 55%;
  background: radial-gradient(closest-side, rgba(37, 99, 235, 0.18), transparent 70%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2rem, 4vw, 3.75rem);
  align-items: center;
}

.hero h1 {
  margin: 0 0 var(--space-4);
  font-size: clamp(2.35rem, 4.4vw, 3.55rem);
  line-height: 1.04;
  letter-spacing: -0.038em;
  font-weight: 800;
  max-width: 12ch;
}

.hero__sub {
  margin: 0 0 var(--space-5);
  color: rgba(226, 232, 240, 0.9);
  font-size: var(--text-lg);
  line-height: 1.7;
  max-width: 34rem;
}

.hero__bullets {
  list-style: none;
  margin: 0 0 var(--space-6);
  display: grid;
  gap: 0.8rem;
}

.hero__bullets li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
  font-size: var(--text-base);
  color: #e2e8f0;
}

.check {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(96, 165, 250, 0.16);
  flex-shrink: 0;
}

.check svg {
  width: 14px;
  height: 14px;
  fill: var(--color-blue-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: var(--space-5);
}

.hero__positioning {
  margin: 0;
  color: var(--color-blue-soft);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: -0.01em;
}

.hero .eyebrow {
  color: var(--color-blue-soft);
}

.hero-media {
  position: relative;
}

.hero-media__trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-hero);
  border: 1px solid rgba(148, 163, 184, 0.2);
  aspect-ratio: 5 / 4;
  transition: transform var(--duration-slow) var(--ease), box-shadow var(--duration-slow) var(--ease);
}

.hero-media__trigger:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 40px 90px rgba(2, 6, 23, 0.6);
}

.hero-media__trigger:focus-visible {
  outline-offset: 4px;
}

.hero-media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Crop composite banner to the product dashboard — avoid double-hero copy */
  object-position: 82% 42%;
}

/* --------------------------------------------------------------------------
   Browser frame (screenshots)
   -------------------------------------------------------------------------- */

.browser-frame {
  background: #0b1220;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.browser-frame:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.16);
}

.section--dark .browser-frame:hover,
.hero .browser-frame:hover {
  box-shadow: 0 28px 60px rgba(2, 6, 23, 0.4);
}

.browser-frame__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.65rem 0.85rem;
  background: #0f172a;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  min-height: 36px;
}

.browser-frame__chrome > span:not(.browser-frame__url) {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #334155;
  flex-shrink: 0;
}

.browser-frame__chrome > span:nth-child(1) { background: #f87171; }
.browser-frame__chrome > span:nth-child(2) { background: #fbbf24; }
.browser-frame__chrome > span:nth-child(3) { background: #34d399; }

.browser-frame__url {
  margin-left: 0.65rem;
  flex: 1;
  min-width: 0;
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lightbox-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.lightbox-trigger:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: -2px;
}

.lightbox-trigger img {
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   Product demo video
   -------------------------------------------------------------------------- */

.demo-video {
  max-width: 960px;
  margin: 0 auto;
}

.demo-video__frame {
  margin: 0;
}

.demo-video__player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #0b1220;
}

.demo-video__frame:hover {
  transform: none;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.card-grid {
  display: grid;
  gap: 1.15rem;
}

.card-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.55rem 1.45rem;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--color-border-strong);
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: var(--leading-snug);
}

.card p {
  margin: 0;
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 1.05rem;
  border-radius: 12px;
  background: var(--color-blue-tint);
  color: var(--color-deep);
}

.card__icon svg {
  width: 22px;
  height: 22px;
}

.card__icon--accent {
  background: rgba(37, 99, 235, 0.12);
  color: var(--color-blue);
}

.card--problem .card__icon {
  background: var(--color-danger-tint);
  color: #b91c1c;
}

.card--feature {
  min-height: 100%;
}

.card--deploy {
  text-align: center;
  padding: 1.65rem 1.15rem;
  height: 100%;
}

.card--deploy h3 {
  font-size: 1rem;
}

.deploy-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   Solution
   -------------------------------------------------------------------------- */

.solution-panel {
  max-width: 840px;
  margin: 0 auto;
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 2px);
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: var(--shadow);
}

.solution-panel__intro {
  margin: 0 0 var(--space-4);
  text-align: center;
  color: var(--color-muted);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.solution-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.solution-list li {
  text-align: center;
  padding: 1.05rem 0.75rem;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--color-border);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: -0.02em;
  color: var(--color-deep);
}

/* --------------------------------------------------------------------------
   Command Center split
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.split__content h2 {
  text-align: left;
  max-width: 12ch;
}

.feature-checklist {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.35rem;
}

.feature-checklist li {
  position: relative;
  padding-left: 1.45rem;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.feature-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

/* --------------------------------------------------------------------------
   Provider Abstraction Diagram
   -------------------------------------------------------------------------- */

.abstraction-diagram {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.abstraction-diagram__tier {
  display: flex;
  justify-content: center;
}

.abstraction-diagram__connector {
  display: flex;
  justify-content: center;
  padding: 0.55rem 0;
}

.abstraction-diagram__line {
  width: 2px;
  height: 22px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(96, 165, 250, 0.15), rgba(96, 165, 250, 0.85));
}

.abstraction-diagram__providers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.abstraction-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 54px;
  padding: 0.85rem 1.25rem;
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.abstraction-node--top {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: #e2e8f0;
  min-width: 220px;
}

.abstraction-node--runtime {
  background: linear-gradient(135deg, var(--color-blue), var(--color-deep));
  color: #fff;
  min-width: 260px;
  gap: 0.65rem;
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.34);
}

.abstraction-node--runtime img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.95);
  flex-shrink: 0;
}

.abstraction-node--provider {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #cbd5e1;
  width: 100%;
  font-size: var(--text-sm);
}

/* --------------------------------------------------------------------------
   Product Experience
   -------------------------------------------------------------------------- */

.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.experience-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.experience-card__body {
  padding: 1.15rem 0.15rem 0.25rem;
}

.experience-card__body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.experience-card__body p {
  margin: 0;
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Providers
   -------------------------------------------------------------------------- */

.provider-groups {
  display: grid;
  gap: 2rem;
}

.provider-group__label {
  margin: 0 0 0.85rem;
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.provider-grid {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.provider-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex: 1 1 180px;
  max-width: 220px;
  min-height: 100px;
  padding: 1.1rem 0.85rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: -0.02em;
  color: var(--color-deep);
  text-align: center;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.provider-card__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--color-blue-tint);
  color: var(--color-blue);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0;
}

.provider-card__name {
  line-height: 1.3;
}

.provider-card__status {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-muted);
}

.provider-card--live {
  border-color: var(--color-blue);
}

.provider-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--color-border-strong);
}

.provider-card--custom {
  border-style: dashed;
  color: var(--color-blue);
  background: rgba(37, 99, 235, 0.03);
}

.provider-card--custom .provider-card__mark {
  background: rgba(37, 99, 235, 0.12);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq {
  display: grid;
  gap: 0.65rem;
}

.faq__item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.faq__item:focus-within {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.faq__item h3 {
  margin: 0;
  font-size: 1rem;
}

.faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  padding: 1rem 1.2rem;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  text-align: left;
  color: var(--color-text);
  cursor: pointer;
  letter-spacing: -0.015em;
}

.faq__icon {
  width: 18px;
  height: 18px;
  position: relative;
  flex-shrink: 0;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--color-blue);
  border-radius: 2px;
  transition: transform var(--duration) var(--ease);
}

.faq__icon::before {
  inset: 8px 0 auto;
  height: 2px;
  width: 100%;
}

.faq__icon::after {
  inset: 0 auto 0 8px;
  width: 2px;
  height: 100%;
}

.faq__trigger[aria-expanded="true"] .faq__icon::after {
  transform: scaleY(0);
}

.faq__panel {
  padding: 0 1.2rem 1.15rem;
}

.faq__panel p {
  margin: 0;
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.65;
}

.faq__panel[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */

.cta {
  padding: clamp(4rem, 8vw, 5.75rem) 0;
  background:
    radial-gradient(760px 340px at 50% 0%, rgba(37, 99, 235, 0.32), transparent 60%),
    linear-gradient(160deg, #020617 0%, #0f172a 55%, #1e3a8a 145%);
  color: #fff;
  text-align: center;
}

.cta__inner {
  max-width: 680px;
}

.cta h2 {
  margin: 0 0 var(--space-4);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  letter-spacing: -0.032em;
  line-height: var(--leading-tight);
}

.cta__sub {
  margin: 0 auto var(--space-6);
  max-width: 540px;
  color: rgba(226, 232, 240, 0.88);
  font-size: var(--text-lg);
  line-height: 1.65;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: #020617;
  color: #94a3b8;
  padding: var(--space-8) 0 var(--space-5);
}

.footer__grid {
  display: flex;
  justify-content: space-between;
  gap: var(--space-6);
  align-items: flex-start;
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.footer__brand {
  display: grid;
  gap: var(--space-3);
}

.footer__brand p {
  margin: 0;
  max-width: 280px;
  font-size: var(--text-sm);
  line-height: 1.55;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.4rem;
  justify-content: flex-end;
  max-width: 520px;
}

.footer__nav a {
  color: #cbd5e1;
  font-weight: 500;
  font-size: var(--text-sm);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.footer__nav a:hover {
  color: #fff;
}

.footer__bottom {
  padding-top: var(--space-4);
}

.footer__bottom p {
  margin: 0;
  font-size: var(--text-xs);
  color: #64748b;
}

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(8px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__image {
  max-width: min(1100px, 94vw);
  max-height: 86vh;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* --------------------------------------------------------------------------
   Animations — gated behind .js to keep content visible without JavaScript
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity var(--duration-slow) var(--ease),
    transform var(--duration-slow) var(--ease);
  transition-delay: calc(var(--delay, 0) * 45ms);
}

.js .reveal--up {
  transform: translateY(24px);
}

.js .reveal--in {
  transform: translateY(12px);
}

.js .reveal--scale {
  transform: translateY(14px) scale(0.985);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .reveal,
  .js .reveal,
  .card,
  .browser-frame,
  .provider-card,
  .btn,
  .hero-media__trigger {
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
