/* Alpha Peak Technologies website styles (alphapeaktech.com).
   One stylesheet for every page. Colors: dark charcoal text (#1f2933);
   blue (#1d4e89) links and buttons, with white text on the buttons (8.4:1 contrast);
   gray (#4b5563) for small print. Brand navy (#0F2340) is used only for the
   skip link and the browser theme color. */

/* Basic page setup and body text (Inter font) */
*{box-sizing:border-box}
body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#1f2933;line-height:1.6;background:#fff}
img{max-width:100%}
a{color:#1d4e89;overflow-wrap:anywhere}
/* Keep phone numbers on one line, so 775-899-4619 never splits on small screens */
a[href^="tel:"]{white-space:nowrap}

/* "Skip to content" link: hidden until a keyboard user tabs to it */
.skip{position:absolute;left:-10000px;top:8px;background:#0F2340;color:#fff;padding:.6rem 1rem;border-radius:6px;z-index:10}
.skip:focus{left:8px}

/* Clear focus ring for keyboard users on every link */
a:focus-visible{outline:3px solid #1d4e89;outline-offset:2px}

/* Top menu, page body and footer share the same centered width */
header{border-bottom:1px solid #e4e7eb}
nav,main,footer>div{max-width:960px;margin:0 auto;padding:1rem 1.25rem}
nav{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap}
nav a{color:#1f2933;text-decoration:none;margin-left:1.2rem}
.brand{display:inline-flex;align-items:center;gap:.5rem;text-decoration:none;color:#1f2933;margin:0}
.brand-logo{min-width:160px;width:240px;height:auto;display:block}

/* Headings use the brand font (Montserrat) */
h1,h2,h3{font-family:"Montserrat",Inter,system-ui,sans-serif}
h1{font-size:2.3rem;line-height:1.2;margin:.5rem 0 .5rem}
h2{margin-top:2.2rem}
section{scroll-margin-top:1rem}

/* Hero: mission line, headline and intro */
.hero-block{margin-top:1rem}
.mission{margin:1.5rem 0 0;color:#1d4e89;font-weight:600;letter-spacing:.02em}
.lead{font-size:1.15rem;max-width:40em}

/* Buttons: blue (#1d4e89) with white text, 8.4:1 contrast */
.btn{display:inline-block;background:#1d4e89;color:#fff;padding:.6rem 1.1rem;border-radius:6px;text-decoration:none;margin:.3rem .5rem .3rem 0;width:fit-content}

/* "What we do" card and its numbered list */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}
.card{border:1px solid #e4e7eb;border-radius:8px;padding:1.2rem}
.how{margin:1rem 0 0;padding-left:1.2rem}

/* Product cards (AskPoint today; more later) */
.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.25rem;margin-top:1.25rem;justify-content:center}
.product-grid:has(.product-card:only-child){max-width:360px}
.product-card{border:1px solid #e4e7eb;border-radius:10px;padding:1.25rem;display:flex;flex-direction:column;gap:.6rem;background:#fff}
.product-logo{width:64px;height:64px;object-fit:contain;border-radius:8px}
.product-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}
.product-meta h3{margin:0}
.status{font-size:.75rem;font-weight:700;background:#e8f5f3;color:#0f6e64;padding:.2rem .55rem;border-radius:99px}
.note,.href-note{font-size:.85rem;color:#4b5563;margin:0}
/* Draft-only status line on the privacy page; the launch script removes it */
.draft-note{font-size:.85rem;color:#4b5563}

/* Quiet consulting note below the products */
.consult{margin:2.5rem 0 0;padding:1rem 1.1rem;border-left:3px solid #e4e7eb;background:#f8f9fa;border-radius:4px;max-width:40em;font-size:.95rem;color:#3e4c59}
.consult h3{font-size:1rem;margin:0 0 .35rem}
.consult p{margin:.35rem 0}
.consult-link{color:#1d4e89;font-weight:600}

/* Contact list (email and phone) */
.contact-list{list-style:none;padding:0}
.contact-list li{margin:.5rem 0}

/* Simple text pages (privacy, page not found) */
.page{max-width:44em}
.page h2{font-size:1.25rem}

/* Footer */
footer{border-top:1px solid #e4e7eb;margin-top:3rem;font-size:.85rem;color:#4b5563}
footer a{color:#4b5563}

/* Phone layout: stack the menu and make buttons full width */
@media (max-width:600px){
  nav{flex-direction:column;align-items:flex-start}
  nav div{display:flex;flex-wrap:wrap;gap:.25rem 1rem;margin-top:.5rem}
  nav div a{margin-left:0;padding:.35rem 0}
  h1{font-size:1.75rem;margin-top:.5rem}
  .cards{grid-template-columns:1fr}
  .btn{display:block;text-align:center;margin:.5rem 0;width:auto}
  .brand-logo{height:32px;width:auto}
  .product-grid:has(.product-card:only-child){max-width:none}
}
