:root {
  --bg: #eef2ff;
  --surface: #ffffff;
  --surface-soft: #eef3ff;
  --text: #122455;
  --text-muted: #495f8b;
  --border: #c9d8f2;
  --brand-navy: #1d2f68;
  --brand-blue: #2f7df6;
  --brand-teal: #22c8ef;
  --brand-gold: #9b58f2;
  --radius: 18px;
  --shadow: 0 16px 36px rgba(18, 38, 84, 0.14);
  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 12%, rgba(34, 200, 239, 0.26), transparent 41%),
    radial-gradient(circle at 82% 6%, rgba(155, 88, 242, 0.24), transparent 36%),
    linear-gradient(180deg, #f6f9ff, #eaf0ff 42%, #f7faff);
  line-height: 1.55;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.background-glow {
  position: fixed;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.22;
  z-index: -1;
}

.background-glow-left {
  width: 320px;
  height: 320px;
  background: var(--brand-gold);
  top: 40px;
  left: -120px;
}

.background-glow-right {
  width: 360px;
  height: 360px;
  background: var(--brand-blue);
  top: 240px;
  right: -140px;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  overflow: hidden;
  -webkit-backdrop-filter: blur(34px) saturate(170%) contrast(1.04);
  backdrop-filter: blur(34px) saturate(170%) contrast(1.04);
  background-color: rgba(252, 248, 239, 0.86);
  background: linear-gradient(
    120deg,
    rgba(255, 253, 248, 0.92) 0%,
    rgba(255, 251, 244, 0.88) 52%,
    rgba(252, 247, 238, 0.84) 100%
  );
  border-bottom: 1px solid rgba(231, 221, 203, 0.6);
  box-shadow:
    0 10px 22px rgba(29, 37, 60, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.66) 0%,
    rgba(255, 255, 255, 0.22) 48%,
    rgba(255, 252, 244, 0.2) 100%
  );
  opacity: 0.62;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255, 252, 245, 0.78);
  pointer-events: none;
}

.site-header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  padding: 1.25rem 0 0.75rem;
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header {
    background: rgba(252, 249, 242, 0.94);
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: clamp(133px, 16vw, 203px);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-left: auto;
  justify-content: flex-end;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav-drawer-head,
.site-nav-section-label,
.site-nav-drawer-close {
  display: none;
}

.site-nav a {
  color: var(--text-muted);
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand-navy);
}

.site-nav a.is-active {
  color: var(--brand-navy);
  font-weight: 700;
}

.site-nav-toggle {
  display: none;
  width: 2.45rem;
  height: 2.45rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.24rem;
  border-radius: 10px;
  border: 1px solid rgba(31, 52, 106, 0.28);
  background: rgba(250, 252, 255, 0.85);
  color: var(--brand-navy);
  cursor: pointer;
  padding: 0;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.site-nav-toggle:hover,
.site-nav-toggle:focus-visible {
  border-color: rgba(47, 125, 246, 0.52);
  background: rgba(239, 246, 255, 0.96);
}

.site-nav-toggle:active {
  transform: translateY(0);
}

.site-nav-toggle-bar {
  display: block;
  width: 1.08rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-nav-mobile-cta {
  display: none;
}

.site-nav-backdrop {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
  white-space: nowrap;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-teal));
  color: #fff;
  box-shadow: 0 10px 20px rgba(47, 125, 246, 0.28);
}

.btn-outline {
  border-color: rgba(31, 52, 106, 0.3);
  color: var(--brand-navy);
  background: rgba(250, 252, 255, 0.8);
}

.btn-ghost {
  border-color: rgba(43, 64, 120, 0.24);
  color: var(--brand-navy);
  background: rgba(245, 249, 255, 0.56);
}

.hero {
  padding: 4.25rem 0 3rem;
  display: grid;
  gap: 1.8rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: start;
}

.hero.hero-single {
  grid-template-columns: 1fr;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 0.95rem;
  border-radius: 999px;
  padding: 0.28rem 0.72rem;
  background: rgba(21, 36, 95, 0.08);
  color: var(--brand-navy);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  letter-spacing: -0.03em;
  color: var(--brand-navy);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.08;
}

