/* ============================================================
   Inspired Labs — Gateway
   Premium light brand gateway
   ============================================================ */
:root {
  --bg-0: #eef3f9;
  --bg-1: #f7f9fc;
  --ink: #101828;
  --ink-soft: #344054;
  --muted: #667085;
  --line: rgba(16, 24, 40, 0.08);
  --blue: #0f62fe;
  --blue-deep: #0043ce;
  --gold: #c9a227;
  --surface-hover: rgba(255, 255, 255, 0.96);
  --shadow-card: 0 1px 0 rgba(16, 24, 40, 0.03), 0 14px 36px rgba(16, 40, 80, 0.07);
  --shadow-card-hover: 0 1px 0 rgba(16, 24, 40, 0.04), 0 22px 48px rgba(15, 70, 160, 0.14);
  --shadow-logo: 0 1px 0 rgba(16, 24, 40, 0.04), 0 12px 34px rgba(15, 98, 254, 0.1), 0 0 0 1px rgba(201, 162, 39, 0.08);
  --radius: 20px;
  --focus: #0f62fe;
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  color-scheme: light dark;
}

body {
  margin: 0;
  min-height: 100svh;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(255, 255, 255, 0.96), transparent 55%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 48%, #e8eef7 100%);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

/* ---- Atmosphere ---- */
.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.atmosphere-mesh {
  position: absolute;
  inset: 0;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(15, 98, 254, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 98, 254, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 28%, #000 18%, transparent 75%);
  animation: mesh-drift 22s ease-in-out infinite alternate;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.glow-a {
  width: 58vmin;
  height: 58vmin;
  top: -16vmin;
  left: 50%;
  transform: translateX(-55%);
  background: radial-gradient(circle, rgba(15, 98, 254, 0.18), transparent 70%);
  animation: drift-a 12s ease-in-out infinite;
}

.glow-b {
  width: 46vmin;
  height: 46vmin;
  right: -10vmin;
  bottom: 8vmin;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.14), transparent 70%);
  animation: drift-b 14s ease-in-out infinite;
}

.glow-c {
  width: 36vmin;
  height: 36vmin;
  left: -8vmin;
  bottom: -8vmin;
  background: radial-gradient(circle, rgba(126, 182, 255, 0.2), transparent 70%);
  animation: drift-b 16s ease-in-out infinite reverse;
}

.glow-cursor {
  width: 360px;
  height: 360px;
  top: 0;
  left: 0;
  opacity: 0;
  filter: blur(70px);
  background: radial-gradient(circle, rgba(15, 98, 254, 0.12), rgba(201, 162, 39, 0.06) 42%, transparent 70%);
  transition: opacity 280ms ease;
  will-change: transform, opacity;
}

.glow-cursor.is-active { display: block; }

@keyframes drift-a {
  0%, 100% { opacity: 0.85; transform: translateX(-55%) scale(1); }
  50%      { opacity: 1; transform: translateX(-55%) scale(1.07); }
}

@keyframes drift-b {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.09); }
}

@keyframes mesh-drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(0, -12px, 0); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes logo-in {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes logo-pulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50%      { opacity: 0.75; transform: scale(1.04); }
}

@keyframes shine {
  from { transform: translateX(-130%) skewX(-18deg); }
  to   { transform: translateX(220%) skewX(-18deg); }
}

/* ---- Layout shell ---- */
.shell {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(28px, 6vh, 56px) 20px 48px;
  animation: rise 640ms ease both;
}

/* ---- Hero / brand portal ---- */
.hero {
  text-align: center;
}

.brand-portal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  animation: rise 680ms ease both;
}

