/* ============================================================
   SPECTRUM Instruments
   Colours are sampled from the Spectrum flyer: red wordmark, orange and
   navy swooshes, indigo text. Each measured variable owns one of them:
   level = indigo, pressure = red, temperature = orange, flow = navy.
   Type is one family (Archivo) at three widths: condensed for tags and
   the giant hero word, regular for reading, wide for headlines.
   ============================================================ */

:root {
  --red: #C12026;     --red-deep: #9C1920;
  --orange: #F7933B;  --orange-ink: #9A4A06;
  --navy: #07486E;    --navy-deep: #053651;
  --indigo: #353C8F;

  --ink: #10222E;  --ink-2: #43535F;  --ink-3: #66757F;
  --paper: #FFFFFF;  --mist: #F2F5F8;  --line: #DCE3E9;

  /* Accent of whatever variable is in play. Defaults to brand red. */
  --acc: var(--red);  --acc-ink: var(--red);  --on-acc: #fff;
  --acc-tint: #F9E6E7;  --acc-word: #F5D3D5;

  --wrap: 1200px;
  --gut: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ff: "Archivo", "Helvetica Neue", Arial, sans-serif;
}
[data-var="level"]       { --acc: #353C8F; --acc-ink: #353C8F; --on-acc: #fff;    --acc-tint: #E9EAF4; --acc-word: #DADCEE; }
[data-var="pressure"]    { --acc: #C12026; --acc-ink: #C12026; --on-acc: #fff;    --acc-tint: #F9E6E7; --acc-word: #F5D3D5; }
[data-var="temperature"] { --acc: #F7933B; --acc-ink: #9A4A06; --on-acc: #2B1600; --acc-tint: #FEEEDD; --acc-word: #FDDFC0; }
[data-var="flow"]        { --acc: #07486E; --acc-ink: #07486E; --on-acc: #fff;    --acc-tint: #E1ECF2; --acc-word: #CCDDE8; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--ff); font-size: 1.0625rem; line-height: 1.6;
  color: var(--ink); background: var(--paper); overflow-x: clip;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-stretch: 112%; font-weight: 800; line-height: 1.04; letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.75rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: 1.22rem; font-stretch: 106%; font-weight: 700; line-height: 1.2; letter-spacing: -.005em; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.label {
  font-stretch: 75%; font-weight: 700; font-size: .84rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px;
}
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; color: var(--ink-2); max-width: 52ch; }
.muted { color: var(--ink-2); }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px;
  background: var(--ink); color: #fff; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; }
.ico { width: 18px; height: 18px; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: .7em 1.45em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-stretch: 104%; line-height: 1.1; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s, color .2s, box-shadow .25s, border-color .2s;
}
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-deep); transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(193, 32, 38, .75); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--white { background: #fff; color: var(--red); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .5); }
.btn--ghost { border-color: rgba(255, 255, 255, .75); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--red); }
.btn[disabled] { opacity: .6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.go { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--acc-ink); text-decoration: none; }
.go .ico { transition: transform .25s var(--ease); }
a:hover > .go .ico, .go:hover .ico { transform: translateX(4px); }

/* ---------- Instrument tag bubble (the P&ID symbol engineers already read) ---------- */
.bubble {
  --s: 46px; flex: none; width: var(--s); height: var(--s); border-radius: 50%;
  display: inline-grid; place-items: center; background: #fff;
  border: 2px solid var(--acc); color: var(--acc-ink);
  font-stretch: 70%; font-weight: 800; font-size: calc(var(--s) * .36); line-height: 1; letter-spacing: .02em;
  transition: background-color .3s, color .3s, border-color .3s;
}
.bubble--long { font-size: calc(var(--s) * .27); letter-spacing: 0; }
.bubble--sm { --s: 36px; }
.bubble--fill { background: var(--acc); color: var(--on-acc); }
.bubbles { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: #fff; }
.top__in { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; flex-direction: column; gap: 4px; text-decoration: none; padding-block: 6px; }
.brand img { width: 136px; }
.brand span { font-stretch: 75%; font-weight: 600; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.nav { margin-left: auto; display: flex; gap: 2px; }
.nav a { padding: 12px 14px; font-weight: 600; font-size: .96rem; color: var(--ink-2); text-decoration: none; border-radius: 8px; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--red); }
.top .btn { min-height: 44px; padding: .5em 1.15em; font-size: .93rem; }
/* The spectrum: one band, four variables. */
.spectrum { display: grid; grid-template-columns: repeat(4, 1fr); height: 4px; }
.spectrum i:nth-child(1) { background: var(--indigo); }
.spectrum i:nth-child(2) { background: var(--red); }
.spectrum i:nth-child(3) { background: var(--orange); }
.spectrum i:nth-child(4) { background: var(--navy); }

.burger {
  display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 6px;
}
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.drawer {
  position: fixed; inset: 76px 0 0; z-index: 49; background: #fff; padding: 20px var(--gut) 40px;
  overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
}
.drawer.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.drawer a:not(.btn) {
  display: block; padding: 16px 0; border-bottom: 1px solid var(--line);
  font-stretch: 112%; font-weight: 800; font-size: 1.5rem; text-decoration: none;
}
.drawer .btn { margin-top: 24px; width: 100%; }
@media (max-width: 860px) {
  .nav, .top .btn { display: none; }
  .burger { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(20px, 3vw, 36px); isolation: isolate; }
/* The measured variable, set as large as the page allows. JS sizes it so the
   longest word (TEMPERATURE) fills the column; this value is the no-JS fallback. */
.hero__word {
  font-stretch: 62%; font-weight: 900; text-transform: uppercase; white-space: nowrap;
  font-size: var(--word-size, 15vw); line-height: .84; letter-spacing: -.01em;
  color: var(--acc-word); overflow: hidden; padding-top: .04em; user-select: none;
  transition: color .6s;
}
.hero__word-in { display: inline-block; animation: word-in .8s var(--ease) both; }
@keyframes word-in { from { transform: translateY(70%); opacity: 0; } to { transform: none; opacity: 1; } }

.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.hero__copy { padding-top: clamp(16px, 2.4vw, 32px); }
.hero__copy > * { animation: rise .7s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: .08s; }
.hero__copy > :nth-child(3) { animation-delay: .16s; }
.hero__copy > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
.hero h1 { margin-bottom: 20px; font-size: clamp(2.4rem, 5.1vw, 4.1rem); text-wrap: wrap; }
.hero h1 em { font-style: normal; color: var(--red); }

/* The product sits inside a gauge dial and rises into the giant word. */
.hero__stage { margin-top: calc(var(--word-size, 15vw) * -.62); position: relative; z-index: 1; animation: rise .9s .1s var(--ease) both; }
.stage { position: relative; width: 100%; max-width: 440px; margin-inline: auto; aspect-ratio: 1; display: grid; place-items: center; }
.stage::before {
  content: ""; position: absolute; inset: 12%; border-radius: 50%;
  background: var(--acc-tint); mix-blend-mode: multiply; transition: background-color .6s;
}
.stage__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.stage__ring path { fill: none; }
.stage__ring .ticks { stroke: #C3CDD6; stroke-width: 7; stroke-dasharray: 1 9; }
.stage__ring .arc {
  stroke: var(--acc); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: var(--arc, 150) 400;
  transition: stroke-dasharray 1.1s var(--ease), stroke .6s;
}
.stage__shots { position: relative; width: 58%; height: 58%; }
.stage__shots img {
  position: absolute; inset: 0; margin: auto; width: auto; height: auto; max-width: 100%; max-height: 100%;
  mix-blend-mode: multiply; opacity: 0; transform: translateY(16px) scale(.95);
  transition: opacity .45s, transform .7s var(--ease);
}
.stage__shots img.is-on { opacity: 1; transform: none; }
.stage__shots--one img { opacity: 1; transform: none; }
.stage__none { display: grid; place-items: center; gap: 10px; text-align: center; color: var(--ink-3); }
.stage__none .ico { width: 56px; height: 56px; color: var(--acc); }
.stage__cap {
  display: flex; align-items: center; gap: 14px; width: fit-content; margin: 8px auto 0;
  padding: 8px 20px 8px 8px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line);
  text-decoration: none; transition: border-color .3s, box-shadow .3s;
}
.stage__cap:hover { border-color: var(--acc); box-shadow: 0 10px 24px -16px rgba(16, 34, 46, .5); }
.stage__cap b { display: block; font-weight: 700; line-height: 1.2; }
.stage__cap .go { font-size: .9rem; }

/* Variable selector: the four things Spectrum measures. */
.vars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
.var {
  position: relative; display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 20px 16px 22px 0; background: none; border: 0; font: inherit; color: inherit; cursor: pointer;
}
.var + .var { padding-left: 20px; border-left: 1px solid var(--line); }
.var::before {
  content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 3px;
  background: var(--acc); transform: scaleX(0); transform-origin: left;
}
.var[aria-pressed="true"]::before { transform: scaleX(1); }
.is-auto .var[aria-pressed="true"]::before { animation: var-fill 4.6s linear both; }
@keyframes var-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.var[aria-pressed="true"] .bubble { background: var(--acc); color: var(--on-acc); }
.var b { display: block; font-stretch: 112%; font-weight: 800; font-size: 1.08rem; line-height: 1.15; }
.var small { display: block; font-size: .86rem; color: var(--ink-3); line-height: 1.3; margin-top: 2px; }
.var:hover b { color: var(--acc-ink); }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__stage { margin-top: 0; }
  .stage { max-width: 320px; }
  .vars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .var { padding: 16px 10px 16px 0; }
  .var:nth-child(odd) { padding-left: 0; border-left: 0; }
  .var:nth-child(even) { padding-left: 14px; }
  .var:nth-child(n+3) { border-top: 1px solid var(--line); }
  .var small { display: none; }
  .var { gap: 10px; }
  .var > span:last-child { min-width: 0; }
  .var b { font-stretch: 100%; font-size: 1rem; }
  .var .bubble { --s: 40px; }
}

/* ---------- Sections ---------- */
.sec { padding-block: clamp(64px, 9vw, 120px); }
.sec--mist { background: var(--mist); }
.sec__head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 780px; }
.sec__head .label { margin: 0; }
.sec__head p:last-child { margin: 0; }

/* Swoosh from the flyer: orange stripe riding a navy wave. */
.swoosh { width: 100%; height: clamp(56px, 9vw, 140px); margin-bottom: -1px; }
.swoosh .o { fill: var(--orange); }
.swoosh .n { fill: var(--navy); }

/* ---------- The range: catalogue grid ---------- */
.range {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
}
.item {
  display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 28px;
  background: #fff; text-decoration: none; transition: background-color .35s;
}
.item:hover { background: var(--acc-tint); }
.item__shot { height: 210px; display: grid; place-items: center; margin-bottom: 6px; }
.item__shot img { width: auto; max-height: 188px; mix-blend-mode: multiply; transition: transform .55s var(--ease); }
.item:hover .item__shot img { transform: translateY(-6px) scale(1.04); }
.item__shot .stage__none .ico { width: 44px; height: 44px; }
.item__shot .stage__none span { font-stretch: 75%; font-weight: 700; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.item__head { display: flex; align-items: center; gap: 12px; }
.item__head .label { margin: 0; color: var(--acc-ink); }
.item p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.item .go { margin-top: auto; padding-top: 8px; }
@media (max-width: 980px) { .range { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .range { grid-template-columns: minmax(0, 1fr); } .item__shot { height: 180px; } }

/* ---------- Navy band ---------- */
.band { background: var(--navy); color: #fff; padding-block: clamp(40px, 6vw, 72px) clamp(64px, 9vw, 110px); }
.band__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.band .label { color: var(--orange); }
.band .lead { color: rgba(255, 255, 255, .86); }
.claims li {
  display: flex; gap: 16px; align-items: baseline; padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .2); font-size: 1.12rem; font-weight: 600;
}
.claims li:first-child { border-top: 1px solid rgba(255, 255, 255, .2); }
.claims .ico { color: var(--orange); transform: translateY(3px); }
.claims span { display: block; font-weight: 400; font-size: .96rem; color: rgba(255, 255, 255, .78); margin-top: 2px; }
@media (max-width: 860px) { .band__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Application tiles ---------- */
.apps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.app { display: flex; flex-direction: column; gap: 14px; }
.app__img { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--line); }
.app__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.app:hover .app__img img { transform: scale(1.05); }
.app p { margin: 0; color: var(--ink-2); font-size: .97rem; }
@media (max-width: 980px) { .apps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .apps { grid-template-columns: minmax(0, 1fr); } }

.app-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding-block: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
.app-row:nth-child(even) .app__img { order: 2; }
.app-row .app__img { aspect-ratio: 3 / 2; }
.app-row h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 12px; }
.fits { display: grid; gap: 10px; margin-top: 18px; }
.fits a { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; width: fit-content; }
.fits a:hover { color: var(--acc-ink); }
@media (max-width: 760px) {
  .app-row { grid-template-columns: minmax(0, 1fr); }
  .app-row:nth-child(even) .app__img { order: 0; }
}

/* ---------- Two columns + plain lists ---------- */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
@media (max-width: 860px) { .duo { grid-template-columns: minmax(0, 1fr); } }
.plain li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.plain li:first-child { border-top: 1px solid var(--line); }
.plain b { display: block; font-stretch: 106%; font-weight: 700; font-size: 1.1rem; }
.plain span { color: var(--ink-2); font-size: .98rem; }
.plain a { display: inline-block; padding-block: 9px; }
.checks li { display: flex; gap: 12px; align-items: baseline; padding: 7px 0; }
.checks .ico { color: var(--acc-ink); transform: translateY(3px); }

/* ---------- Call to action + footer ---------- */
.cta { background: var(--red); color: #fff; padding-top: clamp(64px, 9vw, 112px); overflow: hidden; }
.cta h2 { font-size: clamp(2.1rem, 5vw, 3.9rem); max-width: 16ch; }
.cta .lead { color: rgba(255, 255, 255, .9); margin-top: 18px; }
.cta .swoosh { margin-top: clamp(40px, 6vw, 72px); }

.foot { background: var(--navy); color: rgba(255, 255, 255, .84); padding-block: clamp(36px, 5vw, 56px) 28px; font-size: .97rem; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.foot img { width: 150px; margin-bottom: 14px; }
.foot h4 { margin: 0 0 12px; font-stretch: 75%; font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.foot a { color: #fff; text-decoration: none; display: inline-block; padding-block: 7px; }
.foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot__bar {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .2);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .86rem; color: rgba(255, 255, 255, .72);
}
.foot__bar a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .foot__grid { grid-template-columns: minmax(0, 1fr); } }

.wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #25D366; color: #fff;
  box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .45); transition: transform .25s var(--ease);
}
.wa:hover { transform: scale(1.07); }

/* ---------- Inner page head ---------- */
.phead { padding-block: clamp(36px, 6vw, 72px) clamp(24px, 4vw, 44px); }
.phead h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); max-width: 18ch; margin-bottom: 18px; }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--ink-3); margin-bottom: 22px; }
.crumb a { text-decoration: none; color: var(--ink-2); padding-block: 4px; }
.crumb a:hover { color: var(--red); }

