:root {
  --navy: #0a1931;
  --ink: #07111f;
  --slate: #2d3748;
  --muted: #667085;
  --teal: #007f9b;
  --teal-bright: #00b5d8;
  --cobalt: #355cff;
  --acid: #7cffc4;
  --green: #0f8f67;
  --amber: #b86e00;
  --red: #c73333;
  --bg: #f7fafc;
  --line: #d9e2ec;
  --panel: #ffffff;
  --shadow: 0 18px 48px rgba(10, 25, 49, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--slate);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

button,
.nav-cta {
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  background: var(--teal);
  color: #ffffff;
  font-weight: 750;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 46px;
  color: #ffffff;
  background: var(--navy);
  border: 3px solid var(--teal-bright);
  clip-path: polygon(50% 0, 94% 18%, 86% 82%, 50% 100%, 14% 82%, 6% 18%);
  font-weight: 900;
}

.brand strong,
h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.08;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  display: none;
  gap: 18px;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  text-decoration: none;
}

.hero {
  display: grid;
  gap: 28px;
  padding: clamp(32px, 6vw, 82px) clamp(18px, 5vw, 72px) 36px;
  background: #ffffff;
}

.signature-hero {
  min-height: calc(100vh - 76px);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(7, 17, 31, 0.045) 1px, transparent 1px),
    #ffffff;
  background-size: 32px 32px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(2.15rem, 8vw, 4.55rem);
}

h2 {
  margin: 0;
  font-size: clamp(1.7rem, 5vw, 2.65rem);
}

h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.hero-text,
.section-heading p,
.deedwatch p {
  max-width: 700px;
  color: #475467;
  font-size: 1.05rem;
}

.search-panel,
.filters,
.upload-tool,
.queue-panel,
.calculator,
.watch-form,
.price-card,
.security-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.search-panel {
  max-width: 840px;
  margin-top: 28px;
  padding: 18px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 750;
}

.search-row {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

input,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #a7b4c5;
  border-radius: 6px;
  padding: 0 12px;
  background: #ffffff;
  color: var(--navy);
}

.quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.quick-filters button {
  min-height: 36px;
  padding: 0 12px;
  background: #e9f8fb;
  color: #005f75;
}