.brand-reveal {
  position: relative;
  width: min(100%, 380px);
  padding: 22px 24px 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 1px 0 rgba(16, 24, 40, 0.03),
    0 16px 40px rgba(15, 70, 160, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  animation: logo-in 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand-reveal::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(15, 98, 254, 0.06);
}

.brand-reveal-glow {
  position: absolute;
  left: 50%;
  top: 38%;
  width: min(72%, 240px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 98, 254, 0.16) 0%, rgba(15, 98, 254, 0.04) 52%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.logo-media {
  position: relative;
  z-index: 1;
  width: min(68%, 220px);
  margin: 0 auto;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.logo-video {
  background: transparent;
}

.logo-static {
  display: none;
}

.logo-media.is-static .logo-video {
  display: none;
}

.logo-media.is-static .logo-static {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
}

.brand-title {
  position: relative;
  z-index: 1;
  margin: 24px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.65rem, 4.8vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}

.brand-tagline {
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: normal;
  color: var(--blue-deep);
}

.brand-lede {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 28px auto 0;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.2vw, 1.35rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink-soft);
  animation: rise 760ms ease both;
  animation-delay: 120ms;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(100%, 380px);
  margin-top: 32px;
  animation: rise 780ms ease both;
  animation-delay: 180ms;
}

.hero-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.hero-btn-primary {
  border: 1px solid rgba(15, 98, 254, 0.18);
  background: linear-gradient(180deg, #0f62fe 0%, #0353e9 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 98, 254, 0.22);
}

.hero-btn-guide {
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 252, 245, 0.96) 100%);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.04), 0 10px 28px rgba(201, 162, 39, 0.12);
  font-weight: 600;
}

.hero-btn-guide:hover,
.hero-btn-guide:focus-visible {
  border-color: rgba(201, 162, 39, 0.55);
  transform: translateY(-1px);
}

.hero-btn-primary:hover,
.hero-btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 98, 254, 0.28);
}

.hero-btn-secondary {
  border: 1px solid rgba(16, 24, 40, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.03);
}

.hero-btn-secondary:hover,
.hero-btn-secondary:focus-visible {
  border-color: rgba(15, 98, 254, 0.22);
  background: #fff;
  transform: translateY(-1px);
}

.hero-btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

@media (min-width: 520px) {
  .brand-reveal {
    width: min(100%, 400px);
    padding: 24px 28px 28px;
  }

  .logo-media {
    width: min(70%, 240px);
  }

  .hero-actions {
    flex-direction: row;
    width: min(100%, 400px);
  }

  .hero-btn {
    flex: 1 1 0;
  }
}

@media (min-width: 768px) {
  .brand-reveal {
    width: 400px;
    padding: 26px 32px 30px;
  }

  .logo-media {
    width: 252px;
  }

  .brand-title {
    margin-top: 26px;
  }

  .brand-lede {
    margin-top: 30px;
    max-width: 24ch;
  }

  .hero-actions {
    margin-top: 34px;
  }
}

/* ---- Cards ---- */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: clamp(36px, 6vh, 48px);
}

@media (min-width: 520px) {
  .cards {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .cards:has(.card:only-child) {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

.card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 88px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.8));
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease,
    transform 200ms ease;
  animation: rise 760ms ease both;
}

.card:nth-child(1) { animation-delay: 200ms; }
.card:nth-child(2) { animation-delay: 260ms; }
.card:nth-child(3) { animation-delay: 320ms; }
.card:nth-child(4) { animation-delay: 380ms; }
.card:nth-child(5) { animation-delay: 440ms; }

/* Gradient border glow */
.card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(125deg, rgba(15, 98, 254, 0.6), rgba(201, 162, 39, 0.42), rgba(15, 98, 254, 0.22));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events: none;
  z-index: 1;
}

/* Shine sweep */
.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: translateX(-130%) skewX(-18deg);
  pointer-events: none;
  z-index: 0;
}

