/* Sixsense — shared styles for Agentic VMS, PPE Detection, MyHaus and Incident Management pages.
   If your site already has a global stylesheet, keep the :root tokens and component blocks you need
   and drop the header/footer blocks in favour of your existing ones. */

:root {
  --navy: #0c1b33;      /* site theme colour */
  --navy-2: #13284a;
  --ink: #0f1d33;
  --body: #46536a;
  --muted: #6b7890;
  --line: #dde3ec;
  --paper: #f4f6fa;
  --white: #ffffff;
  --blue: #2563eb;
  --blue-soft: #e8efff;
  --teal: #19c99a;      /* from the Sixsense logo */
  --amber: #f5c518;     /* Agentic VMS deck accent */
  --red: #e0384b;
  --orange: #f08a24;
  --radius-lg: 22px;
  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1180px;
  --font: "Plus Jakarta Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }

h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 1rem; font-weight: 700; letter-spacing: 0; }
h1 em, h2 em { font-style: italic; font-weight: 700; color: var(--blue); }
p { margin: 0; }

.kicker { font-size: 0.95rem; font-weight: 700; color: var(--blue); margin-bottom: 14px; }
.lede { font-size: 1.15rem; max-width: 60ch; margin-top: 20px; }

/* ---------- header / footer (swap for your site's global ones) ---------- */
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(255,255,255,.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { color: #fff; text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand span { color: var(--teal); }
.site-header nav { display: flex; gap: 26px; align-items: center; }
.site-header nav a { color: #cfd8e8; text-decoration: none; font-size: 0.95rem; font-weight: 600; }
.site-header nav a:hover { color: #fff; }
.site-header nav a[aria-current="page"] { color: #fff; }
@media (max-width: 860px) { .site-header nav a:not(.btn) { display: none; } }

.site-footer { background: var(--navy); color: #a9b6cc; padding: 48px 0; font-size: 0.92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.site-footer a { color: #dfe7f4; text-decoration: none; margin-right: 18px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 0.98rem; text-decoration: none; border: 2px solid transparent; transition: background .15s, color .15s; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #1d4fd0; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.btn-amber { background: var(--amber); color: var(--navy); }
.btn-sm { padding: 8px 16px; font-size: 0.88rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- hero ---------- */
.hero { background: var(--navy); color: #c5d0e2; padding: 84px 0 96px; overflow: hidden; position: relative; }
.hero h1 { color: #fff; }
.hero h1 em { color: #7fb0ff; }
.hero .kicker { color: var(--teal); }
.hero .lede { color: #c5d0e2; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-facts { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.hero-facts div { min-width: 120px; }
.hero-facts strong { display: block; color: #fff; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.hero-facts span { font-size: 0.9rem; }

/* device frames */
.kiosk { background: #05070c; border-radius: 30px; padding: 14px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); position: relative; max-width: 340px; margin-inline: auto; }
.kiosk img { border-radius: 10px; }
.phone { background: var(--navy); border-radius: 34px; padding: 10px; box-shadow: 0 30px 60px -28px rgba(12,27,51,.55); max-width: 290px; }
.phone img { border-radius: 26px; }
.screen img { width: 100%; }
.screen { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 70px -30px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.1); }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-tint { background: var(--paper); }
.section-dark { background: var(--navy); color: #c5d0e2; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark h2 em { color: #7fb0ff; }
.section-dark .kicker { color: var(--teal); }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head p { margin-top: 16px; font-size: 1.08rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } .split.reverse > :first-child { order: 0; } }

/* plain feature columns — text separated by a rule, not boxed */
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px 36px; }
.cols > div { border-top: 2px solid var(--ink); padding-top: 18px; }
.section-dark .cols > div { border-top-color: rgba(255,255,255,.25); }
.cols p { margin-top: 8px; font-size: 0.98rem; }

/* problem list */
.pain { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.pain li { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--line); }
.pain h3 { font-size: 1.08rem; }
.pain p { margin-top: 6px; font-size: 0.97rem; }

/* sequence steps — genuinely ordered content */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.steps li { counter-increment: s; background: var(--navy-2); border-radius: var(--radius); padding: 22px 20px 26px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-size: 2rem; font-weight: 800; color: #7fb0ff; margin-bottom: 10px; letter-spacing: -0.03em; }
.steps li:last-child { background: var(--amber); }
.steps li:last-child::before, .steps li:last-child h3, .steps li:last-child p { color: var(--navy); }
.steps p { font-size: 0.94rem; margin-top: 6px; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* step walkthrough (VMS) */
.walk { display: grid; gap: 80px; }
.walk-item { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: center; }
.walk-item:nth-child(even) { grid-template-columns: 300px 1fr; }
.walk-item:nth-child(even) .walk-media { order: -1; }
.walk-step { font-weight: 700; color: var(--blue); font-size: 0.95rem; margin-bottom: 10px; }
.walk-item p { margin-top: 14px; }
.speech { margin-top: 26px; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 18px 22px; font-weight: 600; font-size: 1.05rem; position: relative; }
.speech small { display: block; color: var(--amber); font-weight: 700; font-size: 0.8rem; margin-bottom: 4px; }
.walk-media .kiosk { max-width: 300px; }
@media (max-width: 820px) { .walk-item, .walk-item:nth-child(even) { grid-template-columns: 1fr; } .walk-item:nth-child(even) .walk-media { order: 0; } }

/* comparison table */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.97rem; }
table.compare th, table.compare td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.compare thead th { background: var(--paper); color: var(--ink); font-weight: 700; }
table.compare thead th.us { color: var(--blue); }
table.compare tbody th { color: var(--ink); font-weight: 600; width: 22%; }
table.compare td.us { color: var(--ink); font-weight: 600; background: #f8faff; }
table.compare tr:last-child > * { border-bottom: 0; }

/* spec list */
.spec { display: grid; grid-template-columns: 220px 1fr; border-top: 1px solid var(--line); }
.spec dt, .spec dd { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--ink); font-weight: 700; padding-right: 20px; }
@media (max-width: 640px) { .spec { grid-template-columns: 1fr; } .spec dt { border-bottom: 0; padding-bottom: 2px; } .spec dd { padding-top: 0; } }

/* tags */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag { font-size: 0.85rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--blue-soft); color: #1e3a8a; }
.hero .tag { background: rgba(255,255,255,.08); color: #dbe5f5; border: 1px solid rgba(255,255,255,.14); }

/* screenshot gallery */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; align-items: start; }
.gallery figure { margin: 0; }
.gallery figure:nth-child(even) { margin-top: 40px; }
.gallery .phone { max-width: none; }
.gallery figcaption { text-align: center; margin-top: 14px; font-weight: 600; color: var(--ink); font-size: 0.95rem; }
@media (max-width: 980px) { .gallery { grid-template-columns: repeat(3, 1fr); } .gallery figure:nth-child(even) { margin-top: 0; } }
@media (max-width: 560px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* checklist */
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { padding-left: 32px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230c1b33' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }

/* callout */
.callout { border-left: 4px solid var(--blue); background: var(--blue-soft); padding: 22px 26px; border-radius: 0 var(--radius) var(--radius) 0; color: #1e2f55; }
.callout strong { color: var(--ink); }
.callout.warn { border-left-color: var(--orange); background: #fff4e8; color: #5a3410; }

/* suite strip */
.suite { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: rgba(255,255,255,.1); border-radius: var(--radius); overflow: hidden; }
.suite a { background: var(--navy-2); padding: 26px 22px; text-decoration: none; color: #c5d0e2; display: block; }
.suite a:hover { background: #193259; }
.suite h3 { color: #fff; font-size: 1.05rem; margin-bottom: 6px; }
.suite p { font-size: 0.93rem; }
@media (max-width: 860px) { .suite { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .suite { grid-template-columns: 1fr; } }

/* timeline (rollout) */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.timeline div { border-top: 4px solid var(--blue); padding-top: 18px; }
.timeline div:last-child { border-top-color: var(--amber); }
.timeline p { margin-top: 6px; font-size: 0.96rem; }
@media (max-width: 860px) { .timeline { grid-template-columns: repeat(2, 1fr); } }

/* CTA band */
.cta { background: var(--blue); color: #e3ebff; padding: 80px 0; }
.cta h2 { color: #fff; }
.cta h2 em { color: #fff; text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 6px; }
.cta p { margin-top: 14px; font-size: 1.1rem; max-width: 56ch; }
.cta .btn-primary { background: #fff; color: var(--blue); }
.cta .btn-ghost { border-color: rgba(255,255,255,.5); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; max-width: 72ch; }