h1 span {
  color: #2f7df6;
}

.hero-lede {
  margin: 1.1rem 0 1.45rem;
  color: var(--text-muted);
  font-size: 1.06rem;
  max-width: 60ch;
}

.hero-support {
  margin: -0.6rem 0 1.45rem;
  color: #2f426c;
  font-size: 1rem;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.platform-list {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding: 0;
  margin: 1.45rem 0 0;
  list-style: none;
}

.platform-list li {
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: #314261;
  font-weight: 700;
  font-size: 0.84rem;
  max-width: 100%;
}

.hero-panel {
  background: linear-gradient(165deg, #ffffff, #ecf2fc);
  border: 1px solid rgba(21, 36, 95, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  animation: panel-float 5s ease-in-out infinite;
  min-width: 0;
}

@keyframes panel-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.panel-kicker {
  margin: 0 0 0.48rem;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3568d3;
}

.hero-panel h2 {
  font-size: 1.5rem;
}

.panel-checks {
  padding: 0;
  margin: 0.9rem 0 1rem;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.panel-checks li {
  position: relative;
  padding-left: 1.2rem;
  color: #2f4063;
  font-weight: 600;
}

.panel-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.53em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--brand-teal), var(--brand-blue));
  transform: translateY(-50%);
}

.code-shell {
  background: #0d2257;
  color: #d7ebff;
  border-radius: 14px;
  overflow: hidden;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.code-shell pre {
  margin: 0;
  padding: 0.95rem 1rem;
  font-size: 0.84rem;
  line-height: 1.45;
  font-family: "Consolas", "SFMono-Regular", monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.section {
  padding: 1.1rem 0 3.4rem;
}

.section-head {
  margin-bottom: 1.25rem;
}

.section-copy {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 75ch;
}

.section-head h2 {
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  line-height: 1.1;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

.card,
.scope-card,
.price-card,
.cta {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card {
  padding: 1.1rem;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
}

.bullet-list {
  margin: 0;
  padding-left: 1rem;
  color: #2f4063;
  display: grid;
  gap: 0.32rem;
  font-weight: 600;
}

.bullet-list-centered {
  display: inline-grid;
  text-align: left;
  justify-content: center;
  margin: 0.6rem auto 0.4rem;
}

.section-wash {
  background: linear-gradient(180deg, rgba(56, 97, 201, 0.09), rgba(103, 82, 214, 0.1));
  border-top: 1px solid rgba(71, 99, 160, 0.12);
  border-bottom: 1px solid rgba(71, 99, 160, 0.12);
}

.scope-card {
  padding: 1.2rem;
}

.scope-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.16rem;
}

.scope-card ul {
  margin: 0;
  padding-left: 1rem;
  color: #2f4063;
  display: grid;
  gap: 0.32rem;
}

.scope-card-muted {
  background: #edf2ff;
}

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

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

.price-card {
  padding: 1.15rem;
}

.tier {
  margin: 0;
  color: #35579c;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.75rem;
}

.price {
  margin: 0.2rem 0 0.15rem;
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  line-height: 1;
  color: var(--brand-navy);
}

.price span {
  font-size: 0.9rem;
  color: #5f7198;
  font-weight: 600;
}

.limit {
  margin: 0;
  color: var(--text-muted);
  font-weight: 600;
}

.price-card-featured {
  border-color: rgba(47, 125, 246, 0.45);
  background:
    radial-gradient(circle at 80% -10%, rgba(155, 88, 242, 0.2), transparent 55%),
    #ffffff;
}

.cta {
  padding: 1.5rem;
  text-align: center;
}

.cta p {
  margin: 0.9rem auto 1.2rem;
  max-width: 60ch;
  color: var(--text-muted);
}

.hero-actions-centered {
  justify-content: center;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1rem 0 1.5rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
}

.footer-inner p {
  margin: 0;
  color: #526694;
  font-weight: 600;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #526694;
  font-weight: 600;
  transition: color 160ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-links a[aria-current="page"] {
  color: var(--brand-navy);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .site-header.nav-open {
    z-index: 150;
  }

  .site-header {
    overflow: visible;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .site-header::before,
  .site-header::after {
    display: none;
  }

  .site-header-inner {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 0;
  }

  .site-nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    position: relative;
    z-index: 142;
    width: 2.6rem;
    height: 2.6rem;
    border-color: rgba(148, 163, 184, 0.38);
    background: #111827;
    color: #f8fafc;
  }

  .site-nav-toggle:active {
    transform: scale(0.97);
  }

  .site-header .header-cta {
    display: none;
  }

  .site-nav {
    display: flex;
    position: fixed;
    inset: 0 0 0 auto;
    width: min(86vw, 360px);
    height: 100dvh;
    max-height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.7rem;
    padding:
      max(0.9rem, calc(env(safe-area-inset-top, 0px) + 0.55rem))
      1rem
      calc(0.9rem + env(safe-area-inset-bottom, 0px));
    margin-left: 0;
    border: 0;
    border-left: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 0;
    background: #131c2f;
    box-shadow:
      -38px 0 68px rgba(2, 6, 23, 0.74),
      -10px 0 26px rgba(2, 6, 23, 0.5);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 220ms ease,
      visibility 0ms linear 300ms;
    z-index: 140;
  }

  .site-nav::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -28px;
    width: 28px;
    pointer-events: none;
    background: linear-gradient(to left, rgba(2, 6, 23, 0.46), rgba(2, 6, 23, 0));
  }

  .site-nav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    margin: 0;
    padding: 0.05rem 0 0.25rem;
  }

  .site-nav-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 10px;
    border: 0;
    background: transparent;
    color: #f8fafc;
    font-size: 1.9rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
  }

  .site-nav-drawer-close:active {
    background: rgba(148, 163, 184, 0.14);
    transform: scale(0.97);
  }

  .site-nav-drawer-close:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.28);
  }

  .site-nav-section-label {
    display: none;
  }

  .site-nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-header.nav-open .site-nav {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    justify-content: flex-start;
    margin-left: 0;
    transition:
      transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 220ms ease,
      visibility 0ms linear 0ms;
  }

  .site-nav a {
    display: block;
    border-radius: 12px;
  }

  .site-nav-links a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    padding: 0.82rem 0.95rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.52);
    color: #e2e8f0;
    font-weight: 650;
    line-height: 1.2;
    transition:
      background 170ms ease,
      border-color 170ms ease,
      color 170ms ease,
      transform 170ms ease;
  }

  .site-nav-links a + a {
    margin-top: 0.44rem;
  }

  .site-nav-links a::after {
    content: "\203A";
    color: rgba(148, 163, 184, 0.82);
    font-size: 1.18rem;
    line-height: 1;
    margin-left: 0.66rem;
  }

  .site-nav-links a:active {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(148, 163, 184, 0.34);
  }

  .site-nav-links a:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.28);
  }

  .site-nav-links a.is-active {
    color: #2563eb;
    border-color: rgba(37, 99, 235, 0.52);
    background: rgba(37, 99, 235, 0.12);
    font-weight: 700;
  }

  .site-nav-links a.is-active::before {
    content: "";
    position: absolute;
    left: 0.34rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    border-radius: 999px;
    background: #2563eb;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
  }

  .site-nav-links a.is-active::after {
    color: rgba(37, 99, 235, 0.9);
  }

  .site-nav .site-nav-mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 0.78rem;
    margin-bottom: max(0.2rem, env(safe-area-inset-bottom, 0px));
    min-height: 54px;
    border-radius: 12px;
    padding: 0.82rem 0.94rem;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: 1px solid rgba(147, 197, 253, 0.46);
    color: #ffffff;
    font-weight: 800;
    text-shadow: 0 1px 1px rgba(2, 6, 23, 0.34);
    box-shadow:
      0 12px 24px rgba(37, 99, 235, 0.4),
      inset 0 1px 0 rgba(191, 219, 254, 0.26);
    position: static;
  }

  .site-nav .site-nav-mobile-cta:active {
    background: #1e40af;
    box-shadow:
      0 8px 18px rgba(37, 99, 235, 0.33),
      inset 0 1px 0 rgba(191, 219, 254, 0.2);
  }

  .site-nav .site-nav-mobile-cta:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.28);
  }

  .site-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    border: 0;
    margin: 0;
    padding: 0;
    background: rgba(2, 6, 23, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
    z-index: 140;
  }

  body.nav-drawer-open .site-nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  body.nav-drawer-open {
    overflow: hidden;
    touch-action: none;
  }

  body.nav-drawer-open .site-nav-toggle {
    opacity: 0;
    pointer-events: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav,
  .site-nav-backdrop,
  .site-nav-links a,
  .site-nav-mobile-cta,
  .site-nav-drawer-close,
  .site-nav-toggle {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 3.2rem;
  }

  .cards-3 {
    grid-template-columns: 1fr 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .brand-logo {
    width: clamp(126px, 42vw, 175px);
  }

  .cards-3,
  .cards-2,
  .pricing-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-copy,
  .hero-panel {
    min-width: 0;
  }

  .footer-inner {
    justify-content: center;
    text-align: center;
  }
}

/* Marketing page theme */
.page-home,
.page-features {
  position: relative;
  color: #16234f;
  background:
    radial-gradient(circle at -20% 72%, rgba(32, 102, 210, 0.56), transparent 44%),
    radial-gradient(circle at 18% 8%, rgba(122, 194, 255, 0.36), transparent 40%),
    radial-gradient(circle at 92% 0%, rgba(109, 148, 206, 0.32), transparent 44%),
    linear-gradient(180deg, #b4c9e3 0%, #a9bfd9 42%, #9fb4d2 70%, #95a8c6 100%);
}

.page-home::before,
.page-features::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 14%, rgba(233, 246, 255, 0.22), transparent 48%),
    radial-gradient(circle at 84% 10%, rgba(205, 223, 246, 0.22), transparent 46%),
    linear-gradient(180deg, rgba(14, 34, 82, 0.1), transparent 35%);
  opacity: 1;
}

