/* =========================================================
   Kimbro Tech — Version 1 Stylesheet
   Palette: deep navy / slate / fog white with one steel-blue accent
   Type: system sans for display+body, system mono for technical labels
   ========================================================= */

:root {
  /* Color */
  --navy-950: #0b1622;
  --navy-900: #0f1e2e;
  --navy-800: #142a3f;
  --navy-700: #1c3a54;
  --slate-600: #4a5c6b;
  --slate-400: #7c8fa0;
  --slate-200: #cdd7de;
  --fog-50: #f5f7f9;
  --white: #ffffff;
  --accent-500: #3e7cb1;
  --accent-400: #5b95c7;
  --ok-500: #4caf7d;

  /* Type */
  --font-display: -apple-system, "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", "Consolas", "Liberation Mono", monospace;

  /* Scale */
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.35rem + 0.7vw, 1.9rem);
  --step-3: clamp(1.9rem, 1.6rem + 1.4vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.9rem + 2.4vw, 3.6rem);

  /* Layout */
  --content-max: 1120px;
  --radius: 6px;
  --border: 1px solid rgba(255, 255, 255, 0.08);
  --border-dark: 1px solid rgba(11, 22, 34, 0.12);
}

/* -------------------- Reset -------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--navy-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--navy-950);
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
  color: var(--slate-600);
}

a {
  color: var(--accent-500);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Visible focus states everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent-400);
  outline-offset: 2px;
  border-radius: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-950);
  color: var(--white);
  padding: 0.75em 1.25em;
  z-index: 1000;
  border-radius: 0 0 6px 0;
}

.skip-link:focus {
  left: 0;
}

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-500);
  margin-bottom: 0.75rem;
}

.section {
  padding: clamp(3rem, 5vw, 6rem) 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section--dark {
  background: var(--navy-950);
  color: var(--slate-200);
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.section--dark p {
  color: var(--slate-400);
}

.section--fog {
  background: var(--fog-50);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--step--1);
  padding: 0.85em 1.5em;
  border-radius: var(--radius);
  border: var(--border-dark);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--accent-500);
  border-color: var(--accent-500);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-400);
  border-color: var(--accent-400);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  border-color: var(--slate-200);
  color: var(--navy-950);
}

.btn-ghost:hover {
  border-color: var(--accent-500);
  color: var(--accent-500);
  text-decoration: none;
}

.section--dark .btn-ghost,
.hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.section--dark .btn-ghost:hover,
.hero .btn-ghost:hover {
  border-color: var(--accent-400);
  color: var(--accent-400);
}

/* -------------------- Header -------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 22, 34, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  color: var(--white);
}

.wordmark:hover {
  text-decoration: none;
  color: var(--white);
}

.wordmark-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 0.5em 0.7em;
  color: var(--white);
}

.main-nav ul {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.main-nav a {
  color: var(--slate-200);
  font-size: var(--step--1);
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--white);
}

.main-nav .btn {
  color: var(--white);
}

@media (max-width: 780px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy-950);
    border-bottom: var(--border);
    display: none;
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 1.5rem 1.5rem;
  }

  .main-nav li {
    width: 100%;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
}

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  background: var(--navy-950);
  color: var(--white);
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  color: var(--white);
  font-size: var(--step-4);
  max-width: 14ch;
}

.hero-sub {
  font-size: var(--step-1);
  color: var(--slate-200);
  max-width: 46ch;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero-note {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--slate-400);
}

/* Signature element: quiet status grid, evokes a monitored endpoint dashboard */
.status-grid {
  --dot: 14px;
  --gap: 10px;
  display: grid;
  grid-template-columns: repeat(6, var(--dot));
  grid-auto-rows: var(--dot);
  gap: var(--gap);
  justify-content: center;
  padding: 2rem;
  border: var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.status-grid span {
  width: var(--dot);
  height: var(--dot);
  border-radius: 3px;
  background: var(--ok-500);
  opacity: 0.35;
  animation: pulse 3.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.85; }
}

