/* ==========================================================================
   Mike W Consulting LLC — shared stylesheet
   One file, linked from every page. Edit colors/fonts here and it updates
   the whole site at once.
   ========================================================================== */

:root {
  --navy: #1B3A57;
  --navy-deep: #142B41;
  --amber: #F2994A;
  --amber-dark: #D97F2E;
  --off-white: #F8F6F2;
  --slate-bg: #EDF1F5;
  --charcoal: #2E2E2E;
  --muted: #6B7280;
  --live-green: #34B37A;
  --border: rgba(27, 58, 87, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--charcoal);
  background: var(--off-white);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  color: var(--navy);
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

.mono { font-family: 'IBM Plex Mono', monospace; }

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-dark);
  display: inline-block;
  margin-bottom: 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14.5px;
  padding: 12px 22px;
  border-radius: 8px;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
}
.btn-primary { background: var(--amber); color: #fff; }
.btn-primary:hover { background: var(--amber-dark); transform: translateY(-1px); }
.btn-outline { border: 1.5px solid var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-lg { padding: 15px 30px; font-size: 15.5px; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--amber-dark);
  outline-offset: 2px;
}

/* ==========================================================================
   Header / Nav (same on every page)
   ========================================================================== */
header {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), #2C5A82);
  display: flex; align-items: center; justify-content: center;
  color: var(--amber); font-size: 15px; font-weight: 700;
}
.logo-img { 
 width: 30px;
}
nav ul { list-style: none; display: flex; gap: 32px; align-items: center; }
nav a { font-size: 14.5px; font-weight: 500; color: var(--charcoal); }
nav a.active { color: var(--amber-dark); }
nav a:hover { color: var(--amber-dark); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 0 auto;
  background: var(--navy);
  border-radius: 2px;
}

@media (max-width: 860px) {
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--off-white);
    border-bottom: 1px solid var(--border);
    padding: 12px 32px 20px;
  }
  nav ul.open { display: flex; }
  nav a { padding: 10px 0; width: 100%; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
}

/* ==========================================================================
   Footer (same on every page)
   ========================================================================== */
footer { background: var(--navy-deep); color: rgba(255,255,255,0.6); padding: 56px 0 28px; }
.footer-top {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 24px;
}
.footer-brand .logo { color: #fff; margin-bottom: 10px; }
.footer-brand p { font-size: 14px; max-width: 280px; color: rgba(255,255,255,0.45); }
.footer-col h4 {
  font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; text-transform: uppercase;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.4); margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.7); }
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,0.35);
}

/* ==========================================================================
   Home page
   ========================================================================== */
.hero { padding: 88px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero h1 { font-size: 46px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 22px; }
.hero p.lede { font-size: 17.5px; color: var(--muted); max-width: 480px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.systems-panel {
  background: var(--navy-deep);
  border-radius: 16px;
  padding: 28px 26px;
  box-shadow: 0 24px 60px -20px rgba(20, 43, 65, 0.45);
}
.systems-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.systems-panel-title {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.55);
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live-green); position: relative; }
.pulse-dot::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 1.5px solid var(--live-green); animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(1.9); opacity: 0; } }

.system-row { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.system-row:last-child { border-bottom: none; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live-green); flex-shrink: 0; }
.status-dot.amber { background: var(--amber); }
.system-name { font-family: 'IBM Plex Mono', monospace; font-size: 13.5px; font-weight: 600; color: #fff; min-width: 128px; }
.system-desc { font-size: 13px; color: rgba(255,255,255,0.5); flex: 1; }
.system-status { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.06em; color: var(--live-green); text-transform: uppercase; }
.system-status.amber { color: var(--amber); }

.problem { background: #fff; padding: 88px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.problem-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; }
.problem h2 { font-size: 32px; max-width: 380px; }
.problem-list { list-style: none; }
.problem-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 16px; }
.problem-list li:first-child { padding-top: 0; }
.problem-list li span.x { font-family: 'IBM Plex Mono', monospace; color: var(--amber-dark); font-weight: 600; flex-shrink: 0; }

.build { background: var(--slate-bg); padding: 96px 0; }
.build-head { max-width: 560px; margin-bottom: 52px; }
.build-head h2 { font-size: 32px; margin-bottom: 14px; }
.build-head p { color: var(--muted); font-size: 16.5px; }
.build-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.build-card { background: var(--off-white); border: 1px solid var(--border); border-radius: 14px; padding: 30px 28px; }
.build-icon { width: 42px; height: 42px; border-radius: 10px; background: rgba(242, 153, 74, 0.14); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.build-card h3 { font-size: 18px; margin-bottom: 8px; }
.build-card p { font-size: 14.5px; color: var(--muted); }

.proof { background: var(--navy); padding: 96px 0; text-align: center; color: #fff; }
.proof h2 { color: #fff; font-size: 30px; max-width: 640px; margin: 0 auto 20px; }
.proof p { max-width: 620px; margin: 0 auto 40px; color: rgba(255,255,255,0.65); font-size: 16.5px; }
.proof-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.chip { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.18); color: rgba(255,255,255,0.8); display: flex; align-items: center; gap: 8px; }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--live-green); }
.chip .dot.amber { background: var(--amber); }

.closing { padding: 100px 0; text-align: center; }
.closing h2 { font-size: 34px; margin-bottom: 16px; }
.closing p { color: var(--muted); font-size: 17px; margin-bottom: 34px; }

/* ==========================================================================
   Page hero (Services / Our Software / About / Contact)
   ========================================================================== */
.page-hero { padding: 72px 0 56px; text-align: center; }
.page-hero h1 { font-size: 38px; max-width: 720px; margin: 0 auto 18px; }
.page-hero p { color: var(--muted); font-size: 17px; max-width: 620px; margin: 0 auto; }

/* ==========================================================================
   Our Software (portfolio) page
   ========================================================================== */
.products { padding: 20px 0 90px; }
.product-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.product-card {
  background: var(--navy-deep); border-radius: 16px; padding: 32px 34px;
  display: grid; grid-template-columns: 1.4fr 2fr auto; gap: 28px; align-items: center; color: #fff;
}
.product-id { display: flex; flex-direction: column; gap: 8px; }
.product-status {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'IBM Plex Mono', monospace; font-size: 10.5px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--live-green); width: fit-content;
}
.product-status.amber { color: var(--amber); }
.product-name { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 22px; color: #fff; }
.product-tagline { font-size: 13.5px; color: rgba(255,255,255,0.5); font-style: italic; }
.product-desc { font-size: 14.5px; color: rgba(255,255,255,0.75); max-width: 460px; }
.product-link {
  font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--amber);
  border: 1px solid rgba(242,153,74,0.4); padding: 10px 18px; border-radius: 8px; white-space: nowrap;
}
.product-link:hover { background: rgba(242,153,74,0.12); }

