/* fieldtestedsystems.com - one stylesheet for every page.
   Measured from the live WordPress/Elementor site (2026-12-04); not copied from Elementor.
   Widths: desktop > 1024px, tablet 768-1024px, phone < 768px (Elementor's breakpoints). */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/poppins-400.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/poppins-700.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/roboto-400.woff2') format('woff2'); }
/* Upright bold from Google Fonts (Roboto, Latin, 2026-12-04); the WordPress "Roboto-700" file was actually bold italic. */
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/roboto-bold.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/roboto-italic-400.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-style: italic; font-weight: 700; font-display: swap; src: url('/fonts/roboto-italic-700.woff2') format('woff2'); }

/* ---------- Colors and basics ---------- */
:root {
  --blue: #006dff;          /* headings, links, phone menu panel */
  --orange: #c77000;        /* current menu item, menu hover */
  --text: #202020;          /* page text */
  --band-top: #3270b2;      /* background behind the header, top of the page gradient */
  --band-bottom: #3294cd;   /* bottom of the gradient, background behind the footer */
  --link-hover: #0050bd;    /* links darken on hover */
  --box: 1140px;            /* width of the black header/footer boxes and the white page box */
}

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

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

body {
  margin: 0;
  background-color: var(--band-bottom);
  color: #000;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

img, video { max-width: 100%; height: auto; }
img { border: 0; vertical-align: middle; }

h1, h2, h3, h4 {
  color: var(--blue);
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 400;
  margin: 0;
}
h1 { font-size: 30px; line-height: 34px; }
h2 { font-size: 25px; line-height: 32px; }
h3, h4 { font-size: 20px; line-height: 30px; }

p { margin: 0 0 14.4px; }

a { color: var(--blue); text-decoration: underline; }
a:hover, a:active { color: var(--link-hover); }

blockquote { background-color: aliceblue; padding: 20px; margin: 16px 40px; }

li { margin: 10px 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: #fff; color: var(--blue); padding: 8px 12px;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Header (stays at the top while scrolling, as on the live site) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--band-top);
  padding: 5px 5px;
}
.header-box {
  max-width: var(--box);
  margin: 0 auto;
  background-color: #000;
}
.site-logo { display: block; text-align: center; padding: 10px 10px; line-height: 0; }
.site-logo img { width: 444px; }

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 5px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.main-nav li { margin: 0 15px; }
.main-nav a {
  display: block;
  padding: 5px 0;
  color: #fff;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  text-transform: capitalize;
  font-weight: 400;
}
.main-nav a:visited { color: #fff; }
.main-nav a:hover, .main-nav a:focus-visible, .main-nav a[aria-current="page"] { color: var(--orange); font-weight: 400; }

.menu-toggle { display: none; }

/* ---------- Page box ---------- */
.site-main {
  background-image: linear-gradient(180deg, var(--band-top) 0%, var(--band-bottom) 100%);
  padding: 10px 10px;
}
.page-box {
  max-width: var(--box);
  margin: 0 auto;
  background-color: #fff;
  padding: 20px;
  color: var(--text);
}
.page-title { margin-bottom: 20px; }

/* ---------- Footer ---------- */
.site-footer { background-color: var(--band-bottom); padding: 10px 10px; }
.footer-box {
  max-width: var(--box);
  margin: 0 auto;
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 10px 10px;
}
.footer-box p { margin: 0; }
.footer-sep { padding: 0 .6em; }   /* wider gap around the | before Privacy Policy (Tom, 2026-12-04) */
.footer-box a { color: #fff; text-decoration: underline; }
.footer-box a:hover, .footer-box a:focus-visible { color: var(--orange); }

/* ---------- Layout helpers used in page content ---------- */
.content-row { display: flex; padding: 40px 50px 60px; }
.content-row > .main-col { width: 72.9%; padding: 10px; }
.content-row > .side-col { width: 27.1%; padding: 10px; }

.block { padding: 10px; margin-bottom: 20px; }        /* a titled section inside a column */
.block > h2, .block > .media, .block > p:last-child { margin-bottom: 20px; }
.main-col > h2 { margin-bottom: 20px; }
.main-col > p:last-of-type { margin-bottom: 20px; }

.split { display: flex; align-items: center; padding: 10px; margin-bottom: 20px; }
.split > div { padding: 10px; }
.split.buy-row { justify-content: space-evenly; }
.split p:last-child, .split ul:last-child { margin-bottom: 0; }

.media { text-align: center; line-height: 0; }
.media.w85 { width: 85%; margin-left: auto; margin-right: auto; padding: 10px; }
.media.w78 { width: 78%; margin-left: auto; margin-right: auto; padding: 10px; }
.media img { width: 100%; }
.border img, img.border { border: 1px solid #000; }
.shadow img { box-shadow: 10px 12px 10px 0 rgba(0, 0, 0, .5); }

img.alignleft { float: left; margin: 0 16px 8px 0; }
.clear::after { content: ""; display: table; clear: both; }

/* ---------- Text pages (about, privacy, terms, ...) ---------- */
.text-block { padding: 10px; }                         /* one Elementor text container: 10px all round */
.text-block > p:last-child { margin-bottom: 14.4px; }
.text-block h1, .text-block h2 { margin: 8px 0 16px; }
.text-block ul { margin: 0; padding-left: 40px; }
.text-block li { margin: 10px 0 0; }
.media-block { padding: 10px; text-align: center; line-height: 0; }
.media-block img { max-width: 100%; }

/* ---------- Image pages (products, poster, whos-using, magnetometer, speclab) ----------
   .con = one Elementor container (10px padding all round, they nest); .ew = one widget in it
   (20px between widgets); .row = a container with columns side by side, .col = a column. */
.con { padding: 10px; }
.ew { display: flow-root; }
.con > * + *, .col > * + * { margin-top: 20px; }        /* Elementor's 20px gap between a container's children */
.ew .alignleft { margin-bottom: 0; }
.ew-img { text-align: center; line-height: 0; margin-left: auto; margin-right: auto; }
.ew-img img { display: inline-block; max-width: 100%; height: auto; }
.ew-img a { display: inline-block; }
.ew-img.border { border: 1px solid #000; }
.ew-img.border img { width: 100%; border: 0; }
.con > .ew-caption { margin-top: 1px; text-align: center; }   /* live: 20px gap minus a 19px negative margin */
.indent { padding-left: 40px; }
.ew > h3:not(:last-child) { margin: 0 0 14.4px; }   /* a heading inside a text widget, before its paragraphs */
.steps { margin: 0 0 14.4px; padding-left: 40px; }   /* numbered list of videos */
.steps li { margin: 0 0 14.4px; }
.ew-video { width: 64%; margin-left: auto; margin-right: auto; border: 1px solid #000; }   /* inline video widget */
.ew-video .video-wrap { margin: 0; }
.row > .col.top { justify-content: flex-start; }
.plain-list { list-style: none; margin: 0 0 14.4px; padding: 0; }   /* customer lists: a real list that looks like the old typed bullets */
.plain-list li { margin: 0; }
.plain-list li::before { content: "\2022\00a0"; content: "\2022\00a0" / ""; }   /* bullet hidden from screen readers where supported */
.row { display: flex; padding: 10px; }
.row > .col { display: flex; flex-direction: column; justify-content: center; padding: 10px; min-width: 0; }
.row > .col > .ew { width: 100%; }

/* ---------- Video: inline player with poster and play button, and popup player ---------- */
.video-wrap { position: relative; background: #000; line-height: 0; margin: 20px 0; }
.video-wrap video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; }
.video-play {
  position: absolute; inset: 0; margin: auto;
  width: 96px; height: 96px; padding: 0; border: 0; background: none; cursor: pointer;
  color: #fff; opacity: .9;
}
.video-play svg { width: 100%; height: 100%; fill: currentColor; filter: drop-shadow(1px 0 6px rgba(0, 0, 0, .3)); }
.video-play:hover { opacity: 1; }
.video-wrap.playing .video-play { display: none; }

.video-popup {
  position: fixed; inset: 0; z-index: 3000;
  background-color: rgba(0, 0, 0, .8);
  display: flex; align-items: center; justify-content: center;
}
.video-popup[hidden] { display: none; }
.video-popup video { width: 70%; max-height: 80vh; background: #000; }
.video-popup-close {
  position: absolute; top: 20px; right: 30px;
  background: none; border: 0; color: #fff; font-size: 40px; line-height: 1; cursor: pointer;
}

/* ---------- Testimonials (home page sidebar) ---------- */
.testimonials-title { margin: 8px 0 16px; }
.testimonial { position: relative; margin: 0 0 25px; }
.testimonial:last-child { margin-bottom: 0; }
.testimonial .quote { position: absolute; left: -5px; top: -2px; z-index: 10; }
.testimonial-text {
  display: block;
  background: #f3f0ee;
  border-bottom: 1px solid #fff;
  padding: 13px 24px 15px;
  color: var(--text);
}
.testimonial-details {
  display: block;
  position: relative;
  min-height: 80px;
  padding: 10px 104px 10px 10px;
  background: #dbe3ea;
  color: #487693;
  font-family: 'Franklin Gothic Medium', 'Franklin Gothic', 'ITC Franklin Gothic', Arial, sans-serif;
  font-size: 14px;
  font-style: italic;
  line-height: 21px;
  text-align: right;
}
.testimonial-details span { display: block; margin-top: 11px; }
.testimonial-image { position: absolute; top: 10px; right: 10px; border: 1px solid #adcade; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .site-header { padding: 0 5%; }
  .main-nav a { font-size: 14px; }
  .content-row { padding: 40px 46px 60px; }
}

/* ---------- Phone ---------- */
@media (max-width: 767px) {
  .site-header { padding: 0; }
  .site-logo { padding: 0 5px; }
  .site-logo img { width: 100%; }

  .menu-toggle {
    display: block;
    margin: 0 auto;
    width: 40px; height: 40px;
    padding: 10px;
    border: 0;
    background: #000;
    color: #fff;
    cursor: pointer;
  }
  .menu-toggle svg { display: block; fill: currentColor; }
  .menu-toggle .icon-close { display: none; }
  .menu-toggle[aria-expanded="true"] .icon-open { display: none; }
  .menu-toggle[aria-expanded="true"] .icon-close { display: block; }

  .main-nav { position: relative; }
  .main-nav ul {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    padding: 0;
    background-color: var(--blue);
  }
  .main-nav ul.open { display: flex; }
  .main-nav li { margin: 0; }
  .main-nav a { padding: 14px 15px; font-size: 16px; }
  .main-nav a:hover, .main-nav a:focus-visible { background-color: #f9fafd; color: var(--blue); }
  /* Current page: white, bold, underlined (orange on this blue was unreadable; PLAN.md section 5) */
  .main-nav a[aria-current="page"], .main-nav a[aria-current="page"]:hover {
    color: #fff; background: none; font-weight: 700; text-decoration: underline;
  }

  .content-row { display: block; padding: 40px 40px 40px; }
  .content-row > .main-col, .content-row > .side-col { width: auto; }
  .split { display: block; }
  .split > div { width: auto !important; }
  .media.w85, .media.w78 { width: auto; }
  .row { flex-wrap: wrap; }
  .row > .col { flex: 0 0 100% !important; }
}

/* ---------- Forms (contact now; key and getrex reuse these) ----------
   Measured on the live Elementor form: label 16px bold, field 40px high (textarea 4 rows), 37px under each field,
   orange full-width button 40px high. Scripted by site.js (form[data-form]); posts to /api/form. */
.form-field { margin: 0 0 37px; }
.form-field label { display: block; font-weight: 700; line-height: 16px; }
.form-field input, .form-field textarea {
  display: block; width: 100%;
  font: 15px/21px Roboto, sans-serif; color: var(--text);
  background: #fff; border: 1px solid #69727d; border-radius: 3px; padding: 8px 16px;
}
.form-field input { height: 40px; }
.form-field textarea { padding: 5px 14px; resize: vertical; }
.form-field input:focus-visible, .form-field textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.form-field [aria-invalid="true"] { border-color: #b00020; }
.form-field-error { margin: 4px 0 0; font-size: 14px; line-height: 20px; color: #b00020; }
.form-turnstile { margin-top: 1px; }                 /* live: a 1px hidden row sits between the last field and the button */
.form-error { color: #b00020; }
.form-error:not(:empty) { margin: 0 0 16px; }
.form-button {
  display: block; width: 100%; height: 40px; padding: 0 24px;
  font: 500 15px/15px Roboto, sans-serif; color: #fff; background: #a35c00;   /* darker than the live orange: 5:1 contrast with white */
  border: 0; border-radius: 3px; cursor: pointer;
}
.form-button:hover, .form-button:focus-visible { background: #7f4700; }
.form-button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.form-button:disabled { opacity: .7; cursor: default; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }   /* spam trap, hidden from people */
/* Success message as a popup (key form): dark overlay, the same green box centered, X at the top right. */
.form-success[data-popup] {
  position: fixed; inset: 0; z-index: 3000; padding: 20px; border: 0; border-radius: 0; background: rgba(0, 0, 0, .6);
  display: flex; align-items: center; justify-content: center;
}
.form-success[data-popup][hidden] { display: none; }
.form-success[data-popup] .form-popup-box {
  position: relative; box-sizing: border-box; width: 100%; max-width: 560px; padding: 30px 50px 30px 30px;
  background: #eaf6ec; border: 2px solid #2e7d32; border-radius: 3px;
}
.form-popup-close {
  position: absolute; top: 8px; right: 12px; background: none; border: 0; padding: 0 4px;
  color: #14532d; font-size: 32px; line-height: 1; cursor: pointer;
}
.form-success { padding: 20px; background: #eaf6ec; border: 2px solid #2e7d32; border-radius: 3px; color: #14532d; }
.form-success:focus { outline: none; }
.form-success p { margin: 0; }
.form-success .form-success-title { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font: 700 22px/28px Poppins, sans-serif; }
.form-success svg { flex: none; fill: #2e7d32; }

/* getrex form extras (live: red asterisk after required labels, a normal-weight hint inside a label, inline radio buttons).
   Radio group measured on live: 24px flex row, 13px radios, 10px right padding per option, 16px label text. */
.form-compact .form-field { margin-bottom: 31px; }   /* the live getrex form has 31px between fields (contact has 37px) */
.form-compact .form-turnstile { margin-top: 0; padding-top: 1px; }   /* padding, so the 1px row doesn't collapse into the 31px margin */
.form-req { margin-left: 6px; color: #b00020; }
.form-hint { font-weight: 400; }
fieldset.form-field { border: 0; padding: 0; margin-inline: 0; min-width: 0; }
fieldset.form-field legend { display: block; width: 100%; padding: 0; font-weight: 700; line-height: 16px; }
.form-options { display: flex; flex-wrap: wrap; line-height: 24px; }
.form-option { padding-right: 10px; }
.form-field .form-option input { display: inline-block; width: auto; height: auto; margin: 0; padding: 0; border: 0; }
.form-field .form-option label { display: inline; font-weight: 400; line-height: 16px; }
fieldset.form-field:has(input:focus-visible) .form-options { outline: 2px solid var(--blue); outline-offset: 2px; }
