:root {
  /* Enterprise design system — primary/semantic tokens */
  --navy: #101828;
  --navy-dark: #09090b;
  --navy-mid: #16233a;
  --accent: #0C5CAB;
  --accent-dark: #0a4a8a;
  --accent-light: #4f9fe0;
  --green: #10b981;
  --amber: #f59e0b;
  --red: #ef4444;
  --bg: #f7f8fa;
  --card: #ffffff;
  --border: #e2e6eb;
  --text: #1c2b3a;
  --muted: #64707d;
  --font-head: "IBM Plex Sans", -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: "IBM Plex Sans", -apple-system, "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", Consolas, monospace;
}

/* WCAG 2.2 AA — visible keyboard focus on every interactive element */
a:focus-visible, button:focus-visible, .btn:focus-visible,
input:focus-visible, textarea:focus-visible, .demo-book-btn:focus-visible {
  outline: 3px solid var(--accent-light);
  outline-offset: 2px;
  border-radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--accent); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  color: var(--navy-dark);
}
p { margin: 0 0 14px; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; position: relative; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--accent-dark); margin-bottom: 12px;
  background: rgba(12,92,171,0.1); padding: 5px 12px; border-radius: 20px;
}

/* subtle dot texture on alternating sections */
.dot-bg {
  background-image: radial-gradient(rgba(31,58,95,0.08) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
}

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: none; border-radius: 10px; padding: 13px 26px;
  font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none;
  font-family: var(--font-body);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff; box-shadow: 0 10px 24px rgba(12,92,171,0.32);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(12,92,171,0.42); }
.btn-outline { background: #fff; color: var(--navy); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { background: rgba(255,255,255,0.14); color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.24); }
.btn-lg { padding: 17px 36px; font-size: 16px; border-radius: 12px; }

/* ---------------- header / nav ---------------- */
header.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13,31,61,0.92); backdrop-filter: blur(10px);
  color: #fff; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: 1160px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 18px; color: #fff; text-decoration: none; }
.brand .logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  display: block; object-fit: contain;
  box-shadow: 0 4px 12px rgba(12,92,171,0.45);
}
#navLinks { display: flex; align-items: center; gap: 28px; }
#navLinks a { color: #c8d6e5; text-decoration: none; font-size: 14px; font-weight: 500; transition: color .15s; }
#navLinks a:hover { color: #fff; }
.nav-toggle { display: none; min-width: 44px; min-height: 44px; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; border-radius: 8px; }
.nav-toggle:hover { background: rgba(255,255,255,0.08); }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  #navLinks {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-dark);
    flex-direction: column; align-items: flex-start; padding: 8px 24px 18px; gap: 14px;
    display: none;
  }
  #navLinks.open { display: flex; }
}