/* ---------- Product page ---------- */
.phero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding-block: clamp(12px, 3vw, 32px) clamp(48px, 7vw, 88px); }
.phero .stage { max-width: 420px; }
.phero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); margin-bottom: 18px; }
.phero__tag { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.phero__tag .label { margin: 0; color: var(--acc-ink); }
.phero .checks { margin-top: 20px; }
@media (max-width: 860px) { .phero { grid-template-columns: minmax(0, 1fr); } .phero .stage { max-width: 300px; } }

/* How it works is a real sequence, so the steps are numbered. */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); counter-reset: step; }
.steps li { counter-increment: step; padding-top: 18px; border-top: 3px solid var(--acc); }
.steps li::before {
  content: counter(step); display: block; margin-bottom: 10px;
  font-stretch: 62%; font-weight: 900; font-size: 3.2rem; line-height: 1; color: var(--acc-ink);
}
.steps p { margin: 8px 0 0; color: var(--ink-2); }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 9px 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-weight: 600; font-size: .96rem; }
.note { padding: clamp(22px, 3vw, 34px); border-radius: 20px; background: var(--acc-tint); }
.note h3 { margin-bottom: 8px; }
.note p { color: var(--ink-2); max-width: 60ch; }
.note .btn { margin-top: 8px; }

