/* FieldIQ website (fieldiq.co.uk): shares its design with supporttech.uk, keep the two in step.
   Concept: the engineer's world. Schematic paper, a real fault panel, wire-colour ferrules.
   Boldness lives in the hero panel; everything else stays quiet. */

:root {
  /* Colour */
  --paper: #EDF1F3;       /* schematic paper, cool grey */
  --paper-2: #E2E8EB;     /* alternate band */
  --card: #FFFFFF;
  --ink: #14212B;         /* text, logos */
  --ink-2: #4A5A66;       /* secondary text */
  --line: #C3CED5;        /* rules, schematic lines */
  --signal: #E04A1B;      /* brand accent: probe tip, LEDs, highlights */
  --signal-strong: #B8370F; /* accent for buttons / text on light (AA with white) */
  --on-signal: #FFFFFF;
  --night: #14212B;       /* dark bands */
  --night-2: #1C2C38;
  --on-night: #E8EEF1;
  --on-night-2: #A6B6C1;
  --panel: #2A3237;       /* enclosure */
  --panel-edge: #3A444A;
  --lcd: #F2B33D;         /* amber backlit LCD */
  --lcd-ink: #2B1A02;
  --ok: #1A7A4C;
  --focus: #1E6FD9;
  /* Wire colours (UK) for ferrules */
  --wire-red: #C62828;
  --wire-blue: #1E5AA8;
  --wire-grey: #5E6A73;
  --wire-green: #26773A;
  --wire-brown: #7A4A22;
  --wire-orange: #A3410F;
  --wire-yellow: #7A5A00;
  --wire-magenta: #8E2B57;
  --wire-black: #0B1218;

  /* Type */
  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-lcd: "DotGothic16", "Courier New", monospace;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
  --step-4: clamp(2.9rem, 1.6rem + 5.6vw, 5.75rem);

  /* Space and shape */
  --s1: 0.5rem; --s2: 0.75rem; --s3: 1rem; --s4: 1.5rem; --s5: 2rem; --s6: 3rem; --s7: 5rem;
  --r-sm: 6px; --r-md: 10px; --r-lg: 18px;
  --maxw: 1180px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0F171D; --paper-2: #15212A; --card: #19262F;
    --ink: #E6ECEF; --ink-2: #9EAFBA; --line: #2B3B46;
    --signal: #FF6A3D; --signal-strong: #C7401A; --on-signal: #FFFFFF;
    --night: #0A1116; --night-2: #13202A; --on-night: #E6ECEF; --on-night-2: #9EAFBA;
    --panel: #2F383E; --panel-edge: #434E55;
    --focus: #6AA8FF;
    color-scheme: dark;
  }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.05; margin: 0; text-wrap: balance; }
h2 { font-size: var(--step-3); font-weight: 800; font-stretch: 75%; font-variation-settings: "wdth" 75; letter-spacing: -0.01em; }
h3 { font-size: var(--step-1); font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

.logo-dark { display: none; }
@media (prefers-color-scheme: dark) { .logo-light { display: none; } .logo-dark { display: block; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 1.4rem;
  font: 700 var(--step-0)/1 var(--f-body);
  text-decoration: none; border-radius: var(--r-sm); border: 2px solid transparent;
  cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--signal-strong); color: var(--on-signal); }
.btn-primary:hover { background: var(--signal); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-sm { min-height: 40px; padding: 0 1rem; font-size: var(--step--1); }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: var(--s4); min-height: 68px; }
.brand img { height: 30px; width: auto; }
.brand-sts { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand-sts img { height: 22px; }
.brand-name { font: 700 16px/1.1 var(--f-display); font-variation-settings: "wdth" 75; letter-spacing: -0.005em; }
@media (max-width: 380px) { .brand-name { font-size: 14px; } }
.nav { display: flex; gap: var(--s4); margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: var(--step--1); color: var(--ink-2); }
.nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { .nav { display: none; } .header-row .btn { margin-left: auto; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: var(--s6) 160px; border-bottom: 1px solid var(--line); }
.hero::before { /* schematic grid paper */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px; opacity: .45;
  mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
}
.schematic { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 140px; color: var(--ink-2); opacity: .35; pointer-events: none; }
.schematic-labels { font-family: var(--f-body); }
.hero-grid {
  position: relative; display: grid; gap: var(--s6);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start;
}
.kicker { font-weight: 600; color: var(--ink-2); margin-bottom: var(--s3); }
.hero h1 {
  font-size: var(--step-4); font-weight: 800; letter-spacing: -0.02em; line-height: .92;
  font-stretch: 62%; font-variation-settings: "wdth" 62;
  max-width: 11ch;
}
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); margin-top: var(--s4); max-width: 34ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); }
.fine { font-size: var(--step--1); color: var(--ink-2); margin-top: var(--s3); }

