/* Jet Tech. Shared styles for every page. Mobile-first, centered, no JavaScript.
   Contrast ratios (WCAG 2.x) are noted next to each color. */

:root {
  --bg: #0b1224;         /* dark navy page background */
  --surface: #121b36;    /* cards, lighter section bands */
  --surface-2: #18244a;  /* raised cards, hover */
  --line: #27355e;       /* decorative dividers only */

  --text: #eef1f8;       /* 16.5:1 on bg, 15.0:1 on surface */
  --muted: #b4bed4;      /* 10.0:1 on bg, 9.1:1 on surface, 8.1:1 on surface-2 */

  --purple: #7e44e6;       /* button fill: white text 5.45:1; fill vs navy 3.42:1, vs surface 3.12:1 */
  --purple-hover: #874fe9; /* hover fill: white text 4.86:1; fill vs navy 3.84:1, vs surface 3.50:1 */
  --purple-light: #c4b5fd; /* accent words, links, active tab: 10.1:1 on bg, 9.2:1 on surface, 8.2:1 on surface-2 */
  --purple-icon: #a78bfa;  /* icons, button edges, active-tab bar: 6.9:1 on bg, 6.2:1 on surface */

  --radius: 14px;
  --gutter: 16px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --callbar-h: 60px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-align: center;
  overflow-wrap: break-word;
  /* room for the pinned call bar on phones */
  padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom, 0px));
}

h1, h2, h3 { line-height: 1.2; margin: 0; }
h2 { font-size: 1.75rem; letter-spacing: -.015em; margin-bottom: .5rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1rem; }