.page-home .background-glow-left,
.page-features .background-glow-left {
  width: 420px;
  height: 420px;
  top: 78px;
  left: -170px;
  background: #2272db;
  opacity: 0.28;
}

.page-home .background-glow-right,
.page-features .background-glow-right {
  width: 380px;
  height: 380px;
  top: 190px;
  right: -150px;
  background: #4f74b2;
  opacity: 0.23;
}

.page-home .site-header,
.page-features .site-header {
  background: linear-gradient(
    120deg,
    rgba(255, 253, 248, 0.96) 0%,
    rgba(255, 251, 244, 0.92) 58%,
    rgba(255, 248, 240, 0.9) 100%
  );
  border-bottom: 1px solid rgba(202, 214, 240, 0.5);
}

.page-home .site-header-inner {
  padding: 1rem 0 0.85rem;
}

.page-home .site-nav {
  flex: 0 1 auto;
  margin-left: auto;
  justify-content: flex-end;
}

.page-home .site-nav a {
  font-size: 1.06rem;
  color: #334a79;
}

.page-home .site-nav a:hover,
.page-home .site-nav a:focus-visible {
  color: #172f69;
}

.page-home .home-hero {
  position: relative;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: 1.5rem;
  padding: 3.3rem 0 2.4rem;
  align-items: stretch;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 1.1rem -1.4rem 0.8rem;
  border-radius: 30px;
  background: linear-gradient(
    140deg,
    rgba(223, 242, 255, 0.84) 0%,
    rgba(229, 236, 255, 0.76) 55%,
    rgba(227, 236, 247, 0.74) 100%
  );
  border: 1px solid rgba(171, 193, 236, 0.55);
  box-shadow: 0 18px 38px rgba(17, 37, 80, 0.12);
  z-index: 0;
}