/* The rig: panel + lead + FieldIQ card */
.rig { margin: 0; position: relative; display: grid; grid-template-columns: 1fr; justify-items: start; }
/* Example-picker tabs */
.rig-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 12px; }
.rig-tab { min-height: 44px; min-width: 44px; padding: 0 4px; background: none; border: 0; cursor: pointer; display: grid; place-items: center; border-radius: 6px; }
.rig-tab[aria-pressed="true"] { box-shadow: inset 0 -3px 0 var(--ink); border-radius: 0; }
.rig-device { margin-left: 6px; font-weight: 600; font-size: var(--step--1); color: var(--ink-2); }

/* Stage holding one device at a time */
.stage { position: relative; width: min(100%, 420px); height: 340px; display: flex; align-items: flex-end; }
.device { width: 100%; animation: devIn .35s ease-out both; }
.device[hidden] { display: none; }
@keyframes devIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.device .cursor { display: inline-block; width: .55em; height: .95em; background: currentColor; vertical-align: -0.1em; animation: blink 1s steps(1) infinite; }
.pl { display: inline-block; width: 18px; height: 10px; border-radius: 3px; background: #4A4F54; box-shadow: inset 0 1px 2px rgba(0,0,0,.6); flex: none; }
.pl.amber { background: #FFB020; box-shadow: 0 0 8px #FFB020; }
.pl.green { background: #3BD27A; box-shadow: 0 0 8px #3BD27A; }

/* 1. Fire panel */
.dev-fire { background: linear-gradient(180deg, #D9DDE0, #C4C9CD); border-radius: 10px; padding: 14px; box-shadow: 0 24px 48px -22px rgba(10,20,28,.55); }
.fp-fascia { background: #26292C; border-radius: 12px; padding: 14px; }
.fp-lcd { background: #9FD9F2; background-image: linear-gradient(180deg, rgba(255,255,255,.25), rgba(0,0,0,.05)); color: #123049; border-radius: 4px; padding: 8px 10px; font: 13px/1.5 var(--f-lcd); box-shadow: inset 0 0 0 3px #0E1A22; }
.fp-l { display: flex; gap: 8px; white-space: pre; }
.fp-l > :nth-child(2) { margin-left: auto; }
.fp-l .fp-c { margin-left: 10px; }
.fp-l .fp-more { margin-left: auto; opacity: .75; }
.fp-h { opacity: .75; }
.fp-sel { background: #1F4F8F; color: #EAF6FF; margin: 0 -4px; padding: 0 4px; }
.fp-ctrl { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; }
.fp-leds, .fp-btns { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font: 700 10.5px/1 var(--f-body); letter-spacing: .04em; color: #B9C0C5; }
.fp-leds li { display: flex; align-items: center; gap: 8px; background: #1C1F22; border-radius: 10px; padding: 4px 10px 4px 6px; }
.fp-leds .fire { color: #D23A31; }
.fp-btns li { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.fp-btns i { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #8C949A; }

/* 2. Intruder keypad */
.dev-keypad { width: min(100%, 250px); background: linear-gradient(180deg, #F3F4F1, #E3E5E1); border-radius: 14px; padding: 16px 18px 14px; box-shadow: 0 24px 48px -22px rgba(10,20,28,.5), inset 0 -2px 0 rgba(0,0,0,.06); display: grid; gap: 14px; justify-items: center; }
.kp-lcd { width: 100%; box-sizing: border-box; background: #A9C88E; background-image: linear-gradient(180deg, rgba(255,255,255,.18), rgba(0,0,0,.06)); color: #1D2A12; border-radius: 3px; padding: 8px 10px; font: 17px/1.3 var(--f-lcd); white-space: pre; box-shadow: inset 0 0 0 4px #D4D6D2, inset 0 0 0 5px #B5B8B3; }
.kp-lcd div { min-height: 1.3em; }
.kp-keys { display: grid; grid-template-columns: repeat(4, 38px); gap: 8px 12px; }
.kp-keys span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 40% 35%, #E8F2F4, #BCD5DC); box-shadow: 0 2px 0 #9FB3B9; color: #23303A; font: 700 15px/1 var(--f-body); }
.kp-keys .kp-s { font-size: 11px; }
.kp-led { width: 12px; height: 6px; border-radius: 2px; background: #3BD27A; box-shadow: 0 0 8px #3BD27A; }

/* 3. CCTV monitor */
.dev-cctv { display: grid; justify-items: center; }
.tv-bezel { width: 100%; box-sizing: border-box; background: #1A1F23; border-radius: 10px; padding: 10px; box-shadow: 0 24px 48px -22px rgba(10,20,28,.6); }
.tv-screen { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 3px; overflow: hidden; background: #0B1014; background-image: repeating-linear-gradient(180deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px), radial-gradient(ellipse at center, #1A2630, #070A0D 75%); color: #E8EEF1; font-family: var(--f-lcd); }
.tv-osd { position: absolute; top: 8px; font-size: 12px; white-space: pre; color: #DDE6EA; }
.tv-tl { left: 10px; } .tv-tr { right: 10px; }
.tv-msg { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 4px; font-size: 14px; color: #C9D2D7; }
.tv-msg svg { color: #FF6A3D; margin-bottom: 4px; }
.tv-big { font-size: 20px; color: #FFFFFF; letter-spacing: .06em; }
.tv-stand { width: 90px; height: 26px; background: linear-gradient(180deg, #2A3035, #1A1F23); clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); }

/* 4. Smoke vent control point */
.dev-aov { width: min(100%, 300px); }
.aov-box { background: linear-gradient(160deg, #F58A2E, #E2681A); border-radius: 8px; padding: 14px; box-shadow: 0 24px 48px -22px rgba(10,20,28,.5), inset 0 2px 0 rgba(255,255,255,.25); }
.aov-label { background: rgba(255,255,255,.18); border-radius: 3px; text-align: center; font: 800 30px/1.5 var(--f-display); font-variation-settings: "wdth" 75; color: #111; }
.aov-body { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.aov-key { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #E2681A; box-shadow: inset 0 0 0 2px rgba(0,0,0,.15); position: relative; }
.aov-key::after { content: ""; position: absolute; left: 11px; top: 8px; width: 4px; height: 10px; border-radius: 2px; background: #3A1A06; }
.aov-window { flex: 1; background: #F4F4F2; border-radius: 3px; padding: 16px 14px; display: grid; gap: 12px; box-shadow: inset 0 0 0 3px #D7D7D3; }
.aov-led { display: flex; align-items: center; gap: 7px; font: 700 12px/1 var(--f-body); letter-spacing: .05em; color: #4A4F54; }
.aov-led i { width: 11px; height: 11px; border-radius: 2px; background: #C9CCC8; border: 1px solid #A9ACA8; }
.aov-active { justify-self: end; }
.aov-led i.flt { background: #FFB020; border-color: #E09000; box-shadow: 0 0 8px #FFB020; }
.aov-btnrow { display: flex; align-items: center; justify-content: center; gap: 10px; color: #23303A; font-size: 22px; }
.aov-btn { width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #F0566A, #B31B2E); box-shadow: 0 2px 0 #7E1220; }

.lead { width: 60px; height: 70px; margin-left: 40px; color: var(--signal); }
.diag {
  position: relative; justify-self: end; width: min(100%, 380px); margin-top: -16px; min-height: 316px; box-sizing: border-box;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px 20px; box-shadow: 0 20px 40px -24px rgba(10,20,28,.45);
}
.diag-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.diag-head img { border-radius: 7px; }
.diag-title { display: block; font-weight: 700; line-height: 1.2; }
.diag-sub { display: block; font-size: var(--step--1); color: var(--ink-2); }
.diag-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 8px; }
.diag-steps li { counter-increment: s; display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: .97rem; line-height: 1.4; }
.diag-steps li::before {
  content: counter(s); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--ink); font-weight: 700; font-size: 13px;
}
.diag-steps li.pending { visibility: hidden; }
.diag-steps li.done::before { content: "✓"; background: var(--ok); border-color: var(--ok); color: #fff; }
.diag-steps li.in { animation: rise .35s ease-out both; }
.diag-cause { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .97rem; }
.diag-cause span { color: var(--ink-2); display: block; font-size: var(--step--1); }
.diag-cause b { color: var(--signal-strong); display: block; min-height: 2.8em; }
@media (prefers-color-scheme: dark) { .diag-cause b { color: var(--signal); } }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.rig-note { font-size: 12px; color: var(--ink-2); margin-top: 14px; max-width: 46ch; justify-self: end; text-align: right; }

.demo-toggle {
  justify-self: end; margin-top: 6px; background: none; border: 0; padding: 6px 2px;
  font: 600 12px/1 var(--f-body); color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.demo-toggle:hover { color: var(--ink); }

@media (max-width: 900px) {
  .demo-toggle { justify-self: start; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .hero h1 { max-width: 12ch; }
  .rig { justify-items: stretch; }
  .stage { width: 100%; max-width: 440px; height: 340px; }
  .diag { width: calc(100% - 24px); max-width: 420px; justify-self: end; margin-top: -14px; min-height: 360px; }
  .rig-note { text-align: left; justify-self: start; }
}

/* Bands */
.band { padding-block: var(--s7); }
.band-plain { background: var(--paper-2); }
.band-dark { background: var(--night); color: var(--on-night); }
.section-lede { color: var(--ink-2); font-size: var(--step-1); margin-top: var(--s3); max-width: 50ch; }
.band-dark .section-lede { color: var(--on-night-2); }

/* Problem */
.problem { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--s6); align-items: start; }
.problem-list { display: grid; gap: var(--s4); font-size: var(--step-1); line-height: 1.55; max-width: 58ch; }
.problem-list p:last-child { color: var(--ink); font-weight: 600; }
.problem-list p:not(:last-child) { color: var(--ink-2); }
@media (max-width: 800px) { .problem { grid-template-columns: minmax(0, 1fr); gap: var(--s4); } }

/* Steps (a real sequence) */
.steps { list-style: none; margin: var(--s5) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; border-top: 2px dashed var(--line); }
.steps li { position: relative; display: grid; gap: var(--s2); align-content: start; }
.step-n {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); border: 2px solid var(--ink);
  font: 800 1.6rem/1 var(--f-display); font-variation-settings: "wdth" 75; margin-bottom: var(--s2);
}
.steps li:last-child .step-n { background: var(--signal-strong); border-color: var(--signal-strong); color: var(--on-signal); }
.steps p { color: var(--ink-2); max-width: 32ch; }
@media (max-width: 760px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; border-top: 0; border-left: 2px dashed var(--line); }
  .steps li { grid-template-columns: 56px 1fr; column-gap: var(--s3); }
  .steps li .step-n { grid-row: span 2; margin: 0; }
}

/* Systems: terminal rail */
.terminals { list-style: none; margin: var(--s5) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 2px; background: var(--night-2); border: 2px solid var(--night-2); border-radius: var(--r-md); overflow: hidden; }
.terminal { background: var(--night); padding: var(--s3) var(--s4); display: flex; align-items: center; gap: var(--s2); min-height: 64px; }
.terminal-name { font-weight: 700; color: var(--on-night); }
.terminal-more a { color: var(--on-night-2); font-size: .95rem; font-weight: 600; }
.terminal-more a:hover { color: var(--on-night); }
.ferrule {
  flex: none; display: inline-block; min-width: 52px; text-align: center;
  background: var(--c); color: #fff; font-weight: 800; font-size: 12px; letter-spacing: .08em;
  padding: 5px 8px; border-radius: 3px;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.2), 0 0 0 1px rgba(255,255,255,.25);
}

/* Pricing */
.plans { margin-top: var(--s5); display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--s4); }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s5); display: flex; flex-direction: column; gap: var(--s3); }
.plan h3 { font-size: var(--step-2); font-weight: 800; font-variation-settings: "wdth" 75; }
.plan .price { color: var(--ink-2); }
.plan .price b { font: 800 2.4rem/1 var(--f-display); font-variation-settings: "wdth" 75; color: var(--ink); margin-right: 4px; }
.plan > p:not(.price) { color: var(--ink-2); flex: 1; }
.plan .btn { align-self: flex-start; }
.price-lock { margin-top: var(--s3); max-width: 60ch; padding: var(--s3) var(--s4); background: var(--card); border: 1px solid var(--line); border-left-width: 1px; border-radius: var(--r-sm); color: var(--ink-2); }
.price-lock b { color: var(--ink); }
.discounts { width: 100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: tabular-nums; }
.discounts caption { text-align: left; font-weight: 700; margin-bottom: 6px; }
.discounts th { text-align: left; font-weight: 600; color: var(--ink-2); border-bottom: 1px solid var(--line); padding: 6px 4px; }
.discounts td { padding: 6px 4px; border-bottom: 1px solid var(--line); }

/* Built for */
.built { display: grid; gap: var(--s5); justify-items: start; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) var(--s6); width: 100%; }
.facts div { border-top: 2px solid var(--ink); padding-top: var(--s3); }
.facts dt { font: 700 var(--step-1)/1.2 var(--f-display); margin-bottom: var(--s1); }
.facts dd { margin: 0; color: var(--ink-2); max-width: 44ch; }
@media (max-width: 700px) { .facts { grid-template-columns: minmax(0, 1fr); gap: var(--s4); } }

/* About + contact */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6); align-items: start; }
.about { display: grid; gap: var(--s3); }
.about img { margin-bottom: var(--s2); }
.about p { color: var(--ink-2); max-width: 52ch; }
.contact { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s5); display: grid; gap: var(--s3); }
.contact h2 { font-size: var(--step-2); }
.contact > p { color: var(--ink-2); }
form { display: grid; gap: var(--s3); }
.field { display: grid; gap: 6px; }
label { font-weight: 600; font-size: .95rem; }
.opt { font-weight: 400; color: var(--ink-2); }
input, textarea {
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; width: 100%;
}
input:focus, textarea:focus { border-color: var(--focus); outline: 2px solid var(--focus); outline-offset: 0; }
[aria-invalid="true"] { border-color: var(--wire-red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: var(--step--1); color: var(--ink-2); }
form .btn { justify-self: start; }
.form-status { font-weight: 600; min-height: 1.6em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--wire-red); }
@media (prefers-color-scheme: dark) { .form-status.err { color: #FF7B72; } .form-status.ok { color: #4CD38A; } }
@media (max-width: 860px) { .about-grid { grid-template-columns: minmax(0, 1fr); } .contact { padding: var(--s4); } }

/* Footer */
.site-footer { background: var(--night); color: var(--on-night-2); padding-block: var(--s6) calc(var(--s5) + env(safe-area-inset-bottom, 0px)); }
.footer-row { display: grid; gap: var(--s4); }
.footer-row img { height: 28px; width: auto; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: var(--s4); }
.footer-row nav a { color: var(--on-night); text-decoration: none; font-weight: 600; }
.footer-row nav a:hover { text-decoration: underline; }
.legal { font-size: var(--step--1); max-width: 80ch; }

/* Simple content page (privacy, 404) */
.page { padding-block: var(--s6) var(--s7); }
.page h1 { font-size: var(--step-3); font-weight: 800; font-variation-settings: "wdth" 75; margin-bottom: var(--s4); }
.page h2 { font-size: var(--step-2); margin: var(--s5) 0 var(--s2); }
.page p, .page li { color: var(--ink-2); max-width: 68ch; }
.page p + p { margin-top: var(--s3); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- FieldIQ site additions ---------- */
.header-actions { display: flex; align-items: center; gap: var(--s2); }
.header-signin { font-weight: 600; font-size: var(--step--1); color: var(--ink-2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; padding-inline: 4px; }
.header-signin:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { .header-actions { margin-left: auto; } .header-signin { display: none; } }
.demo-band .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s6); align-items: start; }
.demo-band .section-lede { margin-top: var(--s3); }
.demo-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.demo-list li { display: flex; gap: 12px; align-items: baseline; }
.demo-list li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 2px; background: var(--signal); transform: translateY(1px); }
.demo-list .no::before { background: var(--line); }
.demo-actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); }
@media (max-width: 800px) { .demo-band .wrap { grid-template-columns: minmax(0, 1fr); gap: var(--s4); } }
.by-sts { color: var(--ink-2); font-size: var(--step--1); }
.by-sts a { color: inherit; }
