:root {
  --night-900: #002988;
  /* = logo-blue, used for pinned-stage dark backgrounds */
  --night-950: #001333;
  /* darker tint of logo-blue for gradient depth */
  --signal: #34d399;
  /* functional "on duty / live" indicator — not a brand color on purpose */
  --brand-orange: #a63c2a;
  /* = theme-orange, used for glows/rings where a utility class can't reach */
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
}

h1,
h2,
h3,
.font-display {
  font-family: "Space Grotesk", sans-serif;
}

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

.signal-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--signal);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(52, 211, 153, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}

/* Phone mockup */
.phone-frame {
  width: 260px;
  height: 530px;
  border-radius: 2.75rem;
  background: #0b1220;
  padding: 12px;
  box-shadow:
    0 40px 80px -24px rgba(0, 19, 51, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.07) inset;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #f7f5f1;
  border-radius: 2.1rem;
  overflow: hidden;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 18px;
  border-radius: 999px;
  background: #0b1220;
  z-index: 20;
}

/* Glassmorphism chip, used on the pinned-stage feature tags */
.chip-glass {
  display: inline-flex;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.chip-glass.on-light {
  background: rgba(0, 41, 136, 0.06);
  border-color: rgba(0, 41, 136, 0.14);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .signal-dot {
    animation: none;
  }
}

/* ======================================================================
   WatchmanPro site system (v2). Port this block into your Tailwind input.css
   (or site.css) - see ASPNET-HANDOFF.md.
   ====================================================================== */
:root {
  --ink: #0e1e33;
  --paper: #f7f5f1;
  --rust: #a63c2a;
  --rust-dark: #8f3324;
  --ember: #f26522;
}

html {
  scroll-padding-top: 4.5rem;
}

body {
  color: var(--ink);
  background: #fff;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: #fff;
  color: var(--ink);
  padding: 0.6rem 1rem;
  border-radius: 0 0 0.5rem 0;
}

.skip-link:focus {
  left: 0;
}

/* header */
.wm-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: #fff;
  transition:
    color 0.3s,
    background-color 0.3s,
    box-shadow 0.3s;
}

.wm-header.inner {
  position: sticky;
  top: 0;
}

.wm-header .pro {
  color: var(--ember);
}

.wm-header.on-light {
  color: var(--night-900);
}

.wm-header.on-light .pro,
.wm-header.solid .pro,
.wm-header.solid.on-orange .pro,
.wm-header.solid.on-light .pro {
  color: #6c0d00;
}

.wm-header.on-orange .pro {
  color: #fff;
}

.wm-header.solid {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(14, 30, 51, 0.08);
}

.navlink {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.25rem 0;
}

.navlink::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.navlink:hover::after,
.navlink[aria-current]::after {
  transform: scaleX(1);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  padding: 0.7rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn:disabled {
  opacity: 0.5;
  pointer-events: none;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.9rem 1.6rem;
  font-size: 1rem;
}

.btn-primary {
  background: var(--rust);
  color: #fff;
}

.btn-primary:hover {
  background: var(--rust-dark);
}

.btn-white {
  background: #fff;
  color: var(--rust);
}

.btn-white:hover {
  background: #fff1ea;
}

.btn-outline {
  border-color: currentColor;
}

.btn-outline:hover {
  background: rgba(127, 127, 127, 0.14);
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transition: background-color 0.2s;
}

.store-badge:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* layout + type */
.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.wrap-wide {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.sec {
  padding: 4.5rem 0;
  background: #fff;
}

@media (min-width: 768px) {
  .sec {
    padding: 7rem 0;
  }
}

.sec-night {
  background: linear-gradient(180deg, var(--night-950), #001f66 130%);
  color: #fff;
}

.sec-paper {
  background: var(--paper);
}

.sec-grad {
  background: linear-gradient(135deg, var(--night-900), #0f172a);
  color: #fff;
}

.display {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.96;
}

.h2 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
}

.lead {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 40rem;
}

.panel {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
}

.panel-dark {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.icon-tile {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: #fdf0eb;
  color: var(--rust);
}

.page-hero {
  padding: 8rem 0 4rem;
  color: #fff;
  background: radial-gradient(120% 120% at 80% 0%,
      #16375f 0%,
      var(--night-900) 45%,
      var(--night-950) 100%);
}

@media (min-width: 768px) {
  .page-hero {
    padding: 9rem 0 5.5rem;
  }
}

.cta-band {
  background: var(--rust);
  color: #fff;
  padding: 4.5rem 0;
}

/* ecosystem */
.eco-svg {
  width: 100%;
  min-width: 560px;
  height: auto;
}

.sync-dash {
  stroke-dasharray: 6 6;
  animation: dash 1.6s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -24;
  }
}

.eco-card {
  padding: 1.5rem;
  border-top: 4px solid var(--accent, var(--rust));
}

.eco-card dt {
  font-size: 0.8rem;
}

/* story timeline */
.tl {
  position: relative;
  padding-left: 2.25rem;
  display: grid;
  gap: 2rem;
}

.tl-line {
  position: absolute;
  left: 0.55rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: #d9dee5;
}

.tl-fill {
  position: absolute;
  inset: 0;
  background: var(--rust);
  transform-origin: top;
  transform: scaleY(var(--p, 0));
}

.tl-step {
  position: relative;
}

.tl-dot {
  position: absolute;
  left: -2.25rem;
  top: 0.25rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  background: #fff;
  border: 2px solid #b6bec9;
  transition:
    border-color 0.3s,
    background-color 0.3s;
}

.tl-step.lit .tl-dot {
  border-color: var(--rust);
  background: var(--rust);
}

.actor {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.actor-guard {
  background: #fbe4dc;
  color: #8f3324;
}

.actor-office {
  background: #e0e9ff;
  color: #002988;
}

.actor-client {
  background: #d5f5e8;
  color: #0b6b4b;
}

/* tabs */
.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tab-btn {
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  border: 1px solid #cfd6df;
  font-weight: 600;
  font-size: 0.92rem;
  color: #334155;
  background: #fff;
  transition: all 0.2s;
}

.tab-btn:hover {
  border-color: var(--night-900);
}

.tab-btn[aria-selected="true"] {
  background: var(--night-900);
  border-color: var(--night-900);
  color: #fff;
}

.tab-panel[hidden] {
  display: none;
}

/* faq */
.faq-list {
  border-top: 1px solid #dfe3e8;
}

.faq {
  border-bottom: 1px solid #dfe3e8;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0.25rem;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  padding: 0 0.25rem 1.25rem;
  color: #475569;
  max-width: 42rem;
}

.faq[open] .faq-chev {
  transform: rotate(180deg);
}

.faq-chev {
  transition: transform 0.25s;
  color: var(--rust);
}

/* video tiles + modal */
.video-tile {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 16 / 9;
  text-align: left;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(160deg, #0b2f7a 0%, var(--night-950) 100%);
  transition:
    transform 0.25s,
    border-color 0.25s;
}

.video-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.4);
}

.video-art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.18);
}

.video-art svg {
  width: 6rem;
  height: 6rem;
}

.video-play {
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--rust);
  display: grid;
  place-items: center;
  padding-left: 3px;
}

