/*
Theme Name: JM Support
Theme URI: https://jm-support.com
Author: JM Support
Description: Hardcoded front page for JM Support. Microsoft 365 migrations, tech support, and CCTV help. Leads email a shared mailbox.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: jm-support
*/

:root {
  --ink: #1c1917;
  --muted: rgba(28, 25, 23, 0.64);
  --bg: #f6f1e8;
  --band: #efe4d4;
  --line: rgba(28, 25, 23, 0.1);
  --accent: #9a3412;
  --accent-2: #7c2d12;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.jm-body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Manrope, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
.jm-body a { color: inherit; text-decoration: none; }
.jm-wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.jm-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246, 241, 232, 0.9);
  backdrop-filter: blur(16px);
}
.jm-nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.jm-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: -0.03em; }
.jm-logo { height: 48px; width: 48px; border-radius: 12px; object-fit: cover; display: block; }
.jm-brand span { font-weight: 500; letter-spacing: 0.18em; font-size: 11px; color: var(--muted); }
.jm-links { display: flex; gap: 22px; align-items: center; }
.jm-links a { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.jm-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 42px; padding: 0 18px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; border: 0; cursor: pointer;
  font-family: inherit;
}
.jm-btn:hover { background: var(--accent-2); color: #fff; }
.jm-btn.ghost { background: rgba(255,255,255,0.55); color: var(--ink); border: 1px solid var(--line); }
.jm-hero { padding: 72px 0 56px; }
.jm-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.jm-body h1 { font-size: clamp(36px, 5.2vw, 56px); line-height: 1.04; letter-spacing: -0.045em; font-weight: 800; margin: 0 0 18px; max-width: 16ch; }
.jm-lede { max-width: 56ch; color: var(--muted); font-size: 18px; margin: 0 0 28px; }
.jm-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.jm-need { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.jm-need article, .jm-card, .jm-step, .jm-point {
  background: rgba(255,255,255,0.7); border: 1px solid var(--line); border-radius: 16px; padding: 18px;
}
.jm-card, .jm-step { background: #fff; border-radius: var(--radius); padding: 24px; }
.jm-need h3, .jm-card h3, .jm-step h3 { margin: 0 0 6px; letter-spacing: -0.02em; }
.jm-need p, .jm-card p, .jm-step p, .jm-sub { color: var(--muted); }
.jm-need p, .jm-card p, .jm-step p { margin: 0; font-size: 15px; }
.jm-section { padding: 72px 0; }
.jm-band { background: var(--band); }
.jm-body h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.08; letter-spacing: -0.04em; font-weight: 700; margin: 0 0 12px; max-width: 18ch; }
.jm-sub { max-width: 58ch; margin: 0 0 28px; }
.jm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.jm-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.jm-card ul { margin: 12px 0 0; padding: 0; list-style: none; }
.jm-card li { position: relative; padding-left: 16px; margin: 7px 0; font-size: 15px; }
.jm-card li:before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.jm-num {
  display: inline-flex; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #fff; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; margin-bottom: 12px;
}
.jm-price { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.jm-why { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; }
.jm-points { display: grid; gap: 10px; }
.jm-point strong { display: block; margin-bottom: 2px; }
.jm-point span { color: var(--muted); font-size: 14px; }
.jm-cta {
  background: #292018; color: #f6f1e8; border-radius: 24px; padding: 36px;
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
}
.jm-cta h2 { color: #f6f1e8; }
.jm-cta p { margin: 0; color: rgba(246,241,232,0.72); max-width: 48ch; }
.jm-cta .jm-btn { background: #f6f1e8; color: var(--accent); }
.jm-form { display: grid; gap: 10px; margin-top: 14px; }
.jm-form label { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.jm-form input, .jm-form select, .jm-form textarea {
  width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 12px;
  padding: 12px 14px; font: inherit; color: var(--ink);
}
.jm-form textarea { min-height: 110px; resize: vertical; }
.jm-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.jm-footer { padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.jm-banner { padding: 16px 0; background: #3f6212; color: #fff; font-weight: 700; }
.jm-banner.bad { background: #9a3412; }
.jm-menu { display: none; background: transparent; border: 0; font: inherit; font-weight: 700; color: var(--ink); }
.jm-note { margin: 0; }
.jm-note.ok { color: #3f6212; }
.jm-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
@media (max-width: 800px) {
  .jm-links { display: none; }
  .jm-links.open {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 68px;
    background: rgba(246,241,232,0.97); padding: 16px 20px 20px; gap: 14px; border-bottom: 1px solid var(--line);
  }
  .jm-menu { display: block; }
  .jm-need, .jm-grid, .jm-steps, .jm-why, .jm-form-row { grid-template-columns: 1fr; }
  .jm-cta { flex-direction: column; align-items: flex-start; }
  .jm-hero { padding-top: 40px; }
  .jm-section { padding: 52px 0; }
}
