/*
 * Inlyra marketing experience v2
 * Loaded after styles.css. UI tints may vary for contrast; canonical logo colors remain
 * Inlyra Navy #103068 and Inlyra Cyan #00B2C5.
 */
:root {
  --ink: #0a1d3d;
  --ink2: #103068;
  --paper: #f6f8fb;
  --paper2: #eaf1f7;
  --white: #ffffff;
  --text: #112440;
  --muted: #60718a;
  --line: rgba(16, 48, 104, 0.14);
  --accent: #00b2c5;
  --accent2: #078b9d;
  --danger: #cf7373;
  --shadow: 0 28px 80px rgba(10, 29, 61, 0.16);
  --glow: rgba(0, 178, 197, 0.18);
  --glow-strong: rgba(0, 178, 197, 0.34);
}

body {
  background:
    radial-gradient(circle at 8% 28%, rgba(0, 178, 197, 0.035), transparent 28rem),
    var(--paper);
}

.site-header {
  transition: background 180ms ease, box-shadow 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 23, 49, 0.88);
  box-shadow: 0 12px 36px rgba(4, 18, 39, 0.18);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}

.brand--wordmark {
  display: inline-flex;
  align-items: center;
  min-width: 126px;
}

.brand--wordmark img {
  width: 132px;
  height: auto;
}

.nav-links a {
  position: relative;
}

.nav-links a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--accent);
  border-radius: 999px;
  opacity: 0;
  transform: scaleX(0.55);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-links a.is-active,
.nav-links a[aria-current="page"] {
  color: #fff;
}

.nav-links a.is-active::after,
.nav-links a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.button--primary,
.button--small {
  color: #06203a;
  background: linear-gradient(135deg, #18c5d5, var(--accent));
  box-shadow: 0 16px 36px rgba(0, 178, 197, 0.24);
}

.button--primary:hover,
.button--small:hover {
  background: linear-gradient(135deg, #36d0de, #08b8ca);
}

.button--dark {
  background: linear-gradient(145deg, #0a1d3d, #103068);
}

.text-link,
.legal a,
.check a,
.permission-row code {
  color: var(--accent2);
}

.hero,
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, rgba(0, 178, 197, 0.22), transparent 28rem),
    radial-gradient(circle at 8% 92%, rgba(39, 95, 164, 0.2), transparent 30rem),
    linear-gradient(145deg, #06142e 0%, #0b234a 55%, #103068 120%);
}

.hero::before,
.page-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.hero::after,
.page-hero::after {
  position: absolute;
  z-index: -1;
  width: min(50vw, 660px);
  aspect-ratio: 1;
  right: -8vw;
  bottom: -38%;
  pointer-events: none;
  content: "";
  opacity: 0.055;
  background: url("/assets/brand/inlyra-mark-white.svg") center / contain no-repeat;
  transform: rotate(-7deg);
}

.page-hero {
  min-height: 520px;
  padding: 155px 0 88px;
  display: flex;
  align-items: center;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 960px;
  font-size: clamp(2.8rem, 6.2vw, 5.7rem);
  text-wrap: balance;
}

.page-hero .lead {
  max-width: 760px;
}

.page-hero.center {
  min-height: 78vh;
}

.signal-chip,
.boundary-pills span,
.pilot-login-note {
  border-color: rgba(0, 178, 197, 0.28);
  background: rgba(0, 178, 197, 0.08);
}

.signal-dot,
.mock-status span,
.insight-pulse {
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(0, 178, 197, 0.12);
}

.mockup {
  border-color: rgba(61, 220, 233, 0.18);
  background: #0a2145;
  box-shadow: 0 38px 110px rgba(2, 14, 34, 0.38);
}

.mock-top,
.mock-body aside,
.insight {
  background: rgba(4, 18, 42, 0.72);
}

.mock-brand-mark,
.demo-nav.is-active,
.queue-count {
  color: #071b36;
  background: var(--accent);
}

.trust-rail {
  border-top: 1px solid rgba(16, 48, 104, 0.09);
  border-bottom: 1px solid rgba(16, 48, 104, 0.09);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 55px rgba(16, 48, 104, 0.06);
}

.band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(0, 178, 197, 0.07), transparent 44%),
    var(--paper2);
}

.section {
  position: relative;
  padding: 96px 0;
}

.section.soft {
  background:
    radial-gradient(circle at 90% 0%, rgba(0, 178, 197, 0.07), transparent 26rem),
    var(--paper2);
}

.section-head {
  margin-bottom: 46px;
}

.section-head h2,
.split h2,
.form-shell h2 {
  text-wrap: balance;
}

.cards {
  counter-reset: inlyra-card;
}

.cards article,
.contact-grid article,
.price,
.permission-table,
.panel,
.pilot-form,
.price-examples article {
  box-shadow: 0 20px 58px rgba(16, 48, 104, 0.075);
}

.cards article,
.contact-grid article {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(16, 48, 104, 0.12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(243, 248, 252, 0.78));
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.cards article::after,
.contact-grid article::after,
.price::after {
  position: absolute;
  z-index: -1;
  width: 150px;
  aspect-ratio: 1;
  right: -72px;
  bottom: -86px;
  content: "";
  border: 24px solid rgba(0, 178, 197, 0.06);
  border-radius: 50%;
}

.cards article[data-card-index]::before {
  display: block;
  margin-bottom: 34px;
  content: attr(data-card-index);
  color: var(--accent2);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.cards article:hover,
.contact-grid article:hover {
  border-color: rgba(0, 178, 197, 0.34);
  box-shadow: 0 28px 72px rgba(16, 48, 104, 0.13);
  transform: translateY(-4px);
}

.cards article > span:not(.card-glyph) {
  margin-bottom: 38px;
  color: var(--accent2);
  font-weight: 800;
  letter-spacing: 0.12em;
}

.cards.three article:last-child:nth-child(3n + 1) {
  grid-column: 1 / -1;
  min-height: 190px;
}

.dark .cards article {
  border-color: rgba(119, 205, 222, 0.16);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  box-shadow: none;
}

.dark .cards article::after {
  border-color: rgba(0, 178, 197, 0.09);
}

.card-glyph {
  display: inline-grid !important;
  width: 44px;
  height: 44px;
  margin-bottom: 34px !important;
  place-items: center;
  color: #05203b !important;
  background: var(--accent);
  border-radius: 14px;
  font-size: 1.2rem !important;
}

.panel {
  position: relative;
  overflow: hidden;
  border-color: rgba(0, 178, 197, 0.18);
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 178, 197, 0.18), transparent 18rem),
    linear-gradient(145deg, #0a2145, #103068);
}

.panel::after {
  position: absolute;
  width: 180px;
  aspect-ratio: 1;
  right: -90px;
  bottom: -90px;
  content: "";
  border: 28px solid rgba(255, 255, 255, 0.035);
  border-radius: 50%;
}

.panel a {
  position: relative;
  z-index: 1;
}

.permission-table {
  border-color: rgba(16, 48, 104, 0.12);
  background: rgba(255, 255, 255, 0.84);
}

.permission-row {
  position: relative;
  border-color: rgba(16, 48, 104, 0.1);
}

.permission-row:not(.head):hover {
  background: rgba(0, 178, 197, 0.045);
}

.permission-row.head {
  background: linear-gradient(135deg, #0a1d3d, #103068);
}

.price {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(16, 48, 104, 0.12);
}

.price.featured {
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 178, 197, 0.25), transparent 20rem),
    linear-gradient(145deg, #091d3d, #103068);
}

.price-examples article {
  background: rgba(255, 255, 255, 0.72);
}

.contact-grid article .kicker {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.contact-grid article h3 {
  margin-top: 32px;
}

.pilot-form {
  position: relative;
  border-color: rgba(16, 48, 104, 0.14);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(237, 245, 249, 0.92));
}

.pilot-form::before {
  position: absolute;
  top: 0;
  right: 28px;
  left: 28px;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--ink2), var(--accent));
  border-radius: 0 0 999px 999px;
}

.pilot-form input,
.pilot-form select,
.pilot-form textarea {
  border-color: rgba(16, 48, 104, 0.18);
  box-shadow: inset 0 1px 0 rgba(16, 48, 104, 0.03);
}

.pilot-form input:focus,
.pilot-form select:focus,
.pilot-form textarea:focus {
  border-color: rgba(0, 178, 197, 0.72);
  box-shadow: 0 0 0 4px rgba(0, 178, 197, 0.1);
  outline: none;
}

.steps {
  counter-reset: pilot-step;
}

.steps li {
  position: relative;
  grid-template-columns: 42px 1fr;
  column-gap: 14px;
  align-items: start;
  counter-increment: pilot-step;
}

.steps li::before {
  grid-row: 1 / span 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  content: counter(pilot-step);
  color: #05203b;
  background: var(--accent);
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 850;
}

.legal {
  max-width: 880px;
}

.legal::before {
  display: block;
  width: 72px;
  height: 4px;
  margin-bottom: 48px;
  content: "";
  background: linear-gradient(90deg, var(--ink2), var(--accent));
  border-radius: 999px;
}

.legal h2 {
  padding-top: 8px;
  color: var(--ink2);
}

.legal p,
.legal li {
  max-width: 76ch;
}

.legal code {
  padding: 0.12em 0.38em;
  color: var(--ink2);
  background: rgba(16, 48, 104, 0.07);
  border-radius: 6px;
}

.cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 50%, rgba(0, 178, 197, 0.2), transparent 22rem),
    linear-gradient(135deg, #081a38, #103068);
}

.cta::after {
  position: absolute;
  width: 240px;
  aspect-ratio: 1;
  right: -90px;
  top: -120px;
  pointer-events: none;
  content: "";
  border: 42px solid rgba(255, 255, 255, 0.035);
  border-radius: 50%;
}

.footer {
  background:
    radial-gradient(circle at 8% 0%, rgba(0, 178, 197, 0.1), transparent 22rem),
    #05122b;
}

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

.footer-bottom {
  border-color: rgba(0, 178, 197, 0.13);
}

@media (max-width: 980px) {
  .page-hero {
    min-height: 470px;
  }

  .cards.three article:last-child:nth-child(3n + 1) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .brand--wordmark img {
    width: 118px;
  }

  .nav-links a:not(.button)::after {
    right: auto;
    bottom: 4px;
    width: 34px;
  }

  .hero::after,
  .page-hero::after {
    width: 92vw;
    right: -44vw;
    bottom: -24%;
  }

  .page-hero {
    min-height: 440px;
    padding: 135px 0 72px;
  }

  .page-hero h1 {
    font-size: clamp(2.65rem, 13vw, 4.3rem);
  }

  .section {
    padding: 76px 0;
  }

  .cards.three article:last-child:nth-child(3n + 1) {
    grid-column: auto;
    min-height: auto;
  }

  .cards article,
  .contact-grid article {
    padding: 26px;
  }

  .steps li {
    grid-template-columns: 38px 1fr;
  }

  .page-hero.center {
    min-height: auto;
    padding-bottom: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .cards article,
  .contact-grid article,
  .nav-links a:not(.button)::after {
    transition: none;
  }

  .cards article:hover,
  .contact-grid article:hover {
    transform: none;
  }
}