a { color: var(--purple-light); text-underline-offset: 3px; }
a:hover { color: #ddd6fe; }

:focus-visible {
  outline: 3px solid var(--purple-light);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { max-width: 960px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 640px; }

.icon {
  width: 1.2em; height: 1.2em;
  flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon-accent { color: var(--purple-icon); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%);
  z-index: 100; padding: .6rem 1rem; border-radius: 8px;
  background: var(--purple); color: #fff; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Header and tabs ---------- */
.site-header { border-bottom: 1px solid var(--line); }
.header-inner {
  display: flex; flex-direction: column; align-items: center;
  padding-top: .6rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 44px;
  color: var(--text); text-decoration: none;
  font-weight: 800; font-size: 1.3rem; letter-spacing: -.01em;
}
.brand:hover { color: var(--text); }
.brand-mark { width: 30px; height: 30px; }
.header-call { display: none; }

.tabs { width: 100%; }
.tabs ul {
  list-style: none; margin: .25rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.tabs a {
  display: flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 .35rem;
  color: var(--muted); text-decoration: none;
  font-size: 1rem; font-weight: 600;
  border-bottom: 3px solid transparent;
  border-radius: 8px 8px 0 0;
}
.tabs a:hover { color: var(--text); background: var(--surface); }
.tabs a[aria-current="page"] {
  color: var(--purple-light);           /* 9.2:1 on surface */
  background: var(--surface);
  border-bottom-color: var(--purple-icon);  /* 6.2:1 vs surface, 6.9:1 vs navy */
}
.tabs a:focus-visible { outline-offset: -3px; }

/* ---------- Buttons and call blocks ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 56px; padding: .75rem 1.25rem;
  border-radius: 12px;
  font-size: 1.15rem; font-weight: 700; text-decoration: none;
}
.btn-primary {
  background: var(--purple); color: #fff;
  border: 2px solid var(--purple-icon);
}
.btn-primary:hover { background: var(--purple-hover); color: #fff; }

.cta { max-width: 400px; margin: 0 auto; }
.cta-label {
  margin: 0; color: var(--muted);
  font-size: .95rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.cta-number {
  display: inline-block; margin: .1rem 0 1rem;
  font-size: clamp(2rem, 9vw, 2.5rem); font-weight: 800; letter-spacing: -.01em;
  color: var(--text); text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.cta-number:hover { color: var(--purple-light); }
.cta-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
/* Secondary email button (outlined, full tap height), from the old site */
.email-link {
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 48px; margin-top: .75rem; padding: .5rem 1rem;
  border: 1px solid var(--line); border-radius: 12px;
  font-weight: 600; text-decoration: none;
}
.email-link:hover { border-color: var(--purple-icon); }

/* ---------- Home hero ---------- */
.hero {
  padding: 2.75rem 0 2rem;
  background: radial-gradient(ellipse 90% 70% at 50% 0%, rgba(91, 33, 182, .38), transparent 70%), var(--bg);
}
.eyebrow {
  margin-bottom: .8rem;
  color: var(--purple-light); font-size: .85rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.hero h1 {
  max-width: 15ch; margin: 0 auto 1rem;
  font-size: clamp(1.9rem, 8vw, 3.4rem);
  text-wrap: balance; letter-spacing: -.025em;
}
.lede { max-width: 36ch; margin: 0 auto 2rem; color: var(--muted); font-size: 1.125rem; }

.facts {
  list-style: none; margin: 2.25rem auto 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem;
  max-width: 560px;
}
.facts li {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .4rem .85rem; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(18, 27, 54, .7);
  color: var(--text); font-size: .9rem;
}
.facts .icon { color: var(--purple-icon); width: 1.05em; height: 1.05em; }

/* ---------- Sections and page titles ---------- */
.section { padding: 3.25rem 0; }
.section-alt { background: var(--surface); border-bottom: 1px solid var(--line); }
.page-title {
  margin-bottom: .5rem;
  font-size: clamp(2rem, 7vw, 2.6rem); letter-spacing: -.02em;
}
.intro { max-width: 46ch; margin: 0 auto 2rem; color: var(--muted); }

/* Service groups */
.groups { display: grid; gap: 1.25rem; }
.group {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.25rem .5rem;
}
.group-title {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  margin: 0; padding-bottom: 1rem; border-bottom: 2px solid var(--purple);
  font-size: 1.2rem; letter-spacing: 0;
}
.items { list-style: none; margin: 0; padding: 0; }
.items li { padding: 1rem 0; }
.items li + li { border-top: 1px solid var(--line); }
.items h3 { margin-bottom: .25rem; }
.items p { margin: 0 auto; max-width: 40ch; color: var(--muted); font-size: .98rem; }

.sub-title { margin: 2.5rem 0 1rem; font-size: 1.35rem; }
.bundles { display: grid; gap: 1rem; }
.bundle {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
  border-top: 3px solid var(--purple-icon);
  padding: 1.25rem;
}
.bundle h3, .bundle h4 { font-size: 1.15rem; margin-bottom: .35rem; }
.bundle p { margin: 0; color: var(--muted); }

/* Home: "From parts to a finished setup" and the two ways */
.scope-text { max-width: 52ch; margin: 0 auto .5rem; font-size: 1.075rem; }
.scope-link { margin: 0 0 2.25rem; }
.scope-link a, .card-link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 600;
}
.ways-title { max-width: 30ch; margin: 0 auto 1rem; font-size: 1.2rem; text-wrap: balance; }
.ways .card-link { margin-top: .35rem; }

/* Home: "One person. One job at a time." */
.focus { border-bottom: 1px solid var(--line); }
.focus h2 { text-wrap: balance; }
.focus-text { max-width: 52ch; margin: 0 auto 1rem; color: var(--muted); }
.focus-callout {
  max-width: 40ch; margin: 1.75rem auto 1rem;
  padding: 1.1rem 1.25rem; border-radius: var(--radius);
  background: var(--surface-2); border: 2px solid var(--purple-icon);
  font-size: 1.15rem; text-wrap: balance;
}
.focus-callout strong { display: block; color: var(--purple-light); font-size: 1.3rem; }
.focus-link { margin: 0; }
.focus-link a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* Price expectations */
.prices { margin: 0 0 1.75rem; }
.price {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.price:last-child { border-bottom: 1px solid var(--line); }
.price dt { font-weight: 700; margin-bottom: .2rem; }
.price dd { margin: 0; color: var(--muted); }
.price dd strong { color: var(--purple-light); }
.miles {
  width: 100%; max-width: 360px; margin: .9rem auto .25rem;
  border-collapse: collapse; font-size: .98rem;
}
.miles caption { margin-bottom: .35rem; font-size: .85rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.miles thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.miles td { padding: .5rem .75rem; border-bottom: 1px solid var(--line); text-align: left; color: var(--text); }
.miles td:last-child { text-align: right; color: var(--purple-light); font-weight: 700; white-space: nowrap; }
.price-confirm { margin: 0 auto 1.5rem; max-width: 48ch; font-weight: 700; }
.price-why {
  margin: 0 auto; max-width: 48ch;
  padding: 1rem 1.25rem; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--line);
}

/* How it works */
.steps {
  list-style: none; margin: 1.5rem 0 1.25rem; padding: 0;
  display: grid; gap: 1rem;
}
.steps li {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.25rem 1.1rem;
}
.step-num {
  display: inline-grid; place-items: center;
  width: 2.25rem; height: 2.25rem; margin-bottom: .6rem;
  border-radius: 50%; background: var(--purple); border: 2px solid var(--purple-icon);
  color: #fff; font-weight: 800;
}
.steps h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.steps p { margin: 0; color: var(--muted); }
.note { margin: 0; color: var(--muted); font-weight: 600; }

/* About */
.about-lead { font-size: 1.1rem; }
.skills {
  list-style: none; margin: 0 0 1.25rem; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem;
}
.skills li {
  padding: .35rem .85rem; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line);
  font-size: .95rem;
}

/* Footer (shared "Get in touch") */
.site-footer { padding: 3.25rem 0 2.25rem; }
.site-footer h2 { margin-bottom: 1.25rem; }
.area { margin: 2.25rem 0 .25rem; }
.copyright { margin: 0; color: var(--muted); font-size: .9rem; }

/* Pinned call bar (phones). Both buttons use the AA-checked fill. */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  border-top: 2px solid var(--purple-icon);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--purple-light);   /* shows as the thin divider between the two buttons */
}
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  height: var(--callbar-h);
  background: var(--purple); color: #fff;
  font-size: 1.1rem; font-weight: 800; text-decoration: none;
}
.callbar a:hover { background: var(--purple-hover); }
.callbar a:focus-visible { outline-color: #fff; outline-offset: -5px; }

/* ---------- Tablet and up ---------- */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .callbar { display: none; }

  .header-inner {
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 1rem;
    padding-top: 0; min-height: 68px;
  }
  .brand { justify-self: start; align-self: center; }
  .tabs { width: auto; }
  .tabs ul { margin: 0; height: 100%; display: flex; gap: .25rem; }
  .tabs a { height: 100%; min-height: 68px; padding: 0 1.1rem; font-size: .98rem; }
  .header-call {
    display: flex; align-items: center; justify-self: end;
    min-height: 44px; font-weight: 700; text-decoration: none;
  }

  .hero { padding: 5rem 0 3rem; }
  .hero h1 { max-width: 20ch; }
  .section { padding: 4.5rem 0; }
  h2 { font-size: 2.15rem; }

  .groups, .bundles { grid-template-columns: 1fr 1fr; }
  .bundles { max-width: 760px; margin: 0 auto; }
  .steps { grid-template-columns: repeat(3, 1fr); }
}

/* Tighter gap between the hero and the section right under it */
.hero + .section { padding-top: 2rem; }
@media (min-width: 768px) { .hero + .section { padding-top: 3rem; } }