.page-home .home-hero-copy,
.page-home .home-hero-panel {
  position: relative;
  z-index: 1;
}

.page-home h1 {
  font-size: clamp(2.3rem, 5.6vw, 4.15rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.page-home .hero-lede {
  font-size: 1.24rem;
  line-height: 1.45;
  color: #304872;
  max-width: 60ch;
}

.page-home .hero-actions {
  margin-top: 1.55rem;
}

.page-home .home-hero-panel {
  display: grid;
  gap: 0.85rem;
  padding: 1.3rem;
  background: linear-gradient(166deg, rgba(255, 255, 255, 0.95), rgba(237, 244, 255, 0.88));
  border: 1px solid rgba(162, 187, 233, 0.64);
  box-shadow: 0 20px 38px rgba(19, 39, 88, 0.16);
  overflow: hidden;
  position: relative;
  left: 2.7rem;
  top: 2.75rem;
  z-index: 2;
}

.page-home .home-hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 100% 0%, rgba(47, 125, 246, 0.17), transparent 48%);
}

.page-home .home-hero-panel h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  line-height: 1.2;
}

.page-home .home-hero-panel .section-copy {
  margin: 0;
  color: #3f5684;
}

.page-home .home-section {
  padding: 2.5rem 0;
}

.page-accessibility .hero {
  padding-bottom: 1.4rem;
}