.hero-media img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.signal-console {
  position: relative;
  display: grid;
  gap: 16px;
  min-height: 560px;
  padding: clamp(16px, 3vw, 26px);
  overflow: hidden;
  border: 1px solid rgba(124, 255, 196, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(124, 255, 196, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(53, 92, 255, 0.09) 1px, transparent 1px),
    var(--ink);
  background-size: 28px 28px;
  box-shadow: 0 24px 72px rgba(7, 17, 31, 0.28);
  color: #e9fbff;
}

.console-header,
.property-strip {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.console-header {
  color: #a8b7ca;
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.console-header strong {
  color: var(--acid);
}

.property-strip {
  justify-content: flex-start;
  padding: 14px;
  border: 1px solid rgba(217, 226, 236, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.property-strip strong {
  display: block;
  color: #ffffff;
  font-size: clamp(1rem, 3vw, 1.25rem);
}

.property-strip small {
  display: block;
  margin-top: 3px;
  color: #9fb2c8;
}

.signal-dot {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--acid);
  box-shadow: 0 0 0 7px rgba(124, 255, 196, 0.13), 0 0 28px rgba(124, 255, 196, 0.7);
}

.signature-graph {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(128px, 1fr));
  align-items: stretch;
  min-height: 260px;
  padding: 18px 0;
}

.graph-rail {
  position: absolute;
  top: 50%;
  left: 7%;
  right: 7%;
  height: 3px;
  background: linear-gradient(90deg, var(--acid), var(--cobalt), #ffbd4a);
  box-shadow: 0 0 28px rgba(53, 92, 255, 0.4);
}

.graph-node {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 220px;
  padding: 16px;
  border: 1px solid rgba(217, 226, 236, 0.16);
  border-radius: 8px;
  background: rgba(7, 17, 31, 0.86);
}

.graph-node::before {
  content: "";
  position: absolute;
  top: calc(50% - 7px);
  left: 16px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--acid);
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 0 22px rgba(124, 255, 196, 0.58);
}

.graph-node span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  min-height: 28px;
  margin-bottom: 54px;
  border: 1px solid rgba(124, 255, 196, 0.45);
  border-radius: 999px;
  color: var(--acid);
  font-size: 0.78rem;
  font-weight: 900;
}

.graph-node h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 1.05rem;
}

.graph-node p {
  margin: 0;
  color: #a8b7ca;
  font-size: 0.9rem;
}

.graph-node.is-active {
  border-color: rgba(124, 255, 196, 0.7);
  background: rgba(11, 52, 57, 0.82);
}

.graph-node.is-alert {
  border-color: rgba(255, 189, 74, 0.72);
}

.graph-node.is-alert::before {
  border-color: #ffbd4a;
  box-shadow: 0 0 24px rgba(255, 189, 74, 0.6);
}

.graph-node.is-alert span {
  border-color: rgba(255, 189, 74, 0.65);
  color: #ffbd4a;
}

.timeline-readout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline-readout div {
  padding: 13px;
  border: 1px solid rgba(217, 226, 236, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.timeline-readout span,
.timeline-readout small {
  display: block;
  color: #9fb2c8;
  font-size: 0.78rem;
}

.timeline-readout strong {
  display: block;
  margin: 4px 0;
  color: #ffffff;
}

.timeline-readout .risk {
  border-color: rgba(255, 189, 74, 0.6);
  background: rgba(184, 110, 0, 0.18);
}

.results-band,
.split-section,
.deedwatch,
.security,
.pricing {
  padding: clamp(34px, 6vw, 76px) clamp(18px, 5vw, 72px);
}

.results-layout,
.workflow-grid,
.deedwatch,
.calculator,
.security-grid,
.price-grid {
  display: grid;
  gap: 18px;
}

.section-heading {
  margin-bottom: 22px;
}

.filters,
.upload-tool,
.queue-panel,
.calculator,
.watch-form {
  padding: 18px;
}

.filters {
  align-self: start;
}

.filters label,
.watch-form label,
.calculator label {
  margin-top: 14px;
}

.check {
  grid-template-columns: 22px 1fr;
  align-items: center;
  color: var(--slate);
}

.check input {
  width: 18px;
  min-height: 18px;
}

.metrics-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}

.metrics-grid div {
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.metrics-grid strong {
  display: block;
  color: var(--navy);
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  line-height: 1;
}

.metrics-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

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

.record-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  background: #ffffff;
}

.record-card.risk {
  border-left-color: var(--amber);
}

.record-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #526070;
  font-size: 0.92rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1d4c77;
  font-weight: 750;
}

.pill.warning {
  background: #fff3d8;
  color: #7a4700;
}

.pill.success {
  background: #def7ec;
  color: #075c42;
}

.workflow-grid {
  align-items: start;
}

.progress {
  height: 12px;
  margin: 16px 0;
  overflow: hidden;
  border-radius: 999px;
  background: #e4ebf3;
}

.progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--teal);
  transition: width 0.35s ease;
}

.extraction {
  display: grid;
  gap: 10px;
  margin: 0;
}

.extraction div,
#queue-list li {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f9fbfd;
}

.extraction dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.extraction dd {
  margin: 2px 0 0;
  color: var(--navy);
  font-weight: 750;
}

#queue-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.deedwatch {
  background: var(--navy);
  color: #ffffff;
}

.deedwatch-copy {
  display: grid;
  align-content: start;
  gap: 22px;
}

.deedwatch h1,
.deedwatch h2,
.deedwatch .eyebrow {
  color: #ffffff;
}

.deedwatch p {
  color: #d9e2ec;
}

.deedwatch-radar {
  display: grid;
  gap: 16px;
  max-width: 720px;
}

.radar-screen {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: #000000;
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.24);
}

.radar-screen::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 999px;
  border: 3px solid rgba(241, 247, 249, 0.86);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.08);
}

.webgl-radar {
  background: #061120;
}

.webgl-radar canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.radar-ring,
.radar-cross,
.radar-sweep,
.radar-blip {
  position: absolute;
  pointer-events: none;
}

.radar-ring {
  inset: var(--ring-inset);
  border: 1px solid rgba(124, 255, 196, 0.28);
  border-radius: 999px;
}

.ring-one {
  --ring-inset: 18%;
}

.ring-two {
  --ring-inset: 32%;
}

.ring-three {
  --ring-inset: 46%;
}

.radar-cross {
  background: rgba(124, 255, 196, 0.18);
}

.radar-cross.horizontal {
  top: 50%;
  left: 8%;
  right: 8%;
  height: 1px;
}

.radar-cross.vertical {
  top: 8%;
  bottom: 8%;
  left: 50%;
  width: 1px;
}

.radar-sweep {
  inset: 0;
  border-radius: 999px;
  background: conic-gradient(from 0deg, rgba(124, 255, 196, 0) 0deg, rgba(124, 255, 196, 0.08) 34deg, rgba(124, 255, 196, 0.58) 42deg, rgba(124, 255, 196, 0) 54deg);
  animation: radarSweep 3.8s linear infinite;
}

