:root {
  --bg: #f8fafc;
  --ink: #111827;
  --muted: #526071;
  --soft: #e7edf3;
  --panel: #ffffff;
  --charcoal: #111827;
  --slate: #263241;
  --teal: #17a2a4;
  --sky: #4da3ff;
  --orange: #f97316;
  --green: #2e7d6d;
  --line: rgba(17, 24, 39, 0.12);
  --shadow: 0 20px 60px rgba(17, 24, 39, 0.10);
  --radius: 8px;
  --max: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f8fafc 0%, #eef4f8 46%, #f8fafc 100%);
  line-height: 1.58;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 57%, rgba(77, 163, 255, 0.08) 57% 57.3%, transparent 57.3%),
    linear-gradient(145deg, transparent 0 64%, rgba(23, 162, 164, 0.08) 64% 64.25%, transparent 64.25%);
}

a { color: #0f6d7a; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(16px);
}

.wrap {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.nav {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: transparent;
  text-indent: -9999px;
  overflow: hidden;
  background:
    url("/assets/brand/bulletproof-media-mark.png") center / cover no-repeat,
    linear-gradient(135deg, var(--charcoal), var(--teal));
  letter-spacing: 0.04em;
  font-size: 0.78rem;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.16);
}

.links {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 0.95rem;
}

.links a {
  color: var(--muted);
  text-decoration: none;
}

.hero {
  color: white;
  background:
    radial-gradient(circle at 78% 18%, rgba(77, 163, 255, 0.32), transparent 24%),
    radial-gradient(circle at 16% 86%, rgba(249, 115, 22, 0.18), transparent 25%),
    linear-gradient(135deg, rgba(17, 24, 39, 0.98), rgba(38, 50, 65, 0.94)),
    repeating-linear-gradient(90deg, transparent 0 54px, rgba(255, 255, 255, 0.06) 54px 55px);
  border-bottom: 1px solid rgba(17, 24, 39, 0.18);
}

.hero-inner {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 40px;
  align-items: center;
  padding: 64px 0;
}

.eyebrow,
.kicker {
  color: var(--teal);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.hero .eyebrow { color: #7ddfe0; }

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  margin-top: 12px;
  font-size: clamp(2.8rem, 7vw, 5.7rem);
  max-width: 10.5ch;
}

h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.22rem; }

.lead {
  margin: 22px 0 0;
  max-width: 66ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(17, 24, 39, 0.2);
  color: var(--ink);
  background: white;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--teal), var(--sky));
  color: white;
}

.button.dark {
  background: var(--charcoal);
  color: white;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: white;
}

.efb {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.07));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.efb-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.efb-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
}

.efb-dot:nth-child(2) { background: var(--teal); }
.efb-dot:nth-child(3) { background: var(--sky); }

.efb-screen {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.flight-display {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  min-height: 138px;
  padding: 22px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.62), rgba(23, 162, 164, 0.22)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
}

.flight-display span {
  display: block;
  color: rgba(255, 255, 255, 0.64);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  margin-bottom: 8px;
}

.flight-display strong {
  display: block;
  max-width: 8ch;
  color: white;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 0.92;
}

.flight-code {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 2px solid rgba(125, 223, 224, 0.78);
  color: #7ddfe0;
  font-weight: 900;
  letter-spacing: 0.08em;
  box-shadow: inset 0 0 24px rgba(23, 162, 164, 0.28);
}

.route-line {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.route-line i {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
}

.instrument {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.10);
}

.instrument strong { color: white; }
.instrument span { color: rgba(255, 255, 255, 0.64); font-size: 0.9rem; }
.instrument b { color: #ffd29a; }

.status-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.status-strip span {
  padding: 10px 8px;
  border-radius: var(--radius);
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.76rem;
  font-weight: 800;
}

section { padding: 58px 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.section-head p {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
}

.grid { display: grid; gap: 16px; }
.apps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.four-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card,
.doc,
.faq-item,
.setup-card,
.video-card,
.step-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.04);
}