.page-accessibility .section {
  padding-top: 0.2rem;
  padding-bottom: 2.4rem;
}

.page-accessibility .policy-grid {
  display: grid;
  gap: 1rem;
}

.page-accessibility .policy-list {
  margin: 0;
  padding-left: 1.15rem;
  color: #344a75;
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
}

.page-accessibility .policy-card p {
  margin: 0;
}

.page-accessibility .policy-card p + p {
  margin-top: 0.6rem;
}

.page-accessibility .policy-contact {
  margin-top: 0.7rem;
  font-weight: 700;
}

.page-accessibility .policy-contact a {
  color: var(--brand-blue);
}

.page-accessibility .policy-contact a:hover,
.page-accessibility .policy-contact a:focus-visible {
  color: var(--brand-teal);
}

.page-pricing .hero {
  padding-bottom: 1.6rem;
}

.page-pricing .section {
  padding-top: 0.25rem;
  padding-bottom: 2.5rem;
}

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

.plan-card {
  display: grid;
  gap: 0.85rem;
  padding: 1.2rem;
}

.plan-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.plan-name {
  margin: 0;
  font-size: 1.45rem;
}

.plan-price {
  margin: 0;
  font: 700 1.1rem/1.2 "Montserrat", sans-serif;
  color: #2f7df6;
}

.plan-summary {
  margin: 0;
  color: var(--text-muted);
}

.plan-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.38rem;
  color: #2f4063;
  font-weight: 600;
}

.plan-action {
  margin-top: 0.25rem;
}

.page-developers .hero {
  padding-bottom: 1.55rem;
}

.page-developers .section {
  padding-top: 0.2rem;
  padding-bottom: 2.4rem;
}

.page-developers .dev-card p {
  margin: 0;
}

.page-developers .dev-card p + p {
  margin-top: 0.62rem;
}

.page-developers .code-shell {
  margin-top: 0.8rem;
}

.page-developers .developer-note {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.page-home .home-section .section-head {
  margin-bottom: 1rem;
}

.page-home .home-section h2 {
  font-size: clamp(1.85rem, 4.2vw, 2.65rem);
}

.page-home .home-prose {
  display: grid;
  gap: 0.95rem;
  max-width: 72ch;
  color: #334a73;
  font-size: 1.13rem;
}

.page-home .home-prose p {
  margin: 0;
}

.page-home .home-statement {
  font-family: "Montserrat", sans-serif;
  letter-spacing: -0.02em;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  color: #1d3a7d;
}

.page-home .home-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.page-home .home-feature-list li {
  position: relative;
  margin: 0;
  padding: 0.88rem 0.95rem 0.88rem 2.2rem;
  border-radius: 14px;
  border: 1px solid rgba(159, 183, 232, 0.52);
  background: rgba(252, 254, 255, 0.78);
  box-shadow: 0 8px 18px rgba(21, 40, 85, 0.08);
  color: #223765;
  font-weight: 700;
}

.page-home .home-feature-list li::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  top: 50%;
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #39c8f0, #2e74f2);
  transform: translateY(-50%);
}