/* ---------------- hero ---------------- */
.hero {
  background: radial-gradient(1200px 500px at 15% -10%, #1a3f6e 0%, transparent 60%),
              radial-gradient(900px 500px at 100% 0%, rgba(12,92,171,0.28) 0%, transparent 55%),
              linear-gradient(165deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 96px 0 120px;
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px;
  border-radius: 50%; background: radial-gradient(circle, rgba(245,158,11,0.22) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } }
.hero .eyebrow { background: rgba(255,255,255,0.1); color: #a8d4ff; }
.hero h1 { font-size: 44px; color: #fff; letter-spacing: -0.03em; }
.hero h1 .hl { color: var(--accent-light); }
.hero p.lead { font-size: 17.5px; color: #b9cbdd; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats div b { display: block; font-family: var(--font-head); font-size: 26px; color: #fff; }
.hero-stats div span { font-size: 12px; color: #93aec6; text-transform: uppercase; letter-spacing: 0.6px; }

.hero-visual {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px; padding: 24px; backdrop-filter: blur(6px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}
.hero-visual .mock-title { font-size: 12px; color: #93aec6; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; }
.hero-visual .mock-title .live-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; display: inline-block; margin-right: 6px; box-shadow: 0 0 0 3px rgba(74,222,128,0.25); }
.hero-visual .mock-row {
  display: flex; align-items: center; gap: 12px; background: #fff; color: var(--text);
  border-radius: 12px; padding: 13px 15px; margin-bottom: 10px; font-size: 13.5px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.hero-visual .mock-row .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

/* ---------------- features ---------------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 28px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(22,48,90,0.1); border-color: #cfe0ea; }
.feature-card .icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, #e8f4f8, #d7ecf3); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 23px; margin-bottom: 16px;
}
.feature-card h4 { font-size: 16.5px; }
.feature-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------------- how it works ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { text-align: center; }
.step .step-num {
  counter-increment: step; width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-dark)); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-head);
  font-weight: 700; margin: 0 auto 16px; box-shadow: 0 8px 18px rgba(22,48,90,0.25);
}
.step h4 { font-size: 15.5px; }
.step p { font-size: 13.5px; color: var(--muted); }

/* ---------------- demo ---------------- */
.demo-shell {
  background: var(--card); border: 1px solid var(--border); border-radius: 20px;
  padding: 34px; max-width: 900px; margin: 0 auto;
  box-shadow: 0 20px 50px rgba(22,48,90,0.08);
}
.demo-progress { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; gap: 16px; flex-wrap: wrap; }
.demo-progress-bar { flex: 1; height: 9px; background: #eef1f4; border-radius: 6px; overflow: hidden; min-width: 160px; }
.demo-progress-bar > div { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-light)); width: 0%; transition: width .3s; }
#demoScanCounter { font-size: 13px; color: var(--muted); white-space: nowrap; font-weight: 600; }
.demo-hint { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }

.demo-book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 24px; }
.demo-book-btn {
  border: 1px solid var(--border); background: #fff; border-radius: 12px; padding: 13px;
  cursor: pointer; text-align: left; display: flex; flex-direction: column; gap: 7px;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.demo-book-btn:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(22,48,90,0.1); }
.demo-book-swatch { width: 100%; height: 48px; border-radius: 8px; display: block; }
.demo-book-label { font-size: 12.5px; font-weight: 600; }
.demo-book-isbn { font-size: 11px; color: var(--muted); font-family: var(--font-mono); }

.demo-scanning { text-align: center; padding: 22px; color: var(--muted); font-size: 14px; }
.demo-result { display: flex; gap: 18px; background: linear-gradient(135deg, #f2f9f3, #eaf5ec); border: 1px solid #cde6d2; border-radius: 14px; padding: 20px; }
.demo-result-cover {
  width: 64px; height: 90px; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center;
  justify-content: center; font-size: 26px; color: #fff; box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}
.demo-result-badge { display: inline-block; background: var(--green); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; margin-bottom: 6px; }
.demo-result-body h4 { margin: 0 0 4px; font-size: 16.5px; }
.demo-result-meta { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.demo-result-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 20px; font-size: 12.5px; font-family: var(--font-mono); }
.demo-result-fields span { display: block; color: var(--muted); text-transform: uppercase; font-size: 10px; letter-spacing: 0.4px; font-family: var(--font-body); }

.demo-locked { text-align: center; padding: 34px 10px; }
.demo-locked h4 { font-size: 19px; }
.demo-locked p { color: var(--muted); max-width: 420px; margin: 0 auto 20px; }

/* ---------------- pricing ---------------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
.price-card {
  position: relative; background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  padding: 32px; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.price-card:hover { transform: translateY(-4px); }
.price-card.highlight {
  border: 2px solid var(--accent);
  box-shadow: 0 20px 44px rgba(12,92,171,0.2);
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
}
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--amber); color: #fff; font-size: 11px; font-weight: 700; padding: 5px 16px; border-radius: 20px;
  box-shadow: 0 6px 14px rgba(245,158,11,0.4);
}
.price-tagline { color: var(--muted); font-size: 13px; }
.price-amount { font-family: var(--font-head); font-size: 40px; font-weight: 700; margin: 8px 0 22px; color: var(--navy-dark); }
.price-currency { font-size: 20px; vertical-align: top; margin-right: 2px; }
.price-period { font-size: 14px; color: var(--muted); font-weight: 500; font-family: var(--font-body); }
.price-features { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.price-features li { font-size: 13.5px; padding: 8px 0; border-bottom: 1px solid #f0f2f4; padding-left: 22px; position: relative; }
.price-features li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.price-features li:last-child { border-bottom: none; }
.price-card .btn { width: 100%; text-align: center; }

/* ---------------- testimonial / trust ---------------- */
.trust-strip {
  background: linear-gradient(135deg, var(--navy-dark), #10233f);
  color: #c8d6e5; padding: 44px 0; text-align: center; font-size: 14.5px;
}
.trust-strip b { color: #fff; }

/* ---------------- contact ---------------- */
.contact-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; }
@media (max-width: 850px) { .contact-wrap { grid-template-columns: 1fr; } }
.contact-info h3 { font-size: 21px; }
.contact-info p { color: var(--muted); font-size: 14px; }
.contact-form { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; box-shadow: 0 14px 34px rgba(22,48,90,0.08); }
.form-row { display: flex; gap: 14px; }
.form-row .field { flex: 1; }
.field { margin-bottom: 15px; }
.field label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.4px; color: var(--muted); display: block; margin-bottom: 5px; font-weight: 600; }
.field input, .field textarea {
  width: 100%; padding: 11px 13px; border: 1.5px solid var(--border); border-radius: 9px; font-size: 14px; font-family: inherit;
  transition: border-color .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { min-height: 100px; resize: vertical; }
#contactStatus { font-size: 13px; color: var(--muted); margin-top: 10px; min-height: 18px; }
#quoteStatus { font-size: 13px; color: var(--muted); margin-top: 10px; min-height: 18px; }

.quote-result-card {
  margin-top: 20px; background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
  border: 2px solid var(--accent); border-radius: 16px; padding: 26px;
  box-shadow: 0 14px 34px rgba(12,92,171,0.14);
}
.quote-result-price { font-family: var(--font-head); font-size: 30px; font-weight: 700; color: var(--navy-dark); }

/* ---------------- footer ---------------- */
footer.site-footer { background: var(--navy-dark); color: #93aec6; padding: 44px 0 34px; font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center; }
footer.site-footer a { color: #c8d6e5; }