.card:hover,
.card:focus-visible {
  background: var(--surface-hover);
  border-color: rgba(15, 98, 254, 0.2);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.card:hover::before,
.card:focus-visible::before { opacity: 0.95; }

.card:hover::after,
.card:focus-visible::after {
  animation: shine 700ms ease;
}

.card:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.card:active { transform: translateY(-1px); }

.card-icon {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(15, 98, 254, 0.12);
  background: linear-gradient(160deg, rgba(15, 98, 254, 0.11), rgba(255, 255, 255, 0.7));
  color: var(--blue-deep);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.card-icon svg { display: block; }

.card:hover .card-icon,
.card:focus-visible .card-icon {
  transform: translateY(-1px) scale(1.04);
  border-color: rgba(15, 98, 254, 0.28);
  box-shadow: 0 6px 16px rgba(15, 98, 254, 0.12);
  color: var(--blue);
}

.card-body {
  position: relative;
  z-index: 2;
  min-width: 0;
  text-align: left;
}

.card-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  margin: 0 0 3px;
  color: var(--ink);
}

.card-desc {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.card-arrow {
  position: relative;
  z-index: 2;
  margin-left: auto;
  flex: 0 0 auto;
  color: var(--muted);
  transition: transform 200ms ease, color 200ms ease;
}

.card:hover .card-arrow,
.card:focus-visible .card-arrow {
  transform: translateX(4px);
  color: var(--blue);
}

.card-primary {
  min-height: 100px;
  padding: 22px 24px;
  background:
    linear-gradient(135deg, rgba(15, 98, 254, 0.09), rgba(255, 255, 255, 0.9) 42%, rgba(201, 162, 39, 0.1));
  border-color: rgba(15, 98, 254, 0.16);
}

.card-primary .card-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(145deg, rgba(15, 98, 254, 0.18), rgba(201, 162, 39, 0.14));
  border-color: rgba(15, 98, 254, 0.24);
  color: var(--blue);
}

.card-primary .card-label { font-size: 1.15rem; }

/* ---- Footer ---- */
.foot {
  margin-top: clamp(36px, 7vh, 60px);
  text-align: center;
  animation: rise 800ms ease both;
  animation-delay: 420ms;
}

.foot p {
  color: var(--muted);
  font-size: 0.82rem;
  max-width: 48ch;
  margin: 0 auto;
  line-height: 1.55;
}

.foot-micro {
  margin-top: 10px !important;
  font-family: var(--font-body);
  font-size: 0.75rem !important;
  letter-spacing: normal;
  color: rgba(102, 112, 133, 0.9) !important;
}

/* ---- Motion preference ---- */
@media (prefers-reduced-motion: reduce) {
  .atmosphere-mesh,
  .glow-a, .glow-b, .glow-c,
  .shell, .hero, .brand-portal, .brand-reveal,
  .brand-lede, .hero-actions, .card, .foot {
    animation: none !important;
  }

  .logo-media:not(.is-static) .logo-video {
    display: none;
  }

  .logo-media:not(.is-static) .logo-static {
    display: block;
  }

  .card, .card::before, .card::after,
  .card-icon, .card-arrow {
    transition: none !important;
  }

  .card:hover::after,
  .card:focus-visible::after {
    animation: none !important;
  }

  .glow-cursor { display: none !important; }
}

@media (max-width: 699px) {
  .card { min-height: 92px; }
  .card-primary { min-height: 104px; }
}

/* ============================================================
   IL Connect landing
   ============================================================ */
.landing-shell {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
  padding: 18px 0 44px;
}

.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 8px 4px 18px;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}

.landing-brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(15, 98, 254, 0.2);
  border-radius: 12px;
  background: linear-gradient(145deg, #fff, #eaf2ff);
  box-shadow: 0 6px 18px rgba(15, 98, 254, 0.12);
  color: var(--blue-deep);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.landing-brand > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.05;
}

.landing-brand strong {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.landing-brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: normal;
}

.landing-nav-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.landing-nav-link:hover,
.landing-nav-link:focus-visible {
  background: rgba(255, 255, 255, 0.78);
  color: var(--blue-deep);
}

.landing-nav-link:focus-visible,
.landing-btn:focus-visible,
.landing-route-card:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.landing-hero {
  position: relative;
  display: grid;
  min-height: 650px;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
  overflow: hidden;
  padding: clamp(48px, 7vw, 88px);
  border: 1px solid rgba(148, 180, 229, 0.2);
  border-radius: 32px;
  background:
    radial-gradient(circle at 82% 26%, rgba(23, 111, 255, 0.34), transparent 28%),
    radial-gradient(circle at 48% 120%, rgba(201, 162, 39, 0.17), transparent 38%),
    linear-gradient(138deg, #071224 0%, #0a1d3d 54%, #07172f 100%);
  box-shadow: 0 34px 90px rgba(9, 29, 64, 0.22);
  color: #fff;
  isolation: isolate;
}

.landing-hero::before,
.landing-hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.landing-hero::before {
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, #000, transparent 68%);
}

.landing-hero::after {
  right: -140px;
  bottom: -240px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(98, 164, 255, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 74px rgba(98, 164, 255, 0.035),
    0 0 0 148px rgba(98, 164, 255, 0.025);
}

.landing-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 590px;
}

.landing-eyebrow,
.landing-kicker {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: normal;
}

.landing-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9dc4ff;
}

