/* TITA License Plate Reader — marketing site.
   Shares the TITA palette so the two products read as one company, with a green
   "access granted" accent that belongs to this product specifically. */

:root {
  --bg: #0a0e1a;
  --bg-alt: #0f1424;
  --surface: #131a2e;
  --border: #233049;
  --text: #e7ecf5;
  --muted: #93a0b8;
  --accent: #8b6fff;
  --accent-2: #6c4ee6;
  --go: #34d399;
  --radius: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(1000px 620px at 50% -180px, rgba(139, 111, 255, 0.12), transparent 70%),
    radial-gradient(rgba(147, 160, 184, 0.05) 1px, transparent 1px);
  background-repeat: no-repeat, repeat;
  background-size: 100% 760px, 30px 30px;
  background-position: top center, 0 0;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }

.grad {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; max-width: var(--max); margin: 0 auto; padding: 16px 24px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em;
  padding: 5px 8px; border-radius: 6px;
  color: #0a0e1a; background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.brand-text { font-size: 15px; color: var(--muted); }
.brand-text strong { color: var(--text); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav-links a { color: var(--muted); transition: color 0.15s ease; }
.nav-links a:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 10px 18px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff; font-weight: 600; border: 1px solid transparent;
  transition: transform 0.12s ease, filter 0.15s ease;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.nav-links .btn { color: #ffffff; }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-ghost {
  background: transparent; border-color: var(--border); color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  max-width: 980px; margin: 0 auto; padding: 72px 24px 88px; text-align: center;
}
.eyebrow {
  margin: 0 0 18px; font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
}
.hero h1 { font-size: clamp(32px, 5vw, 54px); font-weight: 800; text-wrap: balance; }
.lede {
  margin: 26px auto 0; max-width: 680px; font-size: clamp(16px, 2vw, 19px);
  color: var(--muted);
}
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero-note { margin-top: 22px; font-size: 14px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 72px 24px; }
.section h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; }
.section-lede { margin: 16px 0 0; max-width: 680px; color: var(--muted); font-size: 17px; }
.band {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ---------- Steps ---------- */
.steps {
  list-style: none; padding: 0; margin: 44px 0 0;
  display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.steps li {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
}
.step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 8px; margin-bottom: 14px;
  font-size: 14px; font-weight: 700; color: #0a0e1a; background: var(--go);
}
.steps h3, .card h3 { font-size: 19px; margin-bottom: 10px; }
.steps p, .card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Cards ---------- */
.grid {
  display: grid; gap: 22px; margin-top: 44px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); }

/* ---------- Chips ---------- */
.chips {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: flex; flex-wrap: wrap; gap: 12px;
}
.chips li {
  padding: 9px 16px; border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface); font-size: 15px; color: var(--text);
}

/* ---------- Split ---------- */
.split {
  display: grid; gap: 34px; margin-top: 34px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.split p { color: var(--muted); margin: 0 0 16px; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li {
  position: relative; padding: 10px 0 10px 30px;
  border-bottom: 1px solid var(--border); color: var(--text); font-size: 15px;
}
.ticks li:last-child { border-bottom: 0; }
.ticks li::before {
  /* Escaped rather than a literal glyph: CSS has no charset declaration of its own,
     so a server sending latin-1 would mangle the character. */
  content: "\2713"; position: absolute; left: 0; top: 10px;
  color: var(--go); font-weight: 700;
}

/* ---------- Misc ---------- */
.fineprint { margin-top: 20px; font-size: 14px; color: var(--muted); max-width: 680px; }
#pricing .btn-lg, .contact-line { margin-top: 26px; display: inline-block; }
.contact-line { display: block; }

.footer { border-top: 1px solid var(--border); margin-top: 24px; }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 40px 24px; }
.footer p { margin: 0 0 8px; color: var(--muted); font-size: 15px; }
.footer strong { color: var(--text); }
.footer a { color: var(--accent); }

@media (max-width: 720px) {
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 48px 20px 64px; }
  .section { padding: 56px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover { transform: none; }
}