.page-home .home-checklist {
  list-style: none;
  margin: 0.55rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.page-home .home-checklist li {
  position: relative;
  margin: 0;
  padding: 0.84rem 0.9rem 0.84rem 2rem;
  border-radius: 12px;
  border: 1px solid rgba(168, 190, 236, 0.52);
  background: rgba(250, 253, 255, 0.72);
  font-weight: 700;
  color: #223765;
}

.page-home .home-checklist li::before {
  content: "";
  position: absolute;
  left: 0.86rem;
  top: 50%;
  width: 0.64rem;
  height: 0.64rem;
  border-radius: 50%;
  background: #2f7df6;
  transform: translateY(-50%);
}

.page-home .platform-list {
  margin-top: 0.85rem;
}

.page-home .platform-list li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  min-width: 0;
  padding: 0.44rem 0.74rem;
  border-radius: 16px;
  border: 1px solid rgba(172, 195, 236, 0.64);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 16px rgba(18, 34, 77, 0.08);
  color: #253967;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
  white-space: nowrap;
}

.platform-icon {
  width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 17px;
}

.platform-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.platform-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.platform-icon--code {
  width: 24px;
  height: 18px;
  flex: 0 0 24px;
}

.platform-icon--code svg {
  width: 100%;
  height: 100%;
}

.page-home .platform-list--hero {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.page-home .platform-list--hero li {
  min-width: 0;
  width: 100%;
}

.page-home .platform-list-large {
  margin-top: 0;
  gap: 0.7rem;
}

.page-home .platform-list--matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
}

.page-home .platform-list--matrix li {
  min-width: 0;
}

.page-features .platform-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-features .platform-list li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  min-width: 0;
  padding: 0.44rem 0.74rem;
  border-radius: 16px;
  border: 1px solid rgba(172, 195, 236, 0.64);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 16px rgba(18, 34, 77, 0.08);
  color: #253967;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
  white-space: nowrap;
}

.page-features .platform-list--matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
}

.page-features .platform-list--matrix li {
  min-width: 0;
}