.landing-eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5fa1ff;
  box-shadow: 0 0 0 5px rgba(95, 161, 255, 0.12), 0 0 18px #5fa1ff;
}

.landing-hero h1 {
  max-width: 660px;
  margin: 20px 0 24px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 6.5vw, 5.9rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.landing-lede {
  max-width: 570px;
  margin: 0;
  color: #c4d1e4;
  font-size: clamp(1rem, 1.7vw, 1.14rem);
  line-height: 1.7;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.landing-btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.landing-btn-primary {
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, #2579ff, #0f62fe);
  box-shadow: 0 14px 34px rgba(15, 98, 254, 0.3);
  color: #fff;
}

.landing-btn-secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  backdrop-filter: blur(10px);
}

.landing-btn:hover { transform: translateY(-2px); }
.landing-btn-primary:hover { box-shadow: 0 18px 40px rgba(15, 98, 254, 0.4); }
.landing-btn-secondary:hover { background: rgba(255, 255, 255, 0.12); }

.landing-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 30px;
  color: #aebdd2;
  font-size: 0.73rem;
  font-weight: 600;
}

.landing-signals span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.landing-signals i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #61d7b2;
  box-shadow: 0 0 10px rgba(97, 215, 178, 0.8);
}

.landing-visual {
  position: relative;
  z-index: 2;
  width: min(100%, 470px);
  justify-self: end;
}

.landing-video-glow {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: rgba(31, 118, 255, 0.42);
  filter: blur(52px);
}

.landing-video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  padding: 10px;
  border: 1px solid rgba(150, 194, 255, 0.28);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 34px 74px rgba(0, 8, 24, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.landing-logo-video {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: #07162e;
  object-fit: cover;
}

.landing-video-caption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(4, 15, 35, 0.74);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: normal;
  backdrop-filter: blur(10px);
}

.landing-video-caption span:last-child { color: #9ebce7; }

.landing-disclaimer {
  max-width: 760px;
  margin: 18px auto 0;
  color: #667085;
  font-size: 0.76rem;
  line-height: 1.5;
  text-align: center;
}

.landing-routes {
  padding: clamp(72px, 9vw, 108px) 0 68px;
}

.landing-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  align-items: end;
  gap: 36px;
  margin-bottom: 34px;
}

.landing-kicker {
  grid-column: 1 / -1;
  margin-bottom: -22px;
  color: var(--blue-deep);
}

.landing-section-heading h2,
.landing-bottom-cta h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.landing-section-heading > p:last-child {
  max-width: 420px;
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 0.95rem;
}

.landing-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.landing-route-card {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 22px;
  background: var(--ilc-card-bg, rgba(255, 255, 255, 0.78));
  box-shadow: var(--shadow-card);
  color: var(--ilc-ink, var(--ink));
  text-decoration: none;
  backdrop-filter: blur(16px);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

a.landing-route-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 98, 254, 0.2);
  box-shadow: var(--shadow-card-hover);
}

.landing-route-featured {
  background:
    radial-gradient(circle at 90% 0%, rgba(15, 98, 254, 0.12), transparent 32%),
    var(--ilc-card-bg, rgba(255, 255, 255, 0.9));
}

.landing-card-number {
  position: absolute;
  top: 26px;
  right: 26px;
  color: #98a2b3;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: normal;
}

.landing-card-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 58px;
  border: 1px solid rgba(15, 98, 254, 0.12);
  border-radius: 14px;
  background: var(--ilc-icon-well, linear-gradient(145deg, #fff, #eaf2ff));
  color: var(--blue-deep);
  font-size: 1.15rem;
  box-shadow: 0 8px 20px rgba(15, 98, 254, 0.08);
}

.landing-route-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: -0.025em;
}

