/* Tuzzco LLC — public-safety landing styles */

:root {
  --bg: #0f1419;
  --bg-alt: #161d26;
  --surface: #1c2530;
  --surface-hover: #243040;
  --border: #2d3a4a;
  --text: #e8eef4;
  --text-muted: #9aa8b8;
  --navy: #1c4f9c;
  --gold: #b78638;
  --accent: #b78638;
  --accent-hover: #c99a4a;
  --accent-text: #0f1419;
  --live: #2d8a5e;
  --soon-bg: #1a222c;
  --focus: #5b9fd4;
  --max-width: 68rem;
  --radius: 0.5rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: #7eb8e8;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: #a8d0f0;
}

a:focus-visible,
.btn:focus-visible,
.logo:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 0.75rem;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 2rem, 40rem);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 20, 25, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  padding-block: 0.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.logo:hover {
  color: #fff;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  justify-content: flex-end;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--text);
}

/* Hero */

.hero {
  padding: 3.75rem 0 3.5rem;
  background:
    linear-gradient(180deg, rgba(28, 79, 156, 0.18) 0%, transparent 50%),
    linear-gradient(135deg, rgba(183, 134, 56, 0.08) 0%, transparent 40%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-brand {
  margin: 0 0 1rem;
}

.hero-logo {
  display: block;
  width: min(100%, 28rem);
  height: auto;
  margin: 0;
}

.hero-tagline {
  margin: 0 0 0.85rem;
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-weight: 500;
  color: var(--text);
}

.hero-lead {
  margin: 0 0 1.5rem;
  max-width: 36rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.975rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--accent-text);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--surface);
  color: var(--text);
  border-color: #3d4f63;
}

/* Sections */

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  letter-spacing: -0.01em;
}

.section-intro {
  margin: 0 0 2rem;
  max-width: 40rem;
  color: var(--text-muted);
}

.narrow p {
  color: var(--text-muted);
}

.narrow p strong {
  color: var(--text);
  font-weight: 600;
}

.narrow p + p {
  margin-top: 1rem;
}

/* Capabilities */

.capability-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .capability-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.capability-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}

.capability-list h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--text);
}

.capability-list p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Products */

.product-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  min-height: 11.5rem;
}

.product-card--soon {
  background: var(--soon-bg);
  opacity: 0.92;
}

.product-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.product-card h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.3;
}

.product-card p {
  margin: 0;
  flex: 1;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.badge {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: #2a3340;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.badge--live {
  background: rgba(45, 138, 94, 0.2);
  color: #7dcea0;
  border-color: rgba(45, 138, 94, 0.45);
}

.product-link {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: #7eb8e8;
}

.product-link:hover {
  color: #a8d0f0;
  text-decoration: underline;
}

.product-link--disabled {
  color: var(--text-muted);
  cursor: default;
  font-weight: 500;
  opacity: 0.85;
}

/* Contact */

.contact-email {
  margin-top: 1.25rem !important;
}

.contact-email a {
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.1rem;
}

.contact-email a:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent-hover);
}

/* Footer */

.site-footer {
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 480px) {
  .nav {
    gap: 0.35rem 0.85rem;
  }

  .hero {
    padding: 3rem 0 2.75rem;
  }
}