/* ==========================================================================
   Services page
   ========================================================================== */
.steps { background: var(--slate-bg); padding: 88px 0; }
.steps h2 { font-size: 30px; margin-bottom: 44px; text-align: center; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card { background: var(--off-white); border: 1px solid var(--border); border-radius: 14px; padding: 26px 22px; }
.step-n { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--amber-dark); font-weight: 600; display: block; margin-bottom: 12px; }
.step-card h3 { font-size: 17px; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--muted); }

.compare { padding: 88px 0; }
.compare h2 { font-size: 30px; margin-bottom: 40px; text-align: center; }
.compare-table { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.compare-head, .compare-row { display: grid; grid-template-columns: 1fr 1fr; }
.compare-head span { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; padding: 16px 24px; }
.compare-head span:first-child { background: var(--slate-bg); color: var(--muted); }
.compare-head span:last-child { background: var(--navy); color: #fff; }
.compare-row { border-top: 1px solid var(--border); }
.compare-row span { padding: 20px 24px; font-size: 14.5px; }
.compare-row .them { color: var(--muted); background: #fff; }
.compare-row .me { color: var(--charcoal); background: var(--off-white); font-weight: 500; }

.fit { background: var(--slate-bg); padding: 88px 0; }
.fit h2 { font-size: 30px; margin-bottom: 32px; text-align: center; }
.fit-list { list-style: none; max-width: 640px; margin: 0 auto; }
.fit-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 16px; }
.fit-list li:last-child { border-bottom: none; }
.check { font-family: 'IBM Plex Mono', monospace; color: var(--live-green); font-weight: 700; flex-shrink: 0; }

/* ==========================================================================
   About page
   ========================================================================== */
.meet { background: #fff; padding: 88px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.meet-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 60px; align-items: start; }
.meet-copy h2 { font-size: 30px; margin-bottom: 10px; }
.meet-sub { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--amber-dark); margin-bottom: 20px; }
.meet-copy > p { color: var(--muted); font-size: 15.5px; margin-bottom: 24px; }
.bio-list { list-style: none; }
.bio-list li { padding: 12px 0; border-top: 1px solid var(--border); font-size: 15px; }
.photo-frame {
  width: min(100%, 280px);
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  background: linear-gradient(160deg, var(--slate-bg), var(--off-white));
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-left: auto;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.reasons { background: var(--slate-bg); padding: 96px 0; }
.reasons h2 { font-size: 30px; margin-bottom: 44px; text-align: center; }
.reasons-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.reason-card { background: var(--off-white); border: 1px solid var(--border); border-radius: 14px; padding: 28px 26px; }
.reason-card h3 { font-size: 17px; margin-bottom: 10px; }
.reason-card p { font-size: 14.5px; color: var(--muted); }

.closing-alt { margin-top: 18px; color: var(--muted); font-size: 14.5px; }
.closing-alt a { color: var(--navy); font-weight: 600; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-body { padding: 20px 0 100px; }
.contact-grid { display: grid; grid-template-columns: 1.3fr 0.8fr; gap: 56px; align-items: start; }

.zoho-embed {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 24px; min-height: 480px;
}
.zoho-embed iframe { width: 100%; height: 100%; min-height: 460px; border: none; }
.zoho-embed-placeholder {
  height: 100%; min-height: 430px; display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--muted); font-size: 14.5px; padding: 20px;
  border: 1.5px dashed var(--border); border-radius: 10px;
}

.contact-direct h2 { font-size: 22px; margin-bottom: 20px; }
.contact-direct ul { list-style: none; }
.contact-direct li { padding: 14px 0; border-top: 1px solid var(--border); font-size: 15px; }
.contact-direct li:first-child { border-top: none; }
.contact-direct .label {
  display: block; font-family: 'IBM Plex Mono', monospace; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--amber-dark); margin-bottom: 4px;
}

/* ==========================================================================
   Shared responsive rules
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse-dot::after { animation: none; }
}

@media (max-width: 860px) {
  .hero-grid, .problem-grid, .meet-grid, .contact-grid { grid-template-columns: 1fr; }
  .build-grid, .reasons-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .compare-head, .compare-row { grid-template-columns: 1fr; }
  .compare-row .them { border-bottom: 1px solid var(--border); }
  .product-card { grid-template-columns: 1fr; text-align: left; }
  .product-link { width: fit-content; }
  .hero h1 { font-size: 34px; }
  .photo-frame { max-width: 260px; }
}

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