:root {
  color-scheme: light;
  --bg: #f6fbff;
  --ink: #07111f;
  --muted: #617083;
  --glass: rgba(255, 255, 255, 0.68);
  --glass-strong: rgba(255, 255, 255, 0.86);
  --line: rgba(82, 111, 143, 0.18);
  --blue: #0878ff;
  --blue-2: #32c7ff;
  --green: #0bbf8a;
  --amber: #ffb02e;
  --coral: #ff5b61;
  --violet: #5b7cfa;
  --shadow: 0 24px 80px rgba(42, 68, 105, 0.18);
  --shadow-soft: 0 18px 50px rgba(42, 68, 105, 0.12);
  font-family: Manrope, "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(115deg, rgba(8, 120, 255, 0.12), transparent 30%),
    linear-gradient(245deg, rgba(11, 191, 138, 0.14), transparent 36%),
    linear-gradient(180deg, #fffdf9 0%, var(--bg) 46%, #f8fffb 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(20, 88, 155, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(20, 88, 155, 0.05) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.86), transparent 78%);
}

button,
input {
  font: inherit;
}

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

.page-shell {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 70px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  min-height: 66px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  padding: 10px 12px 10px 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 48px rgba(42, 68, 105, 0.14);
  backdrop-filter: blur(22px) saturate(148%);
}

.brand,
.nav-links,
.nav-cta {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 850;
}

.brand-mark {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 8px 22px rgba(8, 120, 255, 0.35);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 999px;
  background: #fff;
}

.nav-links {
  justify-content: center;
  gap: 6px;
}

.nav-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 14px;
  color: #536276;
  font-size: 14px;
  font-weight: 750;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(8, 120, 255, 0.08);
  color: var(--ink);
}

.nav-cta,
.button,
.plan-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
}

.nav-cta {
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 18px 32px rgba(8, 120, 255, 0.24);
}

.button {
  padding: 0 22px;
}

.button.primary,
.plan-button {
  color: #fff;
  background: linear-gradient(135deg, #ff5b61, #ff8a3d);
  box-shadow: 0 18px 34px rgba(255, 91, 97, 0.24);
}

.full-width {
  width: 100%;
}

.hero {
  min-height: min(820px, calc(100dvh - 56px));
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: 70px;
  align-items: center;
  padding: 104px 0 42px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-kicker,
.section-kicker {
  width: fit-content;
  margin: 0 0 20px;
  border: 1px solid rgba(8, 120, 255, 0.16);
  border-radius: 999px;
  padding: 9px 13px;
  color: #1262c7;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 10px 30px rgba(8, 120, 255, 0.08);
  font-size: 13px;
  font-weight: 850;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Unbounded, Manrope, sans-serif;
}

h1 {
  max-width: 590px;
  margin-bottom: 22px;
  font-size: 76px;
  line-height: 1;
}

h2 {
  max-width: 840px;
  margin-bottom: 16px;
  font-size: 46px;
  line-height: 1.08;
}

h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.18;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.58;
}

.scan-form {
  width: min(100%, 680px);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 30px;
  padding: 18px;
  background: var(--glass);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(24px) saturate(150%);
}

.scan-form label {
  display: block;
  margin: 2px 0 10px;
  color: #29394d;
  font-size: 14px;
  font-weight: 850;
}

.scan-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.scan-input-row input,
.request-form input {
  min-height: 58px;
  width: 100%;
  border: 1px solid rgba(63, 93, 127, 0.18);
  border-radius: 19px;
  padding: 0 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.scan-input-row input:focus,
.request-form input:focus {
  border-color: rgba(8, 120, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(8, 120, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.scan-input-row button {
  min-height: 58px;
  border: 0;
  border-radius: 19px;
  padding: 0 24px;
  color: #fff;
  background: linear-gradient(135deg, #ff5b61, #ff8a3d);
  box-shadow: 0 18px 34px rgba(255, 91, 97, 0.26);
  cursor: pointer;
  font-weight: 900;
}

.scan-note {
  min-height: 22px;
  margin: 12px 4px 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.45;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.trust-row span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  padding: 0 14px;
  color: #3a5068;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 12px 26px rgba(42, 68, 105, 0.08);
  font-size: 13px;
  font-weight: 850;
  backdrop-filter: blur(16px);
}

.diagnostic-stage {
  position: relative;
  min-height: 640px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 42px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(244, 251, 255, 0.55)),
    linear-gradient(120deg, rgba(50, 199, 255, 0.1), rgba(11, 191, 138, 0.12));
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
}

.stage-grid,
.stage-sweep {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.stage-grid {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 120, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(8, 120, 255, 0.07) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 78%, transparent 100%);
}

.stage-sweep {
  z-index: -1;
  background:
    linear-gradient(112deg, transparent 0%, rgba(50, 199, 255, 0.26) 38%, rgba(11, 191, 138, 0.2) 52%, transparent 68%);
  transform: translateX(-34%) rotate(-8deg);
  animation: sweep 8s ease-in-out infinite;
}

.signal-console {
  min-height: 584px;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 32px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 24px 80px rgba(42, 68, 105, 0.15);
  backdrop-filter: blur(22px) saturate(150%);
}

.console-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 18px;
}

.console-label {
  display: block;
  margin-bottom: 7px;
  color: #49759e;
  font-size: 12px;
  font-weight: 900;
}

.console-head strong {
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 32px;
}

.status-pill {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.status-pill.healthy {
  color: #057256;
  background: rgba(11, 191, 138, 0.12);
}

.map-space {
  position: relative;
  min-height: 498px;
  border: 1px solid rgba(82, 111, 143, 0.13);
  border-radius: 26px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(50, 199, 255, 0.18), transparent 34%),
    linear-gradient(300deg, rgba(11, 191, 138, 0.18), transparent 38%),
    linear-gradient(135deg, rgba(248, 253, 255, 0.85), rgba(255, 255, 255, 0.46));
}

.map-space::before {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(8, 120, 255, 0.11) 1px, transparent 1px),
    linear-gradient(180deg, rgba(8, 120, 255, 0.09) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.72;
}

.route-line {
  position: absolute;
  z-index: 1;
  height: 8px;
  border-radius: 999px;
  filter: drop-shadow(0 12px 18px rgba(8, 120, 255, 0.18));
  transform-origin: left center;
}

.line-a {
  left: 16%;
  top: 42%;
  width: 38%;
  background: linear-gradient(90deg, var(--blue), var(--blue-2), var(--green));
  transform: rotate(-9deg);
}

.line-b {
  left: 48%;
  top: 47%;
  width: 34%;
  background: linear-gradient(90deg, var(--green), var(--amber), var(--coral));
  transform: rotate(12deg);
}

.line-c {
  left: 25%;
  top: 68%;
  width: 44%;
  background: linear-gradient(90deg, rgba(8, 120, 255, 0.32), rgba(255, 176, 46, 0.9), transparent);
  transform: rotate(4deg);
}

.map-node,
.loss-card,
.score-dial,
.competitor-dot {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 46px rgba(42, 68, 105, 0.14);
  backdrop-filter: blur(18px) saturate(150%);
}

.map-node {
  z-index: 4;
  width: 150px;
  min-height: 112px;
  display: grid;
  gap: 7px;
  border-radius: 22px;
  padding: 16px;
}

.map-node span,
.tile-index,
.bento-card > span,
.work-grid article > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-size: 12px;
  font-weight: 900;
}

.map-node strong {
  font-size: 17px;
}

.map-node small {
  color: #607188;
  font-size: 12px;
  font-weight: 800;
}

.node-card {
  left: 7%;
  top: 28%;
}

.node-call {
  left: 43%;
  top: 16%;
}

.node-request {
  right: 7%;
  top: 38%;
}

.score-dial {
  z-index: 3;
  left: 34%;
  bottom: 8%;
  width: 168px;
  min-height: 168px;
  display: grid;
  place-items: center;
  border-radius: 34px;
  padding: 16px;
  text-align: center;
}

.dial-ring {
  width: 112px;
  height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 14px solid rgba(8, 120, 255, 0.13);
  border-top-color: var(--blue);
  border-right-color: var(--blue);
  background: #fff;
}

.dial-ring strong {
  margin: 0;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 34px;
  line-height: 1;
}

.dial-ring span {
  margin: 0;
  color: #6b7788;
  font-size: 12px;
  font-weight: 900;
}

.loss-card {
  z-index: 5;
  width: 190px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 10px;
  align-items: center;
  border-radius: 20px;
  padding: 14px;
}

.loss-card b {
  font-size: 15px;
}

.loss-card small {
  grid-column: 2;
  color: #607188;
  font-size: 12px;
  font-weight: 800;
}

.loss-a {
  right: 10%;
  bottom: 13%;
}

.loss-b {
  left: 9%;
  bottom: 24%;
}

.risk-dot {
  width: 15px;
  height: 15px;
  border-radius: 999px;
}

.risk-dot.amber {
  background: var(--amber);
  box-shadow: 0 0 0 8px rgba(255, 176, 46, 0.12);
}

.risk-dot.coral {
  background: var(--coral);
  box-shadow: 0 0 0 8px rgba(255, 91, 97, 0.12);
}

.competitor-dot {
  z-index: 2;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border-radius: 999px;
  padding: 8px 11px;
  color: #4f6177;
  font-size: 12px;
  font-weight: 900;
}

.competitor-dot span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--amber);
}

.dot-one {
  right: 8%;
  top: 18%;
}

.dot-two {
  left: 22%;
  top: 63%;
}

.proof-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.proof-strip article,
.bento-card,
.work-grid article,
.pricing-grid article,
.timeline article,
.faq-list details,
.request-form {
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 62px rgba(42, 68, 105, 0.12);
  backdrop-filter: blur(22px) saturate(148%);
}

.proof-strip article {
  min-height: 176px;
  border-radius: 28px;
  padding: 20px;
}

.proof-strip h2 {
  margin: 16px 0 8px;
  font-size: 24px;
}

.proof-strip p,
.section-head p,
.bento-card p,
.work-grid p,
.pricing-grid li,
.timeline p,
.request-copy p,
.faq-list p,
.site-footer p {
  color: var(--muted);
  line-height: 1.55;
}

.section {
  padding: 96px 0;
}

.section-head {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-head p:not(.section-kicker) {
  font-size: 18px;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr 0.88fr;
  gap: 18px;
}

.bento-card,
.work-grid article,
.pricing-grid article,
.timeline article {
  border-radius: 28px;
  padding: 24px;
}

.large-card {
  grid-row: span 2;
}

.accent-card {
  color: #fff;
  background: linear-gradient(135deg, rgba(8, 120, 255, 0.92), rgba(11, 191, 138, 0.86));
}

.accent-card p,
.accent-card h3 {
  color: #fff;
}

.work-grid,
.pricing-grid,
.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

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

.pricing-grid article {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing-grid article > p {
  margin: 0;
  color: #1262c7;
  font-size: 13px;
  font-weight: 900;
}

.pricing-grid strong {
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 30px;
}

.pricing-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.plan-button {
  width: 100%;
  margin-top: auto;
}

.featured-plan {
  border-color: rgba(8, 120, 255, 0.28) !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(231, 246, 255, 0.78)) !important;
  box-shadow: 0 26px 82px rgba(8, 120, 255, 0.16) !important;
}

.flow-section {
  padding-top: 58px;
}

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

.timeline span {
  display: block;
  margin-bottom: 22px;
  color: #1262c7;
  font-size: 13px;
  font-weight: 900;
}

.timeline strong {
  display: block;
  margin-bottom: 8px;
  font-size: 21px;
}

.request-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  gap: 34px;
  align-items: start;
  margin-bottom: 70px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 38px;
  padding: 38px;
  background:
    linear-gradient(135deg, rgba(8, 120, 255, 0.14), transparent 38%),
    linear-gradient(300deg, rgba(11, 191, 138, 0.16), transparent 38%),
    rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(150%);
}

.request-form {
  display: grid;
  gap: 14px;
  border-radius: 26px;
  padding: 22px;
}

.request-form label {
  display: grid;
  gap: 8px;
}

.request-form label span {
  color: #29394d;
  font-size: 14px;
  font-weight: 850;
}

.request-form input.invalid {
  border-color: #c52222;
  box-shadow: 0 0 0 4px rgba(197, 34, 34, 0.1);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-note.success {
  color: #087354;
  font-weight: 850;
}

.faq-section {
  padding-top: 36px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border-radius: 24px;
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 22px 24px;
  font-size: 19px;
  font-weight: 900;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 0;
  padding: 0 24px 22px;
}

.site-footer {
  width: min(1220px, calc(100% - 40px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 6px 0 0;
}

.site-footer a {
  color: #1262c7;
  font-weight: 900;
}

@keyframes sweep {
  0%,
  100% {
    transform: translateX(-42%) rotate(-8deg);
    opacity: 0.4;
  }
  50% {
    transform: translateX(36%) rotate(-8deg);
    opacity: 0.78;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .route-line {
    animation: routePulse 3.2s ease-in-out infinite;
  }

  .line-b {
    animation-delay: 0.3s;
  }

  .line-c {
    animation-delay: 0.6s;
  }

  .map-node,
  .loss-card,
  .score-dial,
  .competitor-dot {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
  }
}

@keyframes routePulse {
  0%,
  100% {
    opacity: 0.76;
    filter: drop-shadow(0 12px 18px rgba(8, 120, 255, 0.18));
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 16px 28px rgba(8, 120, 255, 0.34));
  }
}

@media (max-width: 1060px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 54px;
  }

  h1 {
    font-size: 64px;
  }

  .diagnostic-stage {
    min-height: 590px;
  }

  .proof-strip,
  .bento-grid,
  .work-grid,
  .pricing-grid,
  .timeline,
  .request-section {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    margin-top: 20px;
  }

  .large-card {
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .page-shell,
  .site-footer {
    width: min(100% - 24px, 520px);
  }

  .page-shell {
    padding-top: 14px;
  }

  .topbar {
    position: relative;
    top: auto;
    grid-template-columns: 1fr;
    border-radius: 28px;
    gap: 10px;
    padding: 14px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    width: 100%;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .scan-input-row {
    grid-template-columns: 1fr;
  }

  .scan-input-row button {
    width: 100%;
  }

  .diagnostic-stage {
    min-height: 620px;
    border-radius: 30px;
    padding: 12px;
  }

  .signal-console {
    min-height: 596px;
    border-radius: 24px;
    padding: 14px;
  }

  .console-head {
    flex-direction: column;
  }

  .map-space {
    min-height: 492px;
  }

  .map-node {
    width: 132px;
    min-height: 100px;
    padding: 13px;
  }

  .node-card {
    left: 4%;
    top: 11%;
  }

  .node-call {
    left: auto;
    right: 5%;
    top: 29%;
  }

  .node-request {
    left: 5%;
    right: auto;
    top: 51%;
  }

  .score-dial {
    left: auto;
    right: 6%;
    bottom: 6%;
    width: 142px;
    min-height: 142px;
    border-radius: 26px;
  }

  .dial-ring {
    width: 90px;
    height: 90px;
  }

  .dial-ring strong {
    font-size: 28px;
  }

  .loss-card {
    width: 156px;
  }

  .loss-a {
    right: 7%;
    bottom: 33%;
  }

  .loss-b,
  .competitor-dot {
    display: none;
  }

  .line-a {
    left: 16%;
    top: 32%;
    width: 54%;
    transform: rotate(22deg);
  }

  .line-b {
    left: 20%;
    top: 56%;
    width: 58%;
    transform: rotate(-18deg);
  }

  .line-c {
    left: 22%;
    top: 76%;
    width: 54%;
    transform: rotate(8deg);
  }

  .section {
    padding: 68px 0;
  }

  .request-section {
    padding: 22px;
    border-radius: 30px;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 40px;
  }

  .console-head strong {
    font-size: 26px;
  }
}