/* ---------- Contact ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; max-width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; color: var(--ink);
  background: #fff; border: 1.5px solid #B9C4CE; border-radius: 12px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(53, 60, 143, .16); }
.field.is-err input, .field.is-err select, .field.is-err textarea { border-color: var(--red); }
.field__err { display: none; color: var(--red); font-size: .9rem; font-weight: 600; }
.field.is-err .field__err { display: block; }
.req { color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { display: none; padding: 18px 20px; border-radius: 14px; font-weight: 600; }
.msg.is-on, .msg:target { display: block; }
.msg--ok { background: #E7F5EC; color: #14532D; }
.msg--fail { background: var(--acc-tint); color: var(--red-deep); }
.msg a { color: inherit; }
.small { font-size: .88rem; color: var(--ink-3); }
.details li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.details li:first-child { border-top: 1px solid var(--line); }
.details span { color: var(--ink-3); }
.details b { font-weight: 600; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.details a { text-decoration: none; display: inline-block; padding-block: 4px; }
.details a:hover { color: var(--red); }
.prose h2 { font-size: 1.5rem; margin: 1.6em 0 .5em; }
.prose p { max-width: 68ch; color: var(--ink-2); }

/* ---------- Scroll reveal ----------
   Content is visible by default. JS opts in to hiding it, and a timer in the
   page head shows everything if the script never runs. */
.js .rv { opacity: 0; transform: translateY(18px); }
.js .rv.in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.safe .rv { opacity: 1 !important; transform: none !important; }
.safe .hero__copy > *, .safe .hero__stage, .safe .hero__word-in { animation: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
@media print {
  .top, .wa, .drawer, .cta { display: none; }
  .js .rv { opacity: 1; transform: none; }
}

/* ---------- Spec list (product technical data) ---------- */
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 0 clamp(20px, 3vw, 36px); margin: 0; }
.specs div { padding: 16px 0 18px; border-top: 1px solid var(--line); }
.specs dt { color: var(--ink-3); font-size: .9rem; margin-bottom: 4px; }
.specs dd { margin: 0; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