.radar-blip {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--acid);
  box-shadow: 0 0 0 8px rgba(124, 255, 196, 0.12), 0 0 24px rgba(124, 255, 196, 0.7);
  animation: radarPulse 2.2s ease-in-out infinite;
}

.blip-one {
  top: 31%;
  left: 62%;
}

.blip-two {
  top: 58%;
  left: 36%;
  animation-delay: 0.7s;
}

.blip-three {
  top: 43%;
  left: 73%;
  animation-delay: 1.2s;
}

.radar-blip.alert {
  width: 16px;
  height: 16px;
  background: #ff4d4d;
  box-shadow: 0 0 0 10px rgba(255, 77, 77, 0.13), 0 0 30px rgba(255, 77, 77, 0.82);
}

.radar-center {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 999px;
  background: rgba(42, 255, 64, 0.95);
  box-shadow: 0 0 18px rgba(42, 255, 64, 0.9);
  text-align: center;
}

.radar-center strong {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.radar-center small {
  display: none;
}

.radar-readout {
  max-width: 520px;
  padding: 14px 16px;
  border: 1px solid rgba(217, 226, 236, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.radar-readout span,
.radar-readout small {
  display: block;
  color: #a8b7ca;
  font-size: 0.8rem;
}

.radar-readout strong {
  display: block;
  margin: 4px 0;
  color: #ffffff;
  font-size: clamp(1.05rem, 3vw, 1.35rem);
}

.radar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.radar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(217, 226, 236, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #d9e2ec;
  font-size: 0.78rem;
  font-weight: 750;
}

.radar-legend i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.legend-center {
  background: #ffffff;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.58);
}

.legend-signal {
  background: #61f3ff;
  box-shadow: 0 0 14px rgba(97, 243, 255, 0.58);
}

.legend-risk {
  background: #ff4d4d;
  box-shadow: 0 0 14px rgba(255, 77, 77, 0.68);
}

@keyframes radarSweep {
  to {
    transform: rotate(360deg);
  }
}

@keyframes radarPulse {
  0%,
  100% {
    opacity: 0.48;
    transform: scale(0.84);
  }

  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .radar-sweep,
  .radar-blip {
    animation: none;
  }
}

.watch-form {
  box-shadow: none;
}

.watch-form button,
.calculator button {
  width: 100%;
}

#watch-status {
  min-height: 24px;
  margin: 10px 0 0;
  color: var(--green);
  font-weight: 750;
}

.calculator {
  max-width: 960px;
}

.savings-output {
  margin-top: 18px;
  padding: 18px;
  border-radius: 8px;
  background: var(--navy);
  color: #ffffff;
}

.savings-output strong {
  display: block;
  font-size: clamp(2rem, 8vw, 4rem);
  line-height: 1;
}

.savings-output span {
  display: block;
  margin-top: 8px;
  color: #d9e2ec;
}

.security-grid,
.price-grid {
  grid-template-columns: 1fr;
}

.security-grid article,
.price-card {
  padding: 18px;
}

.price-card strong {
  display: block;
  color: var(--navy);
  font-size: 2rem;
}

.price-card.featured {
  border: 2px solid var(--teal-bright);
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 24px clamp(18px, 5vw, 72px);
  background: #ffffff;
  border-top: 1px solid var(--line);
}

@media (min-width: 760px) {
  .nav {
    display: flex;
  }

  .search-row {
    grid-template-columns: 1fr 140px;
  }

  .hero,
  .results-layout,
  .workflow-grid,
  .deedwatch {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  }

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

  .savings-output {
    grid-column: 1 / -1;
  }

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

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

@media (max-width: 759px) {
  .topbar {
    align-items: flex-start;
  }

  .brand small {
    max-width: 140px;
  }

  .metrics-grid.compact {
    grid-template-columns: 1fr;
  }

  .signal-console {
    min-height: auto;
  }

  .console-header,
  .property-strip,
  .timeline-readout {
    grid-template-columns: 1fr;
  }

  .signature-graph,
  .timeline-readout {
    grid-template-columns: 1fr;
  }

  .graph-rail {
    top: 32px;
    bottom: 32px;
    left: 24px;
    right: auto;
    width: 3px;
    height: auto;
    background: linear-gradient(180deg, var(--acid), var(--cobalt), #ffbd4a);
  }

  .graph-node {
    min-height: auto;
    padding-left: 48px;
  }

  .graph-node::before {
    top: 18px;
    left: 17px;
  }

  .graph-node span {
    margin-bottom: 14px;
  }
}