.landing-route-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.landing-card-link,
.landing-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 24px;
  color: var(--blue-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

.landing-card-link b {
  font-size: 1.15rem;
  transition: transform 180ms ease;
}

a.landing-route-card:hover .landing-card-link b { transform: translateX(4px); }

.landing-card-meta {
  color: #667085;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: normal;
}

.landing-bottom-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(30px, 5vw, 52px);
  border: 1px solid rgba(15, 98, 254, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 10%, rgba(15, 98, 254, 0.12), transparent 32%),
    var(--ilc-card-bg, rgba(255, 255, 255, 0.82));
  box-shadow: var(--shadow-card);
}

.landing-bottom-cta .landing-kicker { margin-bottom: 12px; }
.landing-bottom-cta .landing-btn { flex: 0 0 auto; }

.landing-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 660px);
  justify-content: space-between;
  gap: 30px;
  padding: 42px 4px 0;
  color: var(--muted);
}

.landing-footer p {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.65;
  text-align: right;
}

.landing-brand-footer { opacity: 0.78; }

@media (max-width: 860px) {
  .landing-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 52px;
  }

  .landing-visual {
    width: min(100%, 430px);
    justify-self: center;
  }

  .landing-route-grid { grid-template-columns: 1fr 1fr; }

  .landing-route-card:last-child {
    grid-column: 1 / -1;
    min-height: 250px;
  }

  .landing-card-icon { margin-bottom: 44px; }
}

@media (max-width: 620px) {
  .landing-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 8px;
  }

  .landing-nav {
    min-height: 58px;
    padding: 5px 4px 11px;
  }

  .landing-nav-link {
    min-height: 44px;
    padding: 0 8px;
    font-size: 0.74rem;
  }

  .landing-brand small { display: none; }

  .landing-hero {
    gap: 30px;
    padding: 20px 18px 28px;
    border-radius: 24px;
  }

  .landing-visual {
    order: -1;
    width: min(100%, 290px);
  }

  .landing-video-frame {
    position: relative;
    padding: 7px;
    border-radius: 21px;
    background:
      radial-gradient(circle at 50% 18%, rgba(98, 164, 255, 0.28), transparent 52%),
      linear-gradient(155deg, #0c2144 0%, #071224 100%);
  }

  .landing-logo-video {
    opacity: 0;
    transition: opacity 420ms ease;
  }

  .landing-video-frame.is-brand-video-active .landing-logo-video {
    opacity: 1;
  }

  .landing-video-frame::after {
    content: "";
    position: absolute;
    inset: 7px;
    border-radius: 15px;
    background: url("assets/inspired-labs-mark.png") center 24% / cover no-repeat;
    transition: opacity 320ms ease;
    pointer-events: none;
  }

  .landing-video-frame.is-brand-video-active::after {
    opacity: 0;
  }

  .landing-video-caption {
    right: 15px;
    bottom: 15px;
    left: 15px;
    padding: 8px 9px;
  }

  .landing-video-caption span:last-child { display: none; }

  .landing-hero h1 {
    margin: 16px 0 17px;
    font-size: clamp(2.65rem, 14vw, 3.75rem);
    line-height: 0.96;
  }

  .landing-lede {
    font-size: 0.94rem;
    line-height: 1.62;
  }

  .landing-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 26px;
  }

  .landing-btn {
    width: 100%;
    min-height: 54px;
  }

  .landing-signals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
    margin-top: 24px;
    font-size: 0.68rem;
  }

  .landing-disclaimer {
    margin-top: 14px;
    padding: 0 8px;
    font-size: 0.68rem;
  }

  .landing-routes { padding: 64px 4px 54px; }

  .landing-section-heading {
    display: block;
    margin-bottom: 24px;
  }

  .landing-kicker { margin-bottom: 12px; }
  .landing-section-heading h2 { margin-bottom: 14px; }
  .landing-route-grid { grid-template-columns: 1fr; }

  .landing-route-card,
  .landing-route-card:last-child {
    min-height: 280px;
    grid-column: auto;
    padding: 24px;
  }

  .landing-card-icon { margin-bottom: 34px; }

  .landing-bottom-cta {
    display: block;
    padding: 28px 22px;
  }

  .landing-bottom-cta .landing-btn { margin-top: 24px; }

  .landing-footer {
    display: block;
    padding: 34px 6px 0;
  }

  .landing-footer p {
    margin-top: 20px;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-btn,
  .landing-route-card,
  .landing-card-link b {
    transition: none !important;
  }
}
