/* Leal Vision AI — public marketing site. Brand: deep navy + electric blue,
   camera-lens/AI-brain mark. Fire Watch adds a flame-orange accent.
   Self-contained, no external deps. */
:root {
  --navy: #0a1a3a;
  --navy-2: #12244d;
  --brand: #1d4ed8;
  --brand-2: #2563eb;
  --brand-lt: #6ea8ff;
  --flame-1: #f97316;
  --flame-2: #ef4444;
  --danger: #e11d2e;
  --green: #12a150;
  --ink: #13203c;
  --ink-2: #33425c;
  --muted: #5c6879;
  --line: #e5eaf2;
  --bg: #ffffff;
  --bg-soft: #f3f7fd;
  --ice: #cddcf5;
  --radius: 14px;
  --shadow: 0 12px 34px rgba(12, 26, 58, .09);
  --wrap: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.15; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--brand); margin: 0 0 .6rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--ink-2); }

/* buttons */
.btn { display: inline-block; padding: .8rem 1.4rem; border-radius: 10px; font-weight: 700; font-size: .98rem; border: 1px solid transparent; cursor: pointer; transition: .15s; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #1740b8; text-decoration: none; }
.btn-fire { background: linear-gradient(90deg, var(--flame-1), var(--flame-2)); color: #fff; }
.btn-fire:hover { filter: brightness(1.05); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted); text-decoration: none; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #eef2fa; text-decoration: none; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 22px; height: 74px; }
.site-logo img { height: 46px; width: auto; display: block; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--brand); text-decoration: none; }
.nav-cta { margin-left: 8px; }
.nav-toggle, .nav-toggle-label { display: none; }

/* hero */
.hero { background: radial-gradient(1100px 520px at 72% -10%, #1b3b7a 0%, var(--navy) 58%); color: #fff; padding: 78px 0 70px; }
.hero .kicker { color: var(--brand-lt); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero p { color: var(--ice); font-size: 1.2rem; max-width: 52ch; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-media { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.hero-tag { color: var(--brand-lt); font-weight: 700; letter-spacing: .04em; margin-top: 20px; font-size: .95rem; }
.hero-sub { padding: 64px 0 46px; background: var(--navy); color: #fff; }
.hero-sub h1 { color: #fff; }
.hero-sub p { color: var(--ice); max-width: 60ch; }
.hero-sub.fire { background: linear-gradient(120deg, var(--navy) 55%, #3a1a12); }
.hero-sub.fire .kicker { color: var(--flame-1); }
.hero-logo { height: 74px; width: auto; margin-bottom: 22px; }
.logo-panel { background: #fff; border-radius: 14px; padding: 16px 24px; display: inline-block; box-shadow: 0 14px 36px rgba(0,0,0,.32); margin-bottom: 24px; }
.logo-panel img { height: 66px; width: auto; display: block; }

/* sections */
section { padding: 68px 0; }
section.soft { background: var(--bg-soft); }
.section-head { max-width: 62ch; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* grids & cards */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin-top: 14px; }
.card p { margin-bottom: 0; color: var(--muted); font-size: .98rem; }
.icon { width: 44px; height: 44px; border-radius: 11px; background: #e7efff; color: var(--brand); display: flex; align-items: center; justify-content: center; }
.icon svg { width: 22px; height: 22px; }

/* module family */
.modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.module-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); text-align: center; display: flex; flex-direction: column; }
.module-card img { width: 100%; max-width: 220px; height: auto; margin: 6px auto 14px; object-fit: contain; }
.module-card h3 { font-size: 1.02rem; margin: 0 0 4px; }
.module-card p { color: var(--muted); font-size: .88rem; margin: 0 0 12px; flex: 1; }
.module-tag { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; align-self: center; }
.module-tag.now { background: #e7efff; color: var(--brand); }
.module-tag.soon { background: #eef1f6; color: var(--muted); }
.module-card.flagship { border-color: var(--brand); box-shadow: 0 12px 34px rgba(29, 78, 216, .16); }

/* steps */
.steps { display: grid; gap: 18px; }
.step { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.step-num { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.step h3 { margin: 0 0 4px; }
.step p { margin: 0; color: var(--muted); }

/* stat row */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { text-align: center; }
.stat b { display: block; font-size: 2.2rem; font-weight: 800; color: var(--brand); letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: .95rem; }

/* is / is-not */
.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pillar { border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); background: #fff; }
.pillar.is { border-top: 4px solid var(--green); }
.pillar.isnot { border-top: 4px solid var(--danger); }
.pillar h3 { margin-top: 0; }
.pillar ul { margin: 0; padding-left: 0; list-style: none; }
.pillar li { padding: 8px 0 8px 30px; position: relative; color: var(--ink-2); }
.pillar li::before { position: absolute; left: 0; top: 8px; font-weight: 800; }
.pillar.is li::before { content: "✓"; color: var(--green); }
.pillar.isnot li::before { content: "✕"; color: var(--danger); }

/* split media + text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split img, .shot { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.shot-cap { font-size: .85rem; color: var(--muted); margin-top: 10px; }

/* checklist */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { padding-left: 30px; position: relative; color: var(--ink-2); }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }

/* faq */
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--brand); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 12px; }

/* CTA band */
.cta { background: linear-gradient(120deg, var(--navy), #1b3b7a); color: #fff; border-radius: 18px; padding: 48px; text-align: center; }
.cta.fire { background: linear-gradient(120deg, var(--navy) 45%, #7a2d16); }
.cta h2 { color: #fff; }
.cta p { color: var(--ice); max-width: 56ch; margin: 0 auto 22px; }

/* disclaimer band */
.disclaimer { background: #fff8ea; border: 1px solid #f3e2bd; border-radius: 12px; padding: 18px 22px; color: #6b5a2e; font-size: .95rem; }
.disclaimer b { color: #4a3f20; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: #eaf1fb; color: var(--ink-2); border-radius: 999px; padding: 6px 14px; font-size: .85rem; font-weight: 600; }

/* page hero */
.page-hero { background: var(--navy); color: #fff; padding: 56px 0; }
.page-hero.fire { background: linear-gradient(120deg, var(--navy) 55%, #3a1a12); }
.page-hero .kicker { color: var(--brand-lt); }
.page-hero.fire .kicker { color: var(--flame-1); }
.page-hero h1 { color: #fff; }
.page-hero p { color: var(--ice); max-width: 60ch; margin: 0; }

/* footer */
.site-footer { background: var(--navy); color: #aab6cc; padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin: 0 0 14px; }
.site-footer a { color: #aab6cc; display: block; padding: 4px 0; font-size: .92rem; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.foot-brand-row { display: flex; align-items: center; gap: 12px; }
.foot-brand-row img { height: 40px; width: auto; }
.foot-brand-row b { color: #fff; font-size: 1.15rem; font-weight: 800; }
.foot-tag { color: var(--brand-lt); font-size: .82rem; letter-spacing: .04em; margin-top: 8px; }
.foot-disc { border-top: 1px solid #23345c; margin-top: 34px; padding-top: 20px; font-size: .82rem; color: #7f8ba6; }

/* contact */
.field { display: block; margin-bottom: 16px; }
.field label span { font-weight: 600; font-size: .9rem; display: block; margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }

/* responsive */
@media (max-width: 900px) {
  .hero-grid, .split, .twocol { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .modules { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { position: absolute; top: 74px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 24px 18px; display: none; }
  .nav-links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-toggle-label { display: inline-flex; margin-left: auto; font-size: 1.7rem; cursor: pointer; user-select: none; line-height: 1; color: var(--navy); }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .grid-2, .modules { grid-template-columns: 1fr; }
  .cta { padding: 32px 22px; }
  .site-logo img { height: 40px; }
}