.app-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding-top: 26px;
}

.app-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, var(--teal), var(--sky));
}

.ref-card::before { background: linear-gradient(90deg, #17a2a4, #4da3ff); }
.roster-card::before { background: linear-gradient(90deg, #2e7d6d, #17a2a4); }
.capture-card::before { background: linear-gradient(90deg, #f97316, #4da3ff); }

.app-icon {
  width: 58px;
  height: 58px;
  display: block;
  margin-bottom: 18px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.app-title-row {
  display: flex;
  gap: 14px;
  align-items: center;
}

.app-title-row .hero-app-icon {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.26);
}

.card,
.faq-item,
.setup-card,
.video-card,
.step-card { padding: 22px; }

.card p,
.doc p,
.doc li,
.faq-item p,
.setup-card p,
.video-card p,
.step-card p {
  color: var(--muted);
}

.app-tag {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  background: #e6f7f7;
  color: #0f6d7a;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.setup-card {
  position: relative;
  overflow: hidden;
  min-height: 340px;
}

.setup-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, var(--teal), var(--sky));
}

.setup-card h3 {
  margin-top: 18px;
}

.setup-card a {
  display: inline-flex;
  margin-top: 4px;
  font-weight: 800;
}

.setup-visual {
  min-height: 168px;
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.92), rgba(38, 50, 65, 0.86)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: auto, 26px 26px;
}

.setup-visual img {
  width: 86px;
  height: 86px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.setup-visual span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.setup-reference::before { background: linear-gradient(90deg, #17a2a4, #4da3ff); }
.setup-roster::before { background: linear-gradient(90deg, #2e7d6d, #17a2a4); }
.setup-capture::before { background: linear-gradient(90deg, #f97316, #4da3ff); }

.setup-reference .setup-visual {
  background:
    linear-gradient(135deg, rgba(15, 109, 122, 0.92), rgba(77, 163, 255, 0.78)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: auto, 26px 26px;
}

.setup-roster .setup-visual {
  background:
    linear-gradient(135deg, rgba(46, 125, 109, 0.92), rgba(23, 162, 164, 0.78)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: auto, 26px 26px;
}

.setup-capture .setup-visual {
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.9), rgba(77, 163, 255, 0.78)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: auto, 26px 26px;
}

.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.card-links a { font-weight: 800; }

.workflow-band {
  color: white;
  background:
    linear-gradient(135deg, var(--slate), var(--charcoal));
}

.workflow-band .section-head p { color: rgba(255, 255, 255, 0.68); }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.timeline-step {
  padding: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.timeline-step:first-child { border-left: 0; }

.timeline-step span {
  color: #7ddfe0;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.timeline-step strong {
  display: block;
  margin-top: 12px;
  font-size: 1.2rem;
}

.timeline-step p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

.app-hero {
  padding: 54px 0;
  color: white;
  background: linear-gradient(135deg, var(--charcoal), var(--slate));
}

.app-hero h1 { max-width: none; font-size: clamp(2.4rem, 5vw, 4.4rem); }
.app-hero .lead { color: rgba(255, 255, 255, 0.76); }

.product-hero {
  color: white;
  background:
    radial-gradient(circle at 78% 22%, rgba(249, 115, 22, 0.23), transparent 28%),
    radial-gradient(circle at 30% 80%, rgba(77, 163, 255, 0.22), transparent 30%),
    linear-gradient(135deg, #111827 0%, #263241 54%, #0f172a 100%);
}

.product-hero-grid {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 42px;
  align-items: center;
  padding: 66px 0;
}

.product-hero h1 {
  max-width: none;
  font-size: clamp(3.4rem, 8vw, 7rem);
}

.flightcapture-hero .eyebrow { color: #ffd29a; }

.visual-stack {
  position: relative;
  min-height: 520px;
}

.screenshot-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.38);
}

.screenshot-card img {
  display: block;
  width: 100%;
  aspect-ratio: 2360 / 1640;
  object-fit: cover;
}

.screenshot-card figcaption {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 13px 14px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
  background: rgba(17, 24, 39, 0.72);
}

.screenshot-card figcaption span {
  color: #ffd29a;
}

.primary-shot {
  width: 86%;
  top: 20px;
  right: 0;
}

.secondary-shot {
  width: 58%;
  left: 0;
  bottom: 8px;
}

.floating-readout {
  position: absolute;
  right: 12px;
  bottom: 64px;
  width: min(260px, 54%);
  padding: 18px;
  border-radius: 16px;
  color: white;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.94), rgba(23, 162, 164, 0.9));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.floating-readout strong,
.floating-readout span {
  display: block;
}

.floating-readout span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.proof-section {
  background: white;
}

.capture-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.capture-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #f8fafc;
  box-shadow: var(--shadow);
}

.capture-gallery img {
  display: block;
  width: 100%;
  height: clamp(190px, 18vw, 260px);
  object-fit: cover;
  object-position: top center;
}

.capture-gallery figcaption {
  min-height: 76px;
  padding: 13px 15px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.capture-gallery figcaption strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 1rem;
}

.phone-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.phone-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.phone-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 1200 / 2601;
  object-fit: cover;
  object-position: top center;
  background: #eef4f8;
}

.phone-shot figcaption {
  min-height: 66px;
  padding: 11px 12px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.phone-shot figcaption span {
  display: block;
  color: #0f6d7a;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.feature-strip article {
  padding: 26px;
  border-left: 1px solid var(--line);
}

.feature-strip article:first-child {
  border-left: 0;
}

.feature-strip span {
  color: var(--orange);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.feature-strip h3 {
  margin-top: 14px;
}

.feature-strip p {
  color: var(--muted);
}

.media-band {
  background:
    linear-gradient(135deg, rgba(231, 237, 243, 0.92), rgba(248, 250, 252, 0.96));
}

.media-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 34px;
  align-items: center;
}

.media-grid p {
  color: var(--muted);
  max-width: 58ch;
}

.video-wall {
  display: grid;
  gap: 12px;
}

.video-tile {
  min-height: 136px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 18px;
  border-radius: var(--radius);
  color: white;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.72), rgba(23, 162, 164, 0.66)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: auto, 24px 24px;
  box-shadow: var(--shadow);
}

.video-tile span {
  color: #ffd29a;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.video-tile strong {
  font-size: 1.25rem;
}

.doc {
  padding: clamp(24px, 4vw, 44px);
  margin: 42px auto;
  max-width: 900px;
}

.doc h1 {
  max-width: none;
  font-size: clamp(2rem, 4vw, 3rem);
}

.doc h2 {
  margin-top: 34px;
  font-size: 1.5rem;
}

.updated {
  color: var(--muted);
  margin-top: 8px;
}

.warning {
  border-left: 4px solid var(--orange);
  padding: 12px 14px;
  background: #fff7ed;
  color: #4a2807;
}

.site-footer {
  margin-top: 36px;
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 900px) {
  .hero-inner,
  .product-hero-grid,
  .media-grid,
  .feature-strip,
  .capture-gallery,
  .apps-grid,
  .two-grid,
  .four-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero-inner { min-height: auto; }

  .section-head,
  .nav,
  .footer-grid {
    align-items: start;
    flex-direction: column;
  }

  h1 { max-width: none; }

  .timeline-step,
  .timeline-step:first-child {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .timeline-step:first-child { border-top: 0; }

  .status-strip { grid-template-columns: 1fr; }

  .visual-stack { min-height: auto; display: grid; gap: 16px; }

  .screenshot-card,
  .primary-shot,
  .secondary-shot,
  .floating-readout {
    position: static;
    width: 100%;
  }

  .capture-gallery figure:first-child { grid-row: auto; }

  .feature-strip article,
  .feature-strip article:first-child {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .feature-strip article:first-child { border-top: 0; }

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