/* ============================================================
   Scout — desktop app landing page
   Palette + type lifted from the Facilitron marketing design system
   ============================================================ */

:root {
  /* brand */
  --blue: #1670e6; /* tron-primary-500  */
  --blue-600: #1059fc; /* tron-primary-600  */
  --blue-700: #1447e6;
  --brand: #00aaff; /* tron-brand-500 — matches the f-mark + Scout */
  --brand-300: #75d3ff;
  --green: #1ed760; /* tron-green-500    */
  --green-600: #00be49;

  /* ink / neutrals */
  --navy: #0e101c; /* tron-asphalt-950  */
  --navy-800: #171b2a; /* tron-asphalt-900  */
  --navy-700: #2a2f46; /* tron-asphalt-800  */
  --ink: #171b2a;
  --muted: #545c84; /* tron-asphalt-600  */
  --muted-2: #6b75a3; /* tron-asphalt-500  */
  --line: #e0e2ec; /* tron-asphalt-100  */

  /* surfaces */
  --sand-50: #fafaf9;
  --sand-100: #f8f8f7;
  --sand-200: #eeedec;
  --paper: #ffffff;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(14, 16, 28, 0.06), 0 1px 3px rgba(14, 16, 28, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(14, 16, 28, 0.22);
  --shadow-lg: 0 40px 80px -24px rgba(14, 16, 28, 0.45);
  --max: 1180px;

  --font-display: "Archivo", "Inter", "Helvetica Neue", sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.55;
}

a {
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 24px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 16px;
}
.eyebrow.on-dark {
  color: var(--brand-300);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

.lead {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.12s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(22, 112, 230, 0.6);
}
.btn-primary:hover {
  background: var(--blue-600);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--sand-100);
  border-color: #cfd3e2;
}
.btn-ghost.on-dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}
.btn-ghost.on-dark:hover {
  background: rgba(255, 255, 255, 0.08);
}
.btn-lg {
  padding: 16px 28px;
  font-size: 17px;
}
.btn .apple {
  font-size: 18px;
  line-height: 0;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.lockup img {
  width: 26px;
  height: 26px;
}
.lockup .word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.lockup .badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--blue);
  border: 1px solid var(--brand-300);
  border-radius: 6px;
  padding: 2px 6px;
  background: #eff9ff;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
@media (max-width: 820px) {
  .nav-links {
    display: none;
  }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 40px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 480px at 78% -8%, rgba(0, 170, 255, 0.2), transparent 60%),
    radial-gradient(700px 420px at 8% 12%, rgba(22, 112, 230, 0.12), transparent 55%),
    linear-gradient(180deg, #fbfdff 0%, #ffffff 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(48px, 7vw, 86px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.98;
}
.hero h1 .accent {
  color: var(--blue);
}
.hero .lead {
  margin: 22px 0 30px;
  max-width: 33ch;
  font-size: 20px;
}
.hero .lead code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: #eef1f7;
  padding: 1px 6px;
  border-radius: 5px;
  color: var(--blue-700);
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.trust {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted-2);
  font-size: 13.5px;
  font-weight: 500;
}
.trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.trust .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(30, 215, 96, 0.18);
}

/* scout stage */
.scout-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
}
.scout-stage .halo {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(0, 170, 255, 0.28), rgba(0, 170, 255, 0) 62%);
  filter: blur(4px);
}
.scout-stage .scout {
  position: relative;
  width: min(420px, 82%);
  filter: drop-shadow(0 30px 40px rgba(14, 16, 28, 0.28));
  animation: bob 5.5s ease-in-out infinite;
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}
.chip {
  position: absolute;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.chip .led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.chip.c1 {
  top: 14%;
  left: -2%;
  animation: float1 6s ease-in-out infinite;
}
.chip.c2 {
  top: 38%;
  right: -4%;
  animation: float2 7s ease-in-out infinite;
}
.chip.c3 {
  bottom: 12%;
  left: 4%;
  animation: float1 6.6s ease-in-out infinite 0.4s;
}
.chip .approve {
  color: var(--green-600);
}
@keyframes float1 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
@keyframes float2 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

@media (max-width: 860px) {
  .hero {
    padding-top: 52px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .scout-stage {
    order: -1;
    min-height: 340px;
  }
  .scout-stage .scout {
    width: 260px;
  }
  .scout-stage .halo {
    width: 320px;
    height: 320px;
  }
  .hero .lead {
    max-width: none;
  }
}

/* ---------- app window showcase ---------- */
.window {
  border-radius: 14px;
  overflow: hidden;
  background: var(--navy-800);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.window .titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: var(--navy);
}
.window .titlebar .tl {
  display: flex;
  gap: 7px;
}
.window .titlebar .tl i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.window .titlebar .tl .r {
  background: #ff5f57;
}
.window .titlebar .tl .y {
  background: #febc2e;
}
.window .titlebar .tl .g {
  background: #28c840;
}
.window .titlebar .name {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #8b93b5;
  margin-left: 8px;
}
.window img {
  display: block;
  width: 100%;
}

.hero-shot {
  margin-top: 60px;
}
.hero-shot .window {
  max-width: 1040px;
  margin-inline: auto;
}

/* ---------- credibility strip ---------- */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--sand-50);
}
.strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  justify-content: center;
  padding: 22px 24px;
}
.strip .item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14.5px;
}
.strip .item svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
  flex: none;
}