@media (prefers-reduced-motion: reduce) {
  .status-grid span {
    animation: none;
    opacity: 0.55;
  }
}

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .status-grid {
    justify-self: center;
  }
}

/* -------------------- Who We Serve -------------------- */
.serve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.serve-card {
  background: var(--white);
  border: var(--border-dark);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.serve-card h3 {
  font-size: var(--step-0);
  margin-bottom: 0.4em;
}

.serve-card p {
  margin: 0;
  font-size: var(--step--1);
}

@media (max-width: 820px) {
  .serve-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------- Services -------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  border: var(--border-dark);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--white);
}

.service-card .eyebrow {
  margin-bottom: 0.5rem;
}

.service-card h3 {
  font-size: var(--step-0);
}

.service-card p {
  font-size: var(--step--1);
  margin: 0;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------- Pricing -------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 2rem;
}

.price-card--featured {
  border-color: var(--accent-500);
  box-shadow: 0 0 0 1px var(--accent-500);
  position: relative;
}

.price-card--featured::before {
  content: "Most popular";
  position: absolute;
  top: -0.9rem;
  left: 2rem;
  background: var(--accent-500);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  padding: 0.25em 0.75em;
  border-radius: 999px;
}

.price-card h3 {
  font-size: var(--step-1);
}

.price-card .price-users {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--slate-600);
  margin-bottom: 1rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: var(--step-3);
  color: var(--navy-950);
  margin-bottom: 0.1em;
}

.price-amount span {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--slate-600);
}

.price-onboarding {
  font-size: var(--step--1);
  color: var(--slate-600);
  margin-bottom: 1.5rem;
}

.price-card ul {
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.price-card li {
  display: flex;
  gap: 0.6em;
  align-items: flex-start;
  font-size: var(--step--1);
  color: var(--navy-900);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--fog-50);
}

.price-card li:last-child {
  border-bottom: none;
}

.check {
  color: var(--ok-500);
  flex-shrink: 0;
  font-weight: 700;
}

.price-card .btn {
  align-self: stretch;
  justify-content: center;
}

.pricing-note {
  margin-top: 2rem;
  font-size: var(--step--1);
  color: var(--slate-600);
  border-top: var(--border-dark);
  padding-top: 1.5rem;
}

.pricing-note strong {
  color: var(--navy-950);
}

@media (max-width: 940px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------- Why -------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-item .why-num {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--accent-400);
  display: block;
  margin-bottom: 0.5rem;
}

.why-item h3 {
  color: var(--white);
  font-size: var(--step-0);
}

.why-item p {
  font-size: var(--step--1);
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------- About -------------------- */
.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-facts {
  border: var(--border-dark);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--fog-50);
}

.about-facts dt {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--accent-500);
  margin-top: 1rem;
}

.about-facts dt:first-child {
  margin-top: 0;
}

.about-facts dd {
  margin: 0.15rem 0 0;
  color: var(--navy-900);
}

@media (max-width: 820px) {
  .about-wrap {
    grid-template-columns: 1fr;
  }
}

/* -------------------- Contact -------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.contact-card h3 {
  color: var(--white);
  font-size: var(--step-0);
  margin-bottom: 0.35em;
}

.contact-card a {
  font-family: var(--font-mono);
  font-size: var(--step-0);
}

@media (max-width: 620px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------- Footer -------------------- */
.site-footer {
  background: var(--navy-950);
  color: var(--slate-400);
  padding: 2.5rem 0;
  border-top: var(--border);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--slate-400);
  font-size: var(--step--1);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-legal {
  font-size: var(--step--1);
  color: var(--slate-400);
}

/* -------------------- Simple legal pages -------------------- */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) 1.5rem 5rem;
}

.legal-page h1 {
  font-size: var(--step-3);
}

.legal-page h2 {
  font-size: var(--step-1);
  margin-top: 2rem;
}

.legal-page p,
.legal-page li {
  color: var(--slate-600);
}

.legal-page ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1em;
}

.legal-updated {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--slate-400);
  margin-bottom: 2rem;
}

.back-home {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: var(--step--1);
}
