/* Remote Field Systems website: clean white look
   White #FFFFFF · Paper #F6F1EB · Line #E8DFD4 · Ink #1B1410 · Mist #5A4F46 · Copper #A4552A
   The home page hero stays dark (video under a navy shade) with light copper #E9A274. */
:root {
  --bg: #FFFFFF;
  --paper: #F6F1EB;
  --line: #E8DFD4;
  --ink: #1B1410;
  --mist: #5A4F46;
  --copper: #A4552A;
  --copper-hi: #84431F;
  --copper-light: #E9A274;
  --copper-light-hi: #F6C29C;
  --copper-ink: #1A0F08;
  --night: #0B1220;
  --head: 'Space Grotesk', system-ui, sans-serif;
  --body: Inter, system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 32px);
  --section: clamp(80px, 11vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; color: var(--ink); margin: 0; text-wrap: balance; }
h2 { font-size: clamp(34px, 4.4vw, 48px); line-height: 1.1; letter-spacing: -0.015em; max-width: 18ch; }
h3 { font-size: 21px; line-height: 1.3; }
p { margin: 0; }
a { color: var(--copper); }
a:hover { color: var(--copper-hi); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.narrow-wrap { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--copper); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; background: var(--copper); color: #fff; font: 600 17px/1 var(--body); text-decoration: none; transition: background-color .15s; }
.btn:hover { background: var(--copper-hi); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(27,20,16,.3); }
.btn-ghost:hover { background: rgba(27,20,16,.05); color: var(--ink); }
.btn-small { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-block { display: flex; width: 100%; }
/* on the dark hero (and the see-through header above it) */
.hero .btn, .site-header:not(.is-solid) .btn { background: var(--copper-light); color: var(--copper-ink); }
.hero .btn:hover, .site-header:not(.is-solid) .btn:hover { background: var(--copper-light-hi); color: var(--copper-ink); }
.hero .btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(232,236,243,.4); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.hero :focus-visible, .site-header:not(.is-solid) :focus-visible { outline-color: var(--copper-light); }

/* Header: see-through over the home hero, white everywhere else */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .25s, box-shadow .25s; }
.site-header.is-solid { background: rgba(255,255,255,.96); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(8px); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: baseline; gap: 12px; text-decoration: none; }
.brand-mark { font: 700 26px/1 var(--head); letter-spacing: .04em; color: var(--copper); }
.brand-name { font-size: 14px; color: var(--mist); }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: var(--mist); text-decoration: none; font-size: 15px; }
.site-nav a:not(.btn):hover { color: var(--ink); }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.site-header:not(.is-solid) .brand-mark { color: var(--copper-light); }
.site-header:not(.is-solid) .brand-name, .site-header:not(.is-solid) .site-nav a:not(.btn) { color: #C9D1DE; }
.site-header:not(.is-solid) .site-nav a:not(.btn):hover, .site-header:not(.is-solid) .menu-btn { color: #fff; }

/* Hero (dark, with video) */
.hero { position: relative; overflow: hidden; min-height: min(100svh, 900px); display: flex; align-items: center; background: linear-gradient(180deg, #0B1220 0%, #16213A 45%, #4A2A22 78%, #8A4A2C 100%); }
.hero-scene { position: absolute; inset: 0; }
.haze { position: absolute; left: 10%; right: 10%; bottom: 22%; height: 34%; border-radius: 50%; background: radial-gradient(closest-side, rgba(233,162,116,.35), rgba(233,162,116,0)); animation: haze 26s ease-in-out infinite alternate; }
.hills { position: absolute; left: 0; width: 200%; max-width: none; }
.hills-far { bottom: 9%; height: 28%; fill: #2A1C22; animation: drift 140s linear infinite; }
.hills-near { bottom: 0; height: 24%; fill: #0E1424; animation: drift 80s linear infinite; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.has-video .hero-video { opacity: 1; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,18,32,.86) 0%, rgba(11,18,32,.4) 60%, rgba(11,18,32,.12) 100%); }
.has-video .hero-shade { background: linear-gradient(90deg, rgba(11,18,32,.9) 0%, rgba(11,18,32,.55) 55%, rgba(11,18,32,.3) 100%), linear-gradient(0deg, rgba(11,18,32,.6) 0%, rgba(11,18,32,0) 40%); }
.hero-copy { position: relative; width: 100%; padding-top: 140px; padding-bottom: 120px; }
.hero h1 { max-width: 11ch; font-size: clamp(46px, 7vw, 88px); line-height: 1; letter-spacing: -0.025em; color: #fff; }
.lede { margin-top: 28px; max-width: 34em; font-size: clamp(17px, 1.6vw, 20px); color: var(--mist); }
.hero .lede { color: #C9D1DE; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
@keyframes drift { to { transform: translateX(-50%); } }
@keyframes haze { from { transform: translateX(-8%); opacity: .35; } to { transform: translateX(8%); opacity: .55; } }

/* Feature strip */
.strip { background: var(--paper); border-bottom: 1px solid var(--line); }
.strip-list { list-style: none; margin-block: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 32px; padding-block: 26px; font-size: 15px; color: var(--mist); }
.strip-list li { display: flex; align-items: center; gap: 12px; }
.strip-list svg, .uses-grid svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--copper); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Sections */
.section { padding-block: var(--section); }
.paper { background: var(--paper); }
.body-lg { margin-top: 20px; font-size: 18px; color: var(--mist); max-width: 34em; }
.narrow { max-width: 38em; }
.more-link { margin-top: 40px; font-weight: 500; }

.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.steps li { border-top: 1px solid var(--line); padding-top: 28px; }
.step-no { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--copper); color: var(--copper); font: 600 16px/1 var(--head); margin-bottom: 20px; }
.steps h3 { margin-bottom: 10px; }
.steps p, .safety-grid p, .uses-grid p { color: var(--mist); }
.steps-tight { margin-top: 32px; gap: 32px; }

/* Controller */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(40px, 6vw, 72px); align-items: center; }
.product-shot { margin: 0; background: #fff; border-radius: 24px; padding: clamp(16px, 3vw, 32px); box-shadow: 0 30px 60px -30px rgba(60,30,10,.28); }
.product-shot img { width: 100%; height: auto; border-radius: 12px; }
.specs { margin: 36px 0 0; border-top: 1px solid #E2D6CA; }
.specs div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid #E2D6CA; }
.specs dt { color: var(--mist); }
.specs dd { margin: 0; }

/* Safety */
.safety-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 44px 64px; }
.safety-grid h3 { margin-bottom: 8px; color: var(--copper); }

/* Uses */
.uses { background: var(--paper); padding-block: clamp(64px, 8vw, 96px); }
.uses-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
/* Photo over each use: tall crop, soft corners, a hairline inner edge and a gentle warm grade so the four stock shots sit together */
.use-photo { position: relative; margin: 0 0 22px; overflow: hidden; border-radius: 6px; background: var(--line); box-shadow: 0 1px 2px rgba(27, 20, 16, .06), 0 12px 32px -18px rgba(27, 20, 16, .35); }
.use-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; filter: saturate(.88) contrast(1.03) sepia(.08); }
.use-photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(27, 20, 16, .08); background: linear-gradient(to top, rgba(27, 20, 16, .14), transparent 40%); pointer-events: none; }
@media (max-width: 900px) { .uses-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .uses-grid { grid-template-columns: 1fr; } .use-photo img { aspect-ratio: 3 / 2; } }
.uses-grid h3 { font-size: 24px; margin-bottom: 8px; }

/* FAQ */
#faq h2 { margin-bottom: 40px; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font: 600 19px/1.4 var(--head); color: var(--ink); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--copper); border-bottom: 2px solid var(--copper); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s; }
details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
details p { padding: 0 0 24px; max-width: 40em; color: var(--mist); }

/* Buy */
.buy { border-top: 1px solid var(--line); }
.price-card { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: clamp(28px, 4vw, 40px); }
.price-name { color: var(--mist); font-size: 15px; }
.price { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.price-big { font: 600 clamp(44px, 5vw, 54px)/1.05 var(--head); color: var(--ink); }
.price-tax { color: var(--mist); font-size: 16px; }
.price-ex { margin-top: 4px; font-size: 14px; color: var(--mist); }
.kit-list { margin: 24px 0 32px; padding-left: 20px; line-height: 1.9; color: var(--mist); }
.kit-list li::marker { color: var(--copper); }
.price-note { margin-top: 16px; text-align: center; font-size: 14px; color: var(--mist); }

/* Footer */
.site-footer { position: relative; background: var(--paper); color: #3A2C24; padding-top: 72px; }
.footer-hills { position: absolute; top: 0; left: 0; width: 100%; height: 40px; fill: var(--bg); }
.footer-row { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; justify-content: space-between; }
.footer-logo { width: min(260px, 100%); height: auto; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 56px; font-size: 15px; }
.footer-cols h2 { font: 600 15px/1.6 var(--body); margin-bottom: 6px; max-width: none; letter-spacing: 0; }
.footer-cols a { display: block; color: #3A2C24; line-height: 2; }
.footer-cols a:hover { color: var(--copper); }
.legal { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 32px; padding-bottom: 32px; font-size: 13px; color: var(--mist); }
.legal a { color: var(--mist); }

/* Inner pages */
.page-hero { position: relative; overflow: hidden; padding: 170px 0 120px; background: var(--paper); }
.page-hero-tall { min-height: 62svh; display: flex; align-items: center; }
.page-hero-tall > .wrap { width: 100%; }
.page-hero h1 { font-size: clamp(40px, 5.6vw, 64px); line-height: 1.05; letter-spacing: -0.02em; max-width: 16ch; }
.page-hero .lede { margin-top: 20px; }
.page-hero-hills { position: absolute; left: 0; bottom: -1px; width: 100%; height: 64px; fill: var(--bg); }

.doc { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 64px; padding-block: 72px var(--section); }
.doc-side { position: sticky; top: 100px; align-self: start; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.doc-side-title { font-weight: 600; margin-bottom: 8px; }
.doc-side a { color: var(--mist); text-decoration: none; padding: 6px 0; }
.doc-side a:hover { color: var(--copper); }

.prose { max-width: 720px; color: var(--mist); }
.prose-page { padding-block: 72px var(--section); }
.prose h2 { font-size: clamp(26px, 3vw, 32px); max-width: none; margin: 56px 0 16px; scroll-margin-top: 100px; }
.prose > h2:first-child, .prose .draft-note + h2, .prose .callout + h2 { margin-top: 32px; }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0; }
.prose li { margin: 8px 0; }
.prose li::marker { color: var(--copper); }
.prose strong { color: var(--ink); font-weight: 600; }
.callout { border: 1px solid var(--line); background: var(--paper); border-radius: 14px; padding: 18px 22px; margin-top: 8px; }
.callout-warn { border-color: rgba(164,85,42,.45); }
.callout ul { margin: 0; }
.draft-note { display: inline-block; font-size: 14px; color: var(--copper); border: 1px dashed rgba(164,85,42,.6); border-radius: 8px; padding: 8px 12px; }
.updated { margin-top: 40px; font-size: 14px; color: var(--mist); }
.table-wrap { overflow-x: auto; margin: 8px 0 18px; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
th, td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--line); }
tr:last-child th, tr:last-child td { border-bottom: 0; }
thead th { background: var(--paper); color: var(--mist); font-weight: 500; font-size: 14px; }
tbody th { color: var(--ink); font-weight: 600; width: 34%; }
.wire { display: block; margin-top: 2px; font-weight: 400; font-size: 14px; color: var(--mist); }

.faq-page { padding-block: 40px var(--section); }
.faq-page h2 { font-size: 26px; margin: 56px 0 12px; max-width: none; color: var(--copper); }

/* Contact form */
.contact { padding-block: 72px var(--section); align-items: start; }
.form { display: grid; gap: 22px; max-width: 560px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 500; font-size: 15px; }
.optional { color: var(--mist); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid #D9CEC2; background: #fff; color: var(--ink); font: 400 16px/1.4 var(--body); }
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--copper); outline-offset: 1px; border-color: var(--copper); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.hint { font-size: 14px; color: var(--mist); }
.form-error { color: #B3261E; font-size: 15px; }
.form .btn { justify-self: start; border: 0; cursor: pointer; }
.contact-side h2 { font-size: 20px; margin: 0 0 8px; max-width: none; }
.contact-side p { color: var(--mist); margin-bottom: 32px; }

/* Phone */
@media (max-width: 820px) {
  .menu-btn { display: inline-flex; }
  .brand-name { display: none; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: #fff; border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 16px; }
  .hero-shade { background: linear-gradient(180deg, rgba(11,18,32,.75) 0%, rgba(11,18,32,.45) 60%, rgba(11,18,32,.2) 100%); }
  .has-video .hero-shade { background: rgba(11,18,32,.62); }
  .hero-copy { padding-top: 120px; padding-bottom: 96px; }
  .specs div { grid-template-columns: 100px 1fr; gap: 14px; }
  .page-hero { padding: 130px 0 96px; }
  .doc { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 40px; }
  .doc-side { position: static; flex-direction: row; flex-wrap: wrap; gap: 4px 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
  .doc-side-title { width: 100%; margin-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .haze, .hills { animation: none; }
}