.video-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1rem 1rem;
  font-weight: 600;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
}

.wm-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 10, 30, 0.86);
}

.wm-modal[hidden] {
  display: none;
}

.wm-modal-box {
  position: relative;
  width: min(56rem, 100%);
  border-radius: 1rem;
  overflow: hidden;
  background: #000;
}

.wm-modal-box video {
  display: block;
  width: 100%;
  max-height: 80vh;
}

.wm-modal-x {
  position: absolute;
  right: 0.5rem;
  top: 0.25rem;
  z-index: 2;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  padding: 0.25rem 0.6rem;
}

/* pricing + forms */
.price-card {
  padding: 2rem;
  max-width: 26rem;
  box-shadow: 0 30px 60px -30px rgba(0, 41, 136, 0.35);
  border-color: rgba(166, 60, 42, 0.35);
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
}

.input {
  width: 100%;
  height: 2.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  padding: 0.5rem 0.8rem;
  font-size: 0.95rem;
  background: #fff;
  color: var(--ink);
}

textarea.input {
  height: auto;
}

.input:focus {
  outline: 2px solid var(--night-900);
  outline-offset: 1px;
  border-color: var(--night-900);
}

.err {
  display: block;
  color: #b91c1c;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.input-validation-error {
  border-color: #b91c1c;
}

/* dashboard mock (portal page) */
.dash {
  color: var(--ink);
  padding: 1.25rem;
  box-shadow: 0 40px 80px -40px rgba(0, 19, 51, 0.4);
}

.dash-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.8rem;
  border-radius: 0.6rem;
  background: #f6f7f9;
  font-size: 0.875rem;
}

.dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  display: inline-block;
}

.bar {
  height: 0.55rem;
  border-radius: 999px;
  background: #e5e9ef;
  overflow: hidden;
}

.bar>i {
  display: block;
  height: 100%;
  background: var(--rust);
  border-radius: inherit;
}

/* footer + sticky cta */
.wm-footer {
  background: var(--night-950);
  color: #cbd5e1;
  padding: 4rem 0 2rem;
}

.wm-footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 767px) {
  .wm-footer {
    padding-bottom: 6rem;
  }
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
  background: rgba(0, 19, 51, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  transform: translateY(110%);
  transition: transform 0.3s;
}

.sticky-cta.show {
  transform: none;
}

@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }
}

/* reveal (opacity + small lift; only used on section intros and timeline steps) */
html.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

html.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .sync-dash {
    animation: none;
  }

  .tl-fill {
    transition: none;
  }
}

/* static phone (product page): shows the final state of each animated screen */
.ps .scr {
  position: absolute;
  inset: 0;
  opacity: 1;
}

.ps #okWrap {
  opacity: 1 !important;
}

.ps #okPath {
  stroke-dashoffset: 0 !important;
}

.ps #qrIcon,
.ps #scanRings,
.ps #lbl1 {
  display: none;
}

.ps #lbl2 {
  opacity: 1 !important;
}

.ps #toast {
  opacity: 1 !important;
}

.ps .ring {
  animation: none;
}

@media (min-width: 640px) {
  .video-tile {
    aspect-ratio: 4 / 5;
  }
}

.eco-v {
  display: none;
}

@media (max-width: 639px) {
  .eco-h {
    display: none;
  }

  .eco-v {
    display: block;
    max-width: 20rem;
    margin: 0 auto;
  }
}