/* ---------- sections ---------- */
section {
  padding: 96px 0;
}
.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.section-head p {
  color: var(--muted);
  font-size: 19px;
  margin: 16px 0 0;
}

/* feature cards */
.features {
  background: var(--sand-50);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 980px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .cards {
    grid-template-columns: 1fr;
  }
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.card .ico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #eff9ff, #def1ff);
  color: var(--blue);
  border: 1px solid #cdeafd;
}
.card .ico svg {
  width: 23px;
  height: 23px;
}
.card h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  font-family: var(--font-sans);
}
.card p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
  line-height: 1.55;
}

/* showcase alternating rows */
.show-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.show-row + .show-row {
  margin-top: 96px;
}
.show-row.flip .copy {
  order: 2;
}
.show-row .copy .kicker {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}
.show-row .copy h3 {
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 12px 0 14px;
  line-height: 1.1;
}
.show-row .copy p {
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 18px;
}
.show-row .copy ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.show-row .copy li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--ink);
}
.show-row .copy li svg {
  width: 19px;
  height: 19px;
  color: var(--green-600);
  flex: none;
  margin-top: 1px;
}
@media (max-width: 860px) {
  .show-row,
  .show-row.flip {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .show-row.flip .copy {
    order: 0;
  }
}

/* how it works */
.how {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.how::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 400px at 90% 0%, rgba(0, 170, 255, 0.16), transparent 60%);
}
.how .section-head h2 {
  color: #fff;
}
.how .section-head p {
  color: #aab2d6;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
@media (max-width: 820px) {
  .steps {
    grid-template-columns: 1fr;
  }
}
.step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.step .n {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brand-300);
  font-weight: 600;
}
.step h3 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  margin: 12px 0 8px;
}
.step p {
  color: #aab2d6;
  font-size: 15px;
  margin: 0;
}
.step .tag {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #cdd3ec;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  padding: 4px 9px;
}

/* CTA band */
.cta {
  background: linear-gradient(135deg, var(--blue) 0%, #0b63d6 55%, #00aaff 130%);
  color: #fff;
  text-align: center;
}
.cta h2 {
  color: #fff;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  max-width: 56ch;
  margin: 18px auto 30px;
}
.cta .btn-primary {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.4);
}
.cta .btn-primary:hover {
  background: #f1f6ff;
}
.cta .btn.is-soon {
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue);
  opacity: 0.9;
  cursor: default;
  pointer-events: none;
}
.cta .soon-pill {
  align-self: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 5px 12px;
}
.cta .getbox {
  margin-top: 26px;
  display: inline-flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.cta code {
  font-family: var(--font-mono);
  font-size: 14px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 12px 16px;
  color: #eaf2ff;
}
.cta .fine {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13.5px;
  margin-top: 6px;
}
.cta .fine a {
  color: #fff;
  text-decoration: underline;
}
.cta .firstrun {
  max-width: 620px;
  margin: 30px auto 0;
  padding: 20px 22px;
  text-align: left;
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
}
.cta .firstrun p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14.5px;
  margin: 0 0 12px;
}
.cta .firstrun code {
  display: block;
  width: 100%;
  text-align: center;
  user-select: all;
}
.cta .firstrun .fine {
  display: block;
  margin-top: 12px;
}

/* footer */
.footer {
  background: var(--navy);
  color: #aab2d6;
  padding: 48px 0 40px;
}
.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.footer .lockup .word {
  color: #fff;
}
.footer .lockup .badge {
  color: var(--brand-300);
  background: rgba(0, 170, 255, 0.08);
  border-color: rgba(0, 170, 255, 0.35);
}
.footer-links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.footer-links a {
  color: #aab2d6;
  text-decoration: none;
  font-size: 14.5px;
}
.footer-links a:hover {
  color: #fff;
}
.footer .copy {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 22px;
  margin-top: 8px;
  font-size: 13px;
  color: #79809f;
}
