/* NexFlow product site
   Colours sampled from the NexFlow logo (same tokens as the launch film).
   Type: Montserrat (display) + Open Sans (body), as used across FMCG. */

@font-face { font-family: Montserrat; src: url(../assets/Montserrat.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url(../assets/OpenSans.woff2) format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --ink: #0d4f7d;
  --navy: #082f4f;
  --teal: #1ea0ab;
  --teal-d: #12808a;
  --teal-b: #5fd0d8;
  --blue: #0782c1;
  --red: #d9483f;
  --text: #2c4a61;
  --muted: #5b7488;
  --line: rgba(13, 79, 125, .14);
  --line-2: rgba(13, 79, 125, .24);
  --paper: #ffffff;
  --paper-2: #f3f6f9;
  --display: Montserrat, "Segoe UI", sans-serif;
  --body: "Open Sans", "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gut: 24px;
  --r: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
em { font-style: normal; color: var(--teal); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 20; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r); }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }

.kicker { font: 700 12.5px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--teal-d); display: flex; align-items: center; gap: 14px; }
.kicker .idx { color: var(--ink); letter-spacing: .06em; padding-right: 14px; border-right: 1.5px solid var(--line-2); }

h1, h2, h3 { font-family: var(--display); color: var(--ink); letter-spacing: -.025em; }
h1 { font-weight: 800; font-size: clamp(2.5rem, 4.4vw, 3.6rem); line-height: 1.03; margin-top: 22px; }
h2 { font-weight: 800; font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.08; margin-top: 16px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 6px; border: 0;
  background: var(--ink); color: #fff; text-decoration: none; font: 700 15px var(--display); letter-spacing: .01em; cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--navy); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); height: 46px; font-size: 14px; }
.btn-line:hover { background: var(--ink); color: #fff; box-shadow: none; }
.text-link { font: 700 15px var(--display); color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--teal); padding-bottom: 3px; }
.text-link span { display: inline-block; transition: transform .2s; }
.text-link:hover span { transform: translateX(3px); }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-head.scrolled { border-bottom-color: var(--line); }
.head-row { display: flex; align-items: center; height: 72px; gap: 40px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { height: 40px; width: auto; }
.brand-word { height: 24px; width: auto; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { font: 600 14.5px var(--body); color: var(--text); text-decoration: none; padding: 6px 0; border-bottom: 1.5px solid transparent; }
.nav a:hover { color: var(--ink); border-bottom-color: var(--teal); }

/* ---------- hero ---------- */
.hero { padding-top: clamp(32px, 5vw, 64px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.hero-copy { padding: clamp(8px, 3vw, 40px) 0 8px; display: flex; flex-direction: column; }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--text); max-width: 34em; margin-top: 24px; }
.actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; flex-wrap: wrap; }

.steps { margin-top: auto; padding-top: 48px; }
.steps-label { font: 700 12px var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.steps button { display: flex; align-items: center; gap: 16px; width: 100%; padding: 13px 0; background: none; border: 0; border-bottom: 1px solid var(--line); text-align: left; cursor: pointer;
  font: 600 15.5px var(--body); color: var(--ink); opacity: .42; transition: opacity .3s; }
.steps button:hover { opacity: .75; }
.steps button b { width: 32px; height: 32px; flex: none; border-radius: 50%; border: 2px solid var(--teal); display: grid; place-items: center; font: 800 11.5px var(--display); color: var(--teal-d); transition: background .3s, color .3s; }
.steps button.on { opacity: 1; }
.steps button.on b { background: var(--teal); color: #fff; }

.hero-art { position: relative; border-radius: 12px; border: 1px solid var(--line); overflow: hidden; min-height: 520px;
  background: radial-gradient(ellipse at 45% 40%, #ffffff 0%, #f1f5f8 58%, #dfe8ef 100%); }
#heroArt { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art figcaption { position: absolute; left: 22px; bottom: 18px; font: 700 11.5px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.replay { position: absolute; right: 16px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 6px;
  background: #fff; border: 1px solid var(--line-2); font: 700 12.5px var(--display); color: var(--ink); cursor: pointer; }
.replay:hover { border-color: var(--ink); }

.band { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band li { padding: 26px 24px 28px; border-left: 1px solid var(--line); }
.band li:first-child { border-left: 0; padding-left: 0; }
.band strong { display: block; font: 800 1.3rem/1.2 var(--display); color: var(--ink); letter-spacing: -.015em; }
.band span { display: block; font-size: 14.5px; color: var(--muted); margin-top: 6px; }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 124px) 0; }
.section.alt { background: var(--paper-2); }
.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head > p { font-size: 1.05rem; color: var(--text); max-width: 32em; }
.footnote { margin-top: 22px; font-size: 13.5px; color: var(--muted); }
.footnote a { color: var(--ink); font-weight: 600; text-decoration-color: var(--teal); text-underline-offset: 3px; }

/* benefits: numbered two-column list, bold lead + one line, like a datasheet */
.benefits { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 6vw, 88px); counter-reset: b; border-top: 1px solid var(--line); }
.benefits li { counter-increment: b; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 8px; align-content: start; padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
.benefits li::before { content: counter(b, decimal-leading-zero); grid-row: 1 / span 2; font: 800 13px/1.9 var(--display); color: var(--teal-d); letter-spacing: .04em; }
.benefits h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.35; }
.benefits p { margin-top: 6px; font-size: 15px; color: var(--text); max-width: 34em; }

/* range */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.product-photo { border-bottom: 1px solid var(--line); background: #fff; }
.product-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; padding: 12px 28px 0; }
.product-body { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 28px; padding: 32px 32px 34px; flex: 1; }
.product-tip { width: 64px; height: auto; }
.code { font: 700 12.5px var(--display); letter-spacing: .16em; color: var(--teal-d); }
.vol { font-weight: 800; font-size: clamp(3rem, 5vw, 4rem); line-height: 1; letter-spacing: -.04em; margin-top: 10px; font-variant-numeric: tabular-nums; }
.vol small { font-size: .42em; color: var(--teal); letter-spacing: 0; margin-left: 6px; font-weight: 700; }
.name { font: 600 1.05rem var(--body); color: var(--ink); margin-top: 8px; }
.desc { margin-top: 14px; font-size: 15px; color: var(--text); }
.kv { margin: 22px 0 26px; border-top: 1px solid var(--line); }
.kv div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.kv dt { color: var(--muted); }
.kv dd { color: var(--ink); font-weight: 600; text-align: right; }

/* reach (dark) */
.dark { background: var(--navy); color: rgba(255,255,255,.8); }
.dark h2 { color: #fff; }
.dark em { color: var(--teal-b); }
.dark .kicker { color: var(--teal-b); }
.dark .kicker .idx { color: #fff; border-right-color: rgba(255,255,255,.25); }
.dark .sec-head > p { color: rgba(255,255,255,.78); }
.dark .footnote { color: rgba(255,255,255,.55); }
.reach { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.reach-panel { position: relative; background: #fff; border-radius: 10px; overflow: hidden; border-top: 4px solid var(--teal); }
.reach-panel.is-bad { border-top-color: var(--red); }
.reach-panel svg[data-reach] { width: 100%; height: auto; }
.reach-panel figcaption { position: absolute; left: 26px; top: 24px; display: flex; gap: 14px; align-items: flex-start; z-index: 1; }
.reach-panel figcaption i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--teal); flex: none; }
.reach-panel.is-bad figcaption i { background: var(--red); }
.reach-panel figcaption i svg { width: 18px; height: 18px; }
.reach-panel figcaption b { display: block; font: 700 1.2rem/1.2 var(--display); color: var(--ink); letter-spacing: -.01em; }
.reach-panel figcaption span { font-size: 14.5px; color: var(--muted); }

/* rack */
.rack-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
#rackArt { width: 100%; height: auto; }
.count { font: 800 clamp(5rem, 11vw, 8.5rem)/.9 var(--display); color: var(--ink); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.count-label { font: 700 1.25rem var(--display); color: var(--teal-d); margin-top: 10px; }
.count-sub { color: var(--muted); margin-top: 4px; }
.label-card { margin-top: 32px; background: var(--navy); color: #fff; border-radius: 10px; border-top: 4px solid var(--teal); padding: 22px 26px 12px; }
.label-title { font: 700 12px var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--teal-b); margin-bottom: 8px; }
.label-card li { display: flex; align-items: center; gap: 16px; padding: 10px 0; font-size: 15px; border-top: 1px solid rgba(255,255,255,.1); }
.label-card li:first-child { border-top: 0; }
.label-card em { margin-left: auto; color: rgba(255,255,255,.6); font-size: 13px; font-weight: 600; text-align: right; }
.sym { width: 54px; height: 28px; flex: none; border: 2px solid #fff; border-radius: 3px; display: grid; place-items: center; font: 700 12px var(--display); letter-spacing: .06em; }
.sym-plain { border: 0; }
.sym-plain svg { width: 26px; height: 26px; color: #fff; }

/* specs */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.spec { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.spec th, .spec td { text-align: left; padding: 14px 24px; border-bottom: 1px solid var(--line); }
.spec tbody tr:last-child > * { border-bottom: 0; }
.spec thead th { font: 700 13px var(--display); letter-spacing: .14em; color: var(--ink); background: #fafcfd; padding-top: 18px; padding-bottom: 18px; }
.spec tbody th { font-weight: 600; color: var(--muted); width: 32%; }
.spec td { color: var(--ink); font-weight: 600; width: 34%; }
.spec td.y::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); margin-right: 10px; vertical-align: 1px; }

/* film */
.film-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.film-note { margin-top: 20px; color: var(--text); max-width: 22em; }
.film-frame { border-radius: 10px; overflow: hidden; background: #0b1d2c; aspect-ratio: 16 / 9; box-shadow: 0 1px 0 var(--line); }
.film-frame video { width: 100%; height: 100%; object-fit: cover; }

/* contact */
.contact { background: var(--paper-2); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.contact-copy > p { margin-top: 20px; max-width: 30em; }
.contact-list { margin-top: 30px; border-top: 1px solid var(--line); }
.contact-list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list svg { width: 20px; height: 20px; color: var(--teal); flex: none; }
.contact-list a { font: 600 1.05rem var(--body); color: var(--ink); text-decoration: none; }
.contact-list .alt-num { color: var(--muted); font-size: 15px; margin-left: -4px; }
.contact-list .alt-num a { font-size: 15px; }
.contact-list .addr { color: var(--ink); font-weight: 600; line-height: 1.45; }
.contact-list a:hover { text-decoration: underline; text-decoration-color: var(--teal); text-underline-offset: 4px; }
.dist { display: flex; align-items: center; gap: 14px; margin-top: 30px; font-size: 14px; color: var(--muted); }
.dist-tile { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 7px 9px; }
.dist-tile img { height: 44px; width: auto; }

.quote { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: clamp(22px, 3vw, 36px); }
.quote fieldset { border: 0; padding: 0; margin: 0 0 26px; }
.quote legend, .fields span { font: 700 12px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.quote legend { padding: 0; margin-bottom: 10px; }
.qrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.qrow:first-of-type { border-top: 1px solid var(--line); }
.qcheck { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.qcheck input { width: 20px; height: 20px; accent-color: var(--ink); flex: none; }
.qcheck b { display: block; font: 700 15px var(--display); color: var(--ink); letter-spacing: .02em; }
.qcheck span { font-size: 14px; color: var(--muted); }
.qqty { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.quote .qqty input { width: 84px; }
.quote input:disabled { opacity: .45; background: var(--paper-2); }
.quote input[type=text], .quote input[type=email], .quote input[type=tel], .quote input[type=number], .quote textarea {
  display: block; width: 100%; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; padding: 11px 13px; font-size: 15px; color: var(--ink); }
.quote input:focus, .quote textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(30,160,171,.18); }
.quote textarea { resize: vertical; min-height: 92px; }
.quote ::placeholder { color: #9aacba; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.fields label { display: grid; gap: 7px; }
.fields .full { grid-column: 1 / -1; }
.form-error { margin-top: 16px; color: var(--red); font-size: 14px; font-weight: 600; }
.form-error a { color: inherit; }
.form-ok { margin-top: 18px; padding: 14px 16px; border-left: 3px solid var(--teal); background: rgba(30,160,171,.08); border-radius: 0 6px 6px 0; font-size: 14.5px; color: var(--text); outline: none; }
.form-ok b { display: block; color: var(--ink); font-family: var(--display); margin-bottom: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn:disabled { opacity: .6; cursor: progress; }
.form-foot { display: flex; align-items: center; gap: 18px; margin-top: 26px; flex-wrap: wrap; }
.form-foot p { font-size: 13px; color: var(--muted); max-width: 22em; }

/* footer */
.site-foot { border-top: 1px solid var(--line); padding: 34px 0 40px; font-size: 13.5px; color: var(--muted); }
.foot-row { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 8px; }
.foot-brand img:first-child { height: 32px; width: auto; }
.foot-brand img:last-child { height: 20px; width: auto; }
.site-foot nav { margin-left: auto; display: flex; gap: 24px; flex-wrap: wrap; }
.site-foot a { color: var(--ink); text-decoration: none; font-weight: 600; }
.site-foot a:hover { text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .nav { display: none; }
  .btn-sm { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 0; aspect-ratio: 600 / 640; max-height: 640px; }
  .steps { padding-top: 36px; }
  .sec-head { grid-template-columns: 1fr; }
  .rack-grid, .film-grid, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --gut: 16px; }
  .head-row { height: 64px; }
  html { scroll-padding-top: 68px; }
  .brand-mark { height: 34px; } .brand-word { height: 20px; }
  .products, .reach, .benefits { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr 1fr; }
  .band li:nth-child(3) { border-left: 0; padding-left: 0; }
  .band li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .band li:nth-child(2), .band li:nth-child(4) { padding-right: 0; }
  .product-body { grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding: 24px 20px 26px; }
  .product-tip { width: 44px; }
  .fields { grid-template-columns: 1fr; }
  .qrow { flex-wrap: wrap; }
  .spec { min-width: 0; font-size: 13.5px; }
  .spec th, .spec td { padding: 11px 12px; }
  .spec thead th { font-size: 11.5px; letter-spacing: .08em; }
  .spec tbody th { width: 30%; }
  .spec td.y::before { display: none; }
  .hero-art figcaption { display: none; }
  .reach-panel figcaption { position: static; padding: 20px 20px 0; }
  .label-card em { display: none; }
  .foot-row { gap: 18px; }
  .site-foot nav { margin-left: 0; }
}
@media (max-width: 350px) {
  .btn-sm { padding: 0 12px; font-size: 13px; }
  .brand-word { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
.btn .fsize { font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 2px 6px; border-radius: 4px; box-shadow: inset 0 0 0 1px currentColor; opacity: .7; }
