/* TracVault marketing site. Plain CSS, no build step, no web fonts (no third-party requests). */
:root {
  --ink: #0b1324;
  --ink-2: #16213a;
  --ink-3: #24314f;
  --text: #1c2333;
  --muted: #5a6478;
  --line: #e3e7ee;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --accent: #0e9f8a;
  --accent-dark: #0a7c6c;
  --accent-soft: #e2f6f2;
  --signal: #f2b544;
  --danger: #d9534f;
  --radius: 14px;
  --max: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 17px; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--accent-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 6px;
}
h1, h2, h3 { line-height: 1.15; color: var(--ink); letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--signal); color: var(--ink); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .8em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46em; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Placeholder text Brian must confirm or replace before launch */
.ph { background: #fff3cd; color: #7a5300; border-radius: 4px; padding: 0 .25em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.dark .ph { background: rgba(242,181,68,.2); color: #ffd98a; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.35em; border-radius: 10px; font-weight: 650; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11,19,36,.96); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid rgba(255,255,255,.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 750; font-size: 1.2rem; letter-spacing: -0.01em; }
.brand svg { width: 30px; height: 30px; flex: none; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: #c9d2e3; text-decoration: none; font-size: .95rem; font-weight: 550; }
.nav a:hover { color: #fff; }
.nav .btn { color: #fff; padding: .55em 1em; font-size: .92rem; }
.menu-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 1.3rem; border-radius: 8px; width: 44px; height: 40px; cursor: pointer; }

@media (max-width: 920px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav .btn { margin-top: 12px; border-bottom: 0; }
}

/* Dark sections */
.dark { background: var(--ink); color: #c9d2e3; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark .lead { color: #aeb9cd; }

/* Hero */
.hero { padding: 72px 0 84px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 720px; height: 720px; background: radial-gradient(closest-side, rgba(14,159,138,.28), transparent); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; position: relative; }
.hero h1 .hl { color: var(--accent); }
.hero .lead { font-size: 1.2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.pilot-note { font-size: .92rem; color: #93a0b8; display: flex; gap: 8px; align-items: center; }
.pilot-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); flex: none; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding: 48px 0 56px; } }

/* Product mock (illustration, built in HTML) */
.mock { background: #fff; color: var(--text); border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); overflow: hidden; font-size: .85rem; border: 1px solid rgba(255,255,255,.1); }
.mock-bar { background: #eef1f6; padding: 9px 12px; display: flex; gap: 6px; align-items: center; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfd5df; display: block; }
.mock-bar span { margin-left: 10px; font-size: .75rem; color: var(--muted); font-family: var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-body { padding: 16px; display: grid; gap: 12px; }
.mock-title { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.mock-title b { font-size: 1rem; color: var(--ink); }
.pill { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-dark); }
.pill.warn { background: #fff3cd; color: #7a5300; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { border: 1px solid var(--line); border-radius: 10px; padding: 10px; min-width: 0; }
.stat small { display: block; color: var(--muted); font-size: .7rem; line-height: 1.3; }
.stat strong { font-size: 1.15rem; color: var(--ink); }
.meter { height: 8px; background: #edf0f5; border-radius: 99px; overflow: hidden; margin-top: 6px; }
.meter span { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.ramp { display: flex; align-items: flex-end; gap: 5px; height: 70px; padding: 8px 10px 0; border: 1px solid var(--line); border-radius: 10px; }
.ramp span { flex: 1; background: linear-gradient(180deg, var(--accent), #5cc9b8); border-radius: 4px 4px 0 0; min-width: 0; }
.ramp span.today { background: var(--signal); }
.mock-caption { font-size: .72rem; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
.mock-note { text-align: center; font-size: .78rem; color: #7d8aa3; margin-top: 10px; }
@media (max-width: 480px) { .stat strong { font-size: 1rem; } .stats { gap: 6px; } .stat { padding: 8px; } }

/* Sections */
section { padding: 88px 0; }
.soft { background: var(--bg-soft); }
@media (max-width: 700px) { section { padding: 60px 0; } }

/* Problem strip */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.pain { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.pain .n { font-family: var(--mono); color: var(--accent); font-weight: 700; font-size: .85rem; }
@media (max-width: 820px) { .pains { grid-template-columns: 1fr; } }

/* Journey */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 44px; counter-reset: step; }
.step { padding: 0 22px 0 0; position: relative; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 750; margin-bottom: 16px; position: relative; z-index: 1; }
.step::after { content: ""; position: absolute; top: 21px; left: 42px; right: 0; height: 2px; background: var(--line); }
.step:last-child::after { display: none; }
.step p { color: var(--muted); font-size: .97rem; }
@media (max-width: 860px) {
  .journey { grid-template-columns: 1fr; gap: 26px; }
  .step { padding: 0 0 0 60px; }
  .step::before { position: absolute; left: 0; top: 0; }
  .step::after { display: none; }
}

/* Feature blocks */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature.flip .feature-copy { order: 2; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checks li { padding-left: 32px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230a7c6c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.checks b { color: var(--ink); }
.panel { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.soft .panel { background: #fff; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .feature-copy { order: 0; }
  .feature + .feature { margin-top: 64px; }
}

/* Panel contents */
.flow { display: grid; gap: 10px; }
.flow-row { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: .9rem; }
.flow-row .tag { font-family: var(--mono); font-size: .72rem; color: var(--muted); margin-left: auto; white-space: nowrap; }
.flow-row .ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-dark); flex: none; font-weight: 800; font-size: .8rem; }
.flow-row.cond .ic { background: #fff3cd; color: #7a5300; }
.flow-indent { margin-left: 26px; }
.portal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 8px; flex-wrap: wrap; }
.portal-head b { color: var(--ink); }
.kv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.kv div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.kv small { display: block; color: var(--muted); font-size: .74rem; }
.kv strong { color: var(--ink); font-size: 1.1rem; }
.doclist { margin-top: 12px; display: grid; gap: 6px; }
.doclist div { display: flex; justify-content: space-between; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font-size: .86rem; }
.doclist span:last-child { color: var(--muted); white-space: nowrap; }

/* Consolidation table */
.swap { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; margin-top: 40px; }
.tools { display: grid; gap: 10px; }
.tool { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 14px 16px; display: flex; justify-content: space-between; gap: 12px; }
.tool span:last-child { color: #8f9bb3; font-size: .9rem; text-align: right; }
.arrow { font-size: 2rem; color: var(--accent); }
.one { background: linear-gradient(160deg, var(--ink-3), var(--ink-2)); border: 1px solid rgba(14,159,138,.55); border-radius: 18px; padding: 28px; }
.one ul { margin: 14px 0 0; padding-left: 1.1em; }
.one li { margin-bottom: 6px; }
@media (max-width: 860px) { .swap { grid-template-columns: 1fr; } .arrow { transform: rotate(90deg); justify-self: center; } }

/* Security */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 1.08rem; }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }
.card .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; margin-bottom: 14px; }
.card .ic svg { width: 22px; height: 22px; }
.roadmap { margin-top: 28px; padding: 20px 24px; border: 1px dashed #c8cfdb; border-radius: var(--radius); background: #fff; }
.roadmap h3 { font-size: 1rem; margin-bottom: .4em; }
.roadmap p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin: 40px auto 0; max-width: 880px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--accent); }
.plan .price { font-size: 2.4rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; margin: 8px 0 2px; }
.plan .price small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { padding-left: 1.1em; color: var(--text); margin: 18px 0 24px; flex: 1; }
.plan li { margin-bottom: 6px; }
.fine { font-size: .88rem; color: var(--muted); max-width: 46em; margin: 22px auto 0; text-align: center; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin: 36px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font-weight: 650; color: var(--ink); position: relative; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; color: var(--accent); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* Form */
.cta-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.lead-form { background: #fff; color: var(--text); border-radius: 18px; padding: 28px; display: grid; gap: 14px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.lead-form label .opt { font-weight: 400; color: var(--muted); }
.lead-form input[type=text], .lead-form input[type=email], .lead-form input[type=tel], .lead-form select, .lead-form textarea {
  font: inherit; font-size: 1rem; padding: .7em .8em; border: 1px solid #cdd3de; border-radius: 10px; width: 100%; background: #fff; color: var(--text);
}
.lead-form textarea { min-height: 96px; resize: vertical; }
.lead-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .88rem; color: var(--muted); }
.lead-form .check input { margin-top: .3em; width: 18px; height: 18px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { display: none; font-size: .92rem; padding: 10px 12px; border-radius: 8px; }
.form-msg.err { display: block; background: #fdecea; color: #8a1f1b; }
.form-msg.info { display: block; background: #fff3cd; color: #7a5300; }
.cta-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.cta-points li { padding-left: 30px; position: relative; }
.cta-points li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .row-2 { grid-template-columns: 1fr; } .lead-form { padding: 20px; } }

/* Footer */
.site-footer { background: #070d1a; color: #8f9bb3; padding: 56px 0 40px; font-size: .9rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: .9rem; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #c9d2e3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.disclaimer { border-top: 1px solid rgba(255,255,255,.08); margin-top: 36px; padding-top: 24px; font-size: .82rem; line-height: 1.6; color: #7d8aa3; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* Simple content pages */
.page { padding: 64px 0 88px; }
.page .wrap { max-width: 820px; }
.page h2 { font-size: 1.4rem; margin-top: 1.6em; }
.muted { color: var(--muted); }

/* Proof strip */
.proof { background: var(--ink-2); color: #c9d2e3; border-top: 1px solid rgba(255,255,255,.06); }
.proof-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 22px; padding-bottom: 22px; align-items: center; }
.proof-row div { display: flex; flex-direction: column; min-width: 0; }
.proof-row strong { color: #fff; font-size: 1.5rem; letter-spacing: -0.02em; }
.proof-row span { font-size: .88rem; }
.proof-row .badge { flex-direction: row; gap: 10px; align-items: center; border: 1px solid rgba(14,159,138,.6); border-radius: 12px; padding: 10px 14px; }
.proof-row .badge svg { width: 26px; height: 26px; color: var(--accent); flex: none; }
.proof-row .badge b { color: #fff; }
@media (max-width: 760px) { .proof-row { grid-template-columns: 1fr 1fr; } }

/* Compare table */
.table-scroll { overflow-x: auto; margin-top: 32px; border: 1px solid var(--line); border-radius: var(--radius); }
.compare { width: 100%; border-collapse: collapse; min-width: 480px; font-size: .97rem; }
.compare th, .compare td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--bg-soft); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tr.us { background: var(--accent-soft); }
.compare tr.us th { color: var(--accent-dark); }

/* Testimonials */
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.quote blockquote { margin: 0; font-size: 1.05rem; color: var(--ink); }
.quote figcaption { font-size: .9rem; color: var(--muted); }
