/* Vizibi Technologies - static site styles.
   One file, no build step. Kept deliberately small. */

:root {
  --ink: #1a1a1a;
  --muted: #555;
  --line: #e2e2e2;
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --accent: #1a1a1a;
  --accent-blue: #2f6fd0;
  --maxw: 60rem;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}

img { max-width: 100%; height: auto; }

a { color: var(--accent); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---- Header ---- */
.site-header {
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0;
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.site-header__logo img { display: block; width: auto; height: 40px; }
.site-header__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}
.site-header__title a { text-decoration: none; color: var(--ink); }

/* ---- Nav ---- */
.site-nav {
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}
.nav-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.4rem;
  line-height: 1;
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem;
  margin-left: -0.5rem;
  cursor: pointer;
  color: var(--ink);
}
.main-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}
.main-nav a {
  display: block;
  padding: 0.85rem 0;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
}
.main-nav a:hover { text-decoration: underline; }
.main-nav a[aria-current="page"] { border-bottom: 2px solid var(--accent); }

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  background: #0e1f39;
  color: #fff;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.hero__inner {
  padding: 3.5rem 1.25rem;
}
.hero--home .hero__inner { padding: 4.5rem 1.25rem; }
.hero--page .hero__inner { padding: 2.75rem 1.25rem; }
.hero--page::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 23, 41, 0.55);
  z-index: -1;
}
.hero--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,23,41,0.86) 0%, rgba(10,23,41,0.55) 60%, rgba(10,23,41,0.35) 100%);
  z-index: -1;
}
.hero__eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9fc0f2;
}
.hero h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.15;
}
.hero__lede {
  margin: 1rem 0 0;
  max-width: 46rem;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
}
.hero .btn { margin-top: 1.75rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  background: #2f6fd0;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.15s ease;
}
.btn:hover { background: #245ab0; }
.btn--ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.55);
}
.btn--ghost:hover { background: rgba(255,255,255,0.12); }

/* ---- Main ---- */
.page-main { padding: 2.75rem 0 3.25rem; }
.page-main > .container > h1 { font-size: 2rem; margin: 0 0 1rem; line-height: 1.2; }
.page-main h2 {
  font-size: 1.4rem;
  margin: 2.25rem 0 0.85rem;
  padding-left: 0.85rem;
  border-left: 3px solid var(--accent-blue);
}
.page-main h3 { font-size: 1.05rem; margin: 0; }
.page-main p { margin: 0 0 1rem; }
.page-main .subhead {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.page-image { margin: 1.75rem 0; text-align: center; }
.page-image img {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(15, 31, 57, 0.10);
}
.page-image--plain img { border: 0; box-shadow: none; }
.page-image--sm img { max-width: 20rem; }
.page-image figcaption {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---- CTA band ---- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: #0e1f39;
  color: #fff;
  isolation: isolate;
}
.cta-band__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -1; opacity: 0.9;
}
.cta-band .container { padding-top: 3rem; padding-bottom: 3rem; text-align: center; }
.cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 42rem;
  font-size: 1.2rem;
  line-height: 1.5;
}

/* ---- Target markets list ---- */
.target-markets {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 0.85rem;
}
.target-markets li {
  position: relative;
  padding: 1rem 1rem 1rem 2.4rem;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 600;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.target-markets li:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 6px 18px rgba(15, 31, 57, 0.08);
}
.target-markets li::before {
  content: "\2217"; /* asterisk operator - matches the live site's asterisk heading style */
  position: absolute;
  left: 1rem;
  top: 0.9rem;
  color: var(--accent-blue);
  font-size: 1.15rem;
  line-height: 1;
}

/* ---- Contact ---- */
.contact-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.contact-card {
  flex: 1 1 16rem;
  padding: 1.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 6px;
  border-top: 3px solid var(--accent-blue);
}
.contact-card p { margin: 0 0 0.4rem; }
.contact-card p:first-child { font-weight: 700; font-size: 1.05rem; }

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
  background: var(--bg-alt);
  font-size: 0.9rem;
  color: var(--muted);
}
.site-footer__logo { width: auto; height: 34px; display: block; margin-bottom: 0.75rem; }
.site-footer__title { margin: 0; font-weight: 700; color: var(--ink); }
.site-footer__tagline { margin: 0.25rem 0 1rem; max-width: 34rem; }
.footer-nav {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  gap: 1.25rem;
}
.footer-nav a { color: var(--muted); }
.site-colophon { margin: 0; }

/* ---- Responsive ---- */
@media (max-width: 40rem) {
  .nav-toggle { display: block; }
  .main-nav {
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
  }
  .main-nav.is-open { max-height: 40rem; padding-bottom: 0.5rem; }
  .main-nav a { padding: 0.7rem 0; }
  .main-nav a[aria-current="page"] { border-bottom: 0; font-weight: 700; }

  .hero__inner { padding: 2.5rem 1.25rem; }
  .hero--home .hero__inner { padding: 3rem 1.25rem; }
  .hero--page .hero__inner { padding: 2rem 1.25rem; }
  .hero .btn { margin-top: 1.5rem; }
  .cta-band p { font-size: 1.08rem; }
  .site-header__logo img { height: 34px; }
}