.page-home .section-wash {
  background: transparent;
  border-top: 0;
  border-bottom: 0;
  box-shadow: none;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.page-home .section-wash .container {
  padding: 2.15rem 1.45rem;
  border-radius: 28px;
  border: 1px solid rgba(166, 187, 228, 0.56);
  background:
    linear-gradient(165deg, rgba(221, 235, 255, 0.72), rgba(223, 233, 246, 0.7)),
    rgba(245, 249, 255, 0.76);
  box-shadow:
    0 16px 30px rgba(20, 38, 86, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.page-home .home-final-copy {
  margin-bottom: 0.85rem;
  text-align: center;
}

.page-home .home-final-copy .section-copy {
  color: #334a73;
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
}

.page-home #final-cta .hero-actions {
  justify-content: center;
}

.page-features .section-wash {
  background: transparent;
  border-top: 0;
  border-bottom: 0;
  box-shadow: none;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.page-features .section-wash .container {
  padding: 2.15rem 1.45rem;
  border-radius: 28px;
  border: 1px solid rgba(166, 187, 228, 0.56);
  background:
    linear-gradient(165deg, rgba(221, 235, 255, 0.72), rgba(223, 233, 246, 0.7)),
    rgba(245, 249, 255, 0.76);
  box-shadow:
    0 16px 30px rgba(20, 38, 86, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.page-features .bullet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.page-features .bullet-list li {
  margin: 0;
  padding: 0.88rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(159, 183, 232, 0.52);
  background: rgba(252, 254, 255, 0.78);
  box-shadow: 0 8px 18px rgba(21, 40, 85, 0.08);
  color: #223765;
  font-weight: 700;
}

.page-home .site-footer {
  background: rgba(255, 255, 255, 0.42);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.page-home .footer-inner p {
  color: #3d5180;
}

@media (max-width: 980px) {
  .page-home .home-hero {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .page-home .home-hero::before {
    inset: 0.85rem -0.8rem 0.65rem;
  }

  .page-home .home-hero-panel {
    left: 1.05rem;
    top: 1.35rem;
  }

  .page-home .home-feature-list,
  .page-home .home-checklist {
    grid-template-columns: 1fr;
  }

  .page-features .bullet-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-features .platform-list--matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page-home .home-hero {
    padding-top: 2.35rem;
  }

  .page-home .home-hero::before {
    inset: 0.55rem -0.25rem 0.5rem;
  }

  .page-home .home-hero-panel {
    left: 0;
    top: 0;
  }

  .page-home h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .page-home .hero-lede {
    font-size: 1.06rem;
  }

  .page-home .home-hero-panel {
    padding: 1rem;
  }

  .page-home .section-wash {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }

  .page-home .section-wash .container {
    padding: 1.35rem 1rem;
    border-radius: 22px;
  }

  .page-features .section-wash {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }

  .page-features .section-wash .container {
    padding: 1.35rem 1rem;
    border-radius: 22px;
  }

  .page-features .bullet-list {
    grid-template-columns: 1fr;
    gap: 0.56rem;
  }

  .page-features .platform-list--matrix {
    grid-template-columns: 1fr;
    gap: 0.56rem;
  }

  .page-home .home-prose {
    font-size: 1rem;
  }

  .page-home .home-statement {
    font-size: 1.2rem;
  }

  .page-home .platform-list li {
    padding: 0.42rem 0.64rem;
  }

  .page-home .platform-list--hero {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.56rem;
  }

  .page-home .platform-list--matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.56rem;
  }

  .page-home .platform-list li {
    min-height: 42px;
  }

  .page-pricing .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* Dark palette refresh (final overrides) */
:root {
  --bg: #0f172a;
  --surface: #111827;
  --surface-soft: #111827;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --border: rgba(148, 163, 184, 0.28);
  --brand-navy: #f8fafc;
  --brand-blue: #2563eb;
  --brand-teal: #3b82f6;
  --brand-gold: #2563eb;
  --shadow: 0 16px 36px rgba(2, 6, 23, 0.48);
}

body.page-home,
body.page-features {
  background: #0f172a;
  color: var(--text);
}

body.page-home::before,
body.page-features::before,
body.page-home .background-glow,
body.page-features .background-glow {
  display: none;
}

body.page-home h1,
body.page-home h2,
body.page-home h3,
body.page-features h1,
body.page-features h2,
body.page-features h3 {
  color: var(--text);
}

body.page-home .hero-lede,
body.page-home .section-copy,
body.page-home .home-prose,
body.page-home .home-final-copy .section-copy,
body.page-features .hero-lede,
body.page-features .section-copy,
body.page-features .card p,
body.page-features .bullet-list li {
  color: var(--text-muted);
}

body.page-home .site-header,
body.page-features .site-header {
  background: #0b1020;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: none;
}

body.page-home .site-header::before,
body.page-home .site-header::after,
body.page-features .site-header::before,
body.page-features .site-header::after {
  display: none;
}

body.page-home .site-nav a,
body.page-features .site-nav a {
  color: var(--text-muted);
}

body.page-home .site-nav-toggle,
body.page-features .site-nav-toggle {
  border-color: rgba(148, 163, 184, 0.34);
  background: #111827;
  color: var(--text);
}

body.page-home .site-nav-toggle:hover,
body.page-home .site-nav-toggle:focus-visible,
body.page-features .site-nav-toggle:hover,
body.page-features .site-nav-toggle:focus-visible {
  border-color: rgba(37, 99, 235, 0.58);
  background: #162033;
}

body.page-home .site-nav a:hover,
body.page-home .site-nav a:focus-visible,
body.page-home .site-nav a.is-active,
body.page-features .site-nav a:hover,
body.page-features .site-nav a:focus-visible,
body.page-features .site-nav a.is-active {
  color: var(--text);
}

body.page-home .home-hero::before {
  display: none;
}

body.page-home .hero-panel,
body.page-home .home-hero-panel,
body.page-home .home-feature-list li,
body.page-home .home-checklist li,
body.page-home .section-wash .container,
body.page-features .card,
body.page-features .bullet-list li,
body.page-features .section-wash .container {
  background:
    radial-gradient(
      600px circle at top right,
      rgba(37, 99, 235, 0.12),
      transparent 40%
    ),
    #111827;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.35);
  color: var(--text);
}

body.page-home .platform-list li,
body.page-features .platform-list li {
  background: #131c2f;
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: var(--text);
}

body.page-home .home-hero-panel::after {
  display: none;
}

body.page-home .code-shell {
  background: #0b1020;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

body.page-home .code-shell pre {
  color: #cbd5e1;
}

body.page-features .code-shell {
  background: #0b1020;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

body.page-features .code-shell pre {
  color: #cbd5e1;
}

body.page-home .btn-primary,
body.page-features .btn-primary {
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  border-color: rgba(37, 99, 235, 0.65);
  color: #f8fafc;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.36);
}

body.page-home .btn-primary:hover,
body.page-home .btn-primary:focus-visible,
body.page-features .btn-primary:hover,
body.page-features .btn-primary:focus-visible {
  background: #3b82f6;
}

body.page-home .btn-ghost,
body.page-home .btn-outline,
body.page-features .btn-ghost,
body.page-features .btn-outline {
  background: #111827;
  border-color: rgba(148, 163, 184, 0.38);
  color: var(--text);
}

body.page-home .eyebrow,
body.page-features .eyebrow {
  background: rgba(37, 99, 235, 0.18);
  color: #c2eaff;
}

body.page-home .site-footer,
body.page-features .site-footer {
  background: #0b1020;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
}

body.page-home .footer-inner p,
body.page-features .footer-inner p {
  color: var(--text-muted);
}

body.page-home .footer-links a,
body.page-features .footer-links a {
  color: var(--text-muted);
}

body.page-home .footer-links a:hover,
body.page-home .footer-links a:focus-visible,
body.page-home .footer-links a[aria-current="page"],
body.page-features .footer-links a:hover,
body.page-features .footer-links a:focus-visible,
body.page-features .footer-links a[aria-current="page"] {
  color: var(--text);
}

body.page-features .policy-list {
  color: var(--text-muted);
}

body.page-features .policy-contact a {
  color: #60a5fa;
}

body.page-features .policy-contact a:hover,
body.page-features .policy-contact a:focus-visible {
  color: #93c5fd;
}

body.page-features .plan-price {
  color: #60a5fa;
}

body.page-features .plan-list {
  color: var(--text-muted);
}

body.page-home a:focus-visible,
body.page-home button:focus-visible,
body.page-home .btn:focus-visible,
body.page-home input:focus-visible,
body.page-features a:focus-visible,
body.page-features button:focus-visible,
body.page-features .btn:focus-visible,
body.page-features input:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.3);
}

@media (max-width: 860px) {
  body.page-home .site-nav,
  body.page-features .site-nav {
    justify-content: flex-start;
    margin-left: 0;
    background: #131c2f;
  }

  body.page-home .site-nav-links a,
  body.page-features .site-nav-links a {
    color: #e2e8f0;
    background: rgba(15, 23, 42, 0.52);
  }

  body.page-home .site-nav-links a.is-active,
  body.page-features .site-nav-links a.is-active {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.12);
  }

  body.page-home .site-nav .site-nav-mobile-cta,
  body.page-features .site-nav .site-nav-mobile-cta {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-color: rgba(147, 197, 253, 0.58);
  }

  body.page-home .site-nav-section-label,
  body.page-features .site-nav-section-label {
    color: #94a3b8;
  }

  body.page-home .site-nav-drawer-close,
  body.page-features .site-nav-drawer-close {
    color: #f8fafc;
    background: transparent;
  }
}
