:root {
    --navy: #0e1b2c;
    --navy-light: #1b3050;
    --accent: #185FA5;
    --accent-dark: #0C447C;
    --ink: #1a2433;
    --gray: #5b6b7f;
    --line: #e3e9f1;
    --bg: #ffffff;
    --bg-soft: #f5f8fc;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  .container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

  /* Nav */
  nav {
    position: sticky; top: 0; z-index: 100;
    background: var(--navy);
    backdrop-filter: none;
    border-bottom: 1px solid #24344a;
  }
  .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
  .logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.25rem; letter-spacing: .04em; color: #fff; text-decoration: none; }  .nav-links { display: flex; gap: 32px; align-items: center; }
  .nav-links a { color: #a9b8cc; text-decoration: none; font-size: .92rem; font-weight: 500; transition: color .15s; }
  .nav-links a:hover { color: #fff; }
  .btn {
    display: inline-block; padding: 11px 24px; border-radius: 8px;
    background: var(--accent); color: #fff !important; font-weight: 600; font-size: .92rem;
    text-decoration: none; transition: background .15s;
  }
  .btn:hover { background: var(--accent-dark); }
  .btn-outline { background: transparent; color: #fff !important; border: 1.5px solid #33507a; }
  .btn-outline:hover { background: #16273f; border-color: #85B7EB; }

  /* Hero */
  .hero { padding: 110px 0 90px; text-align: center; background: var(--navy); }
  .eyebrow {
    display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .12em;
    text-transform: uppercase; color: #85B7EB; margin-bottom: 20px;
    padding: 6px 14px; border: 1px solid #33507a; border-radius: 100px; background: #16273f;
  }
  .hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.15; font-weight: 800; color: #fff; max-width: 780px; margin: 0 auto 22px; letter-spacing: -.02em; }
  .hero p { font-size: 1.15rem; color: #a9b8cc; max-width: 760px; margin: 0 auto 36px; }
  @media (max-width: 820px) { .hero p br { display: none; } }
  .hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

  /* Sections */
  section { padding: 90px 0; }
  .section-label { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
  .section-title { font-size: clamp(1.7rem, 3.5vw, 2.3rem); font-weight: 750; color: var(--navy); letter-spacing: -.015em; margin-bottom: 14px; }
  .section-sub { color: var(--gray); max-width: 640px; font-size: 1.05rem; }

  #scanner { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
  .scanner-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: center; }
  @media (max-width: 820px) { .scanner-wrap { grid-template-columns: 1fr; } }
  .screenshot-frame { background: #fff; border: 2px solid var(--accent); border-radius: 14px; overflow: hidden; box-shadow: 0 18px 48px rgba(14,27,44,.12); }
  .screenshot-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
  .screenshot-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d5dde8; }
  .screenshot-frame img { display: block; width: 100%; height: auto; }
  #scanner .prose p { color: var(--gray); font-size: 1.02rem; margin-bottom: 14px; }
  /* Services */
  #services { background: #fff; }
  .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 48px; }
  .card {
    border: 1px solid var(--line); border-radius: 14px; padding: 30px 26px;
    background: #fff; transition: box-shadow .2s, transform .2s;
  }
  .card:hover { box-shadow: 0 12px 32px rgba(14,27,44,.08); transform: translateY(-3px); }
  .card .icon {
    width: 44px; height: 44px; border-radius: 10px; background: var(--bg-soft);
    display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  }
  a.card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
  .card .learn { display: inline-block; margin-top: auto; padding-top: 14px; color: var(--accent); font-weight: 600; font-size: .9rem; }
  .dropdown { position: relative; }
  .dropdown-menu { display: none; position: absolute; top: 100%; left: -10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px; min-width: 300px; box-shadow: 0 12px 32px rgba(14,27,44,.12); }
  .dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: block; }
  .dropdown-menu a { display: block; padding: 9px 12px; border-radius: 7px; white-space: nowrap; color: var(--ink); }
  .dropdown-menu a:hover { background: var(--bg-soft); color: var(--navy); }
  .card h3 { font-size: 1.08rem; color: var(--navy); margin-bottom: 10px; font-weight: 700; line-height: 1.3; }
  /* reserve space for the tallest title (3 lines) so all blurbs start at the same height */
  @media (min-width: 640px) { .card h3 { min-height: 3.9em; display: flex; align-items: flex-start; } }
  .card p { font-size: .93rem; color: var(--gray); }

  /* Process */
  #process { background: var(--bg-soft); }
  .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; margin-top: 48px; }
  .step { position: relative; padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
  .step-num {
    font-size: .8rem; font-weight: 700; color: var(--accent); letter-spacing: .1em;
    margin-bottom: 12px;
  }
  .step h3 { font-size: 1.02rem; color: var(--navy); margin-bottom: 8px; font-weight: 700; }
  .step p { font-size: .9rem; color: var(--gray); }

  /* About */
  #about .about-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: center; margin-top: 12px; }
  .about-visual {
    aspect-ratio: 1; border-radius: 18px; background: var(--navy);
    display: flex; align-items: center; justify-content: center;
    border: 1px solid #24344a;
  }
  .about-wordmark { font-weight: 800; font-size: clamp(2.2rem, 6vw, 3.1rem); letter-spacing: .01em; color: #fff; }
  #about p { color: var(--gray); margin-bottom: 16px; font-size: 1.02rem; }
  #about strong { color: var(--ink); }
  @media (max-width: 760px) {
    #about .about-wrap { grid-template-columns: 1fr; }
    .about-visual { max-width: 320px; margin: 0 auto; }
  }

  /* Contact */
  #contact { background: var(--navy); color: #fff; text-align: center; }
  #contact .section-title { color: #fff; }
  #contact .section-sub { color: #a9b8cc; margin: 0 auto 36px; }
  #contact .section-label { color: #85B7EB; }
.contact-alt { margin-top: 22px; font-size: .9rem; color: #a9b8cc; }
  .contact-alt a { color: #85B7EB; text-decoration: none; }
  .contact-alt a:hover { text-decoration: underline; }
