@import url("https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@400;500;600;700;800;900&family=Newsreader:opsz,wght@6..72,400..800&family=Source+Serif+4:opsz,wght@8..60,400..800&display=swap");

/* ============================================================
   oilfields.work - gritty, mobile-first oilfield knowledge platform
   Design system: safety yellow/orange, asphalt black, steel gray
   Built to be read on a cracked phone screen in bright sun.
   ============================================================ */

:root {
  /* Core palette */
  --hi-vis:      #FFC400;   /* safety yellow — primary action */
  --hi-vis-deep: #FFAA00;   /* amber */
  --orange:      #FF6A00;   /* hazard orange — accents */
  --asphalt:     #0E0F12;   /* near-black background */
  --asphalt-2:   #16181D;   /* raised black panels */
  --steel:       #2A2E37;   /* steel gray borders/cards */
  --steel-2:     #3A404C;   /* lighter steel */
  --concrete:    #8B929B;   /* muted text */
  --concrete-2:  #B9C0C9;   /* secondary text */
  --white:       #F4F6F8;
  --green:       #25D366;   /* SMS / verified green */
  --red:         #FF4D4D;   /* expired credential */

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(0,0,0,.45);
  --shadow-hi: 0 8px 24px rgba(255,196,0,.28);
  --maxw: 1180px;

  --font: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-head: "Newsreader", "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-ui: "Libre Franklin", "Franklin Gothic Medium", "Arial Narrow", Arial, system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--asphalt);
  color: var(--white);
  line-height: 1.6;
  font-size: 17px;            /* large default for sun/cracked-screen legibility */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.02;
  letter-spacing: .3px;
  text-transform: uppercase;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 8vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 5.5vw, 3rem); }
h3 { font-size: clamp(1.3rem, 4vw, 1.7rem); }

p { color: var(--concrete-2); }

/* Claude-like typography: serif content, refined serif headings, clean sans UI */
button, input, select, textarea,
.btn, .kicker, .brand, .brand-name,
.nav-links a, .mobile-menu a,
.field label, .field input, .field select,
.conv-row label, .conv-input, .conv-select,
.faq-q, .alpha-nav a, .res-item .ri-tag,
.install-btn, .foot-col h4, .foot-col a, .foot-bottom,
.job-card .co, .job-card .posted,
.stat .lbl, .price-card .blurb,
.path-card .tag, .notice, .article-meta,
.breadcrumbs, .related-links a, .toc a,
.aside-card a, .tool-tile p, .topic-card p,
.gloss-term dd, .ref-quick .rq, .conv-formula,
.sms-demo .meta, .note {
  font-family: var(--font-ui) !important;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.center { text-align: center; }
.muted { color: var(--concrete); }
.hi { color: var(--hi-vis); }
.orange { color: var(--orange); }
.green { color: var(--green); }
.nowrap { white-space: nowrap; }

/* ---------- Hazard stripe ---------- */
.hazard-stripe {
  height: 8px;
  background: repeating-linear-gradient(
    45deg, var(--hi-vis), var(--hi-vis) 22px,
    var(--asphalt) 22px, var(--asphalt) 44px);
}
.hazard-stripe.thin { height: 5px; }

/* ---------- Eyebrow / kicker ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  text-transform: uppercase; letter-spacing: 2px;
  font-weight: 700; font-size: .82rem;
  color: var(--hi-vis);
  background: rgba(255,196,0,.08);
  border: 1px solid rgba(255,196,0,.3);
  padding: 6px 14px; border-radius: 100px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); text-transform: uppercase;
  font-weight: 700; letter-spacing: .6px; font-size: 1.05rem;
  padding: 15px 26px; border-radius: var(--radius-sm);
  border: 2px solid transparent; cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
  min-height: 54px;          /* fat tap targets for gloved/field thumbs */
  text-align: center;
}
.btn:active { transform: translateY(2px); }
.btn-primary {
  background: var(--hi-vis); color: #1a1300;
  box-shadow: var(--shadow-hi);
}
.btn-primary:hover { background: var(--hi-vis-deep); box-shadow: 0 10px 30px rgba(255,170,0,.4); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: #ff7d1f; }
.btn-ghost {
  background: transparent; color: var(--white);
  border-color: var(--steel-2);
}
.btn-ghost:hover { border-color: var(--hi-vis); color: var(--hi-vis); }
.btn-dark { background: var(--asphalt-2); color: var(--white); border-color: var(--steel); }
.btn-dark:hover { border-color: var(--hi-vis); }
.btn-block { width: 100%; }
.btn-lg { font-size: 1.18rem; padding: 18px 34px; min-height: 60px; }
.btn-sm { font-size: .92rem; padding: 10px 18px; min-height: 44px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14,15,18,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--steel);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--hi-vis); color: var(--asphalt);
  display: grid; place-items: center; font-weight: 800; font-size: 1.35rem;
  box-shadow: var(--shadow-hi);
}
.brand-name { font-size: 1.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.brand-name .dot { color: var(--hi-vis); }
.nav-links { display: none; gap: 26px; align-items: center; }
.nav-links a {
  font-family: var(--font-head); text-transform: uppercase;
  font-weight: 600; letter-spacing: .5px; font-size: .98rem;
  color: var(--concrete-2); transition: color .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--hi-vis); }
.nav-cta { display: none; gap: 10px; }
.nav-toggle {
  display: grid; place-items: center; width: 46px; height: 46px;
  background: var(--asphalt-2); border: 1px solid var(--steel);
  border-radius: 9px; cursor: pointer;
}
.nav-toggle span { display:block; width:22px; height:2.5px; background:var(--white); margin:3px 0; transition:.2s; }
.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 14px 20px 22px; border-bottom: 1px solid var(--steel);
  background: var(--asphalt-2);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-head); text-transform: uppercase; font-weight: 600;
  letter-spacing: .5px; padding: 13px 6px; font-size: 1.1rem;
  border-bottom: 1px solid var(--steel);
  color: var(--concrete-2);
}
.mobile-menu a:hover { color: var(--hi-vis); }
.mobile-menu .btn { margin-top: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  filter: grayscale(.3) contrast(1.05) brightness(.42);
}
.hero-bg::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(14,15,18,.55) 0%, rgba(14,15,18,.82) 70%, var(--asphalt) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 64px 0 76px; }
.hero h1 { margin: 14px 0 18px; max-width: 16ch; }
.hero h1 .stroke { color: var(--hi-vis); }
.hero-sub { font-size: 1.2rem; max-width: 54ch; color: var(--concrete-2); margin-bottom: 30px; }
.hero-cta { display: flex; flex-direction: column; gap: 14px; max-width: 440px; }
.hero-trust { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-trust .ht {
  display: flex; align-items: center; gap: 8px;
  font-size: .92rem; color: var(--concrete);
}
.hero-trust .ht b { color: var(--white); font-weight: 700; }

/* ---------- Dual path cards (worker / employer) ---------- */
.dual { display: grid; gap: 18px; }
.path-card {
  position: relative; overflow: hidden;
  background: var(--asphalt-2); border: 1px solid var(--steel);
  border-radius: var(--radius); padding: 30px 26px 28px;
  transition: transform .15s, border-color .15s;
}
.path-card:hover { transform: translateY(-4px); border-color: var(--hi-vis); }
.path-card .tag {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1.5px;
  font-weight: 700; font-size: .82rem; color: var(--asphalt);
  background: var(--hi-vis); display: inline-block; padding: 4px 12px;
  border-radius: 6px; margin-bottom: 14px;
}
.path-card.employer .tag { background: var(--orange); color: #fff; }
.path-card h3 { margin-bottom: 8px; }
.path-card ul { list-style: none; margin: 16px 0 22px; }
.path-card li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 7px 0; color: var(--concrete-2); font-size: 1.02rem;
}
.path-card li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: .6em;
  border-radius: 50%;
  background: var(--hi-vis);
  box-shadow: 0 0 0 4px rgba(255,196,0,.14);
  flex: none;
}
.path-card.employer li::before { background: var(--orange); box-shadow: 0 0 0 4px rgba(255,106,0,.14); }

/* ---------- Stat band ---------- */
.statband {
  background: linear-gradient(180deg, var(--asphalt-2), var(--asphalt));
  border-top: 1px solid var(--steel); border-bottom: 1px solid var(--steel);
}
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
.stat { text-align: center; }
.stat .num {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.4rem, 9vw, 3.4rem); color: var(--hi-vis); line-height: 1;
}
.stat .lbl { color: var(--concrete-2); font-size: .96rem; margin-top: 8px; }

/* ---------- Steps / how it works ---------- */
.steps { display: grid; gap: 18px; counter-reset: step; }
.step {
  position: relative; background: var(--asphalt-2);
  border: 1px solid var(--steel); border-radius: var(--radius);
  padding: 26px 24px 24px 24px;
}
.step .n {
  counter-increment: step;
  font-family: var(--font-head); font-weight: 800; font-size: 1.5rem;
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--hi-vis); color: var(--asphalt);
  display: grid; place-items: center; margin-bottom: 16px;
  box-shadow: var(--shadow-hi);
}
.step h3 { margin-bottom: 8px; }

/* ---------- Field reference showcase (phone mockup) ---------- */
.locker-wrap { display: grid; gap: 36px; align-items: center; }
.phone {
  max-width: 330px; margin: 0 auto; width: 100%;
  background: #000; border: 10px solid #1c1f26; border-radius: 38px;
  padding: 14px 12px; box-shadow: var(--shadow);
}
.phone-screen {
  background: var(--asphalt-2); border-radius: 26px; overflow: hidden;
  border: 1px solid var(--steel);
}
.phone-top {
  background: linear-gradient(180deg, var(--asphalt) , var(--asphalt-2));
  padding: 16px 16px 14px; border-bottom: 1px solid var(--steel);
}
.phone-top .me { display: flex; align-items: center; gap: 12px; }
.phone-top .av {
  width: 48px; height: 48px; border-radius: 12px; background: var(--steel-2);
  display: grid; place-items: center; font-family: var(--font-head);
  font-weight: 800; color: var(--hi-vis); font-size: 1.3rem;
}
.phone-top .nm { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: 1.05rem; }
.phone-top .rl { font-size: .8rem; color: var(--concrete); }
.cred-list { padding: 12px; display: grid; gap: 9px; }
.cred {
  display: flex; align-items: center; gap: 11px;
  background: var(--asphalt); border: 1px solid var(--steel);
  border-radius: 11px; padding: 11px 12px;
}
.cred .ic { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; font-size: 1rem; flex: none; }
.cred .ic.ok { background: rgba(37,211,102,.14); color: var(--green); border: 1px solid rgba(37,211,102,.4); }
.cred .ic.exp { background: rgba(255,77,77,.14); color: var(--red); border: 1px solid rgba(255,77,77,.4); }
.cred .nm2 { font-weight: 700; font-size: .92rem; }
.cred .st { font-size: .76rem; }
.cred .st.ok { color: var(--green); }
.cred .st.exp { color: var(--red); }
.cred .badge { margin-left: auto; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.cred .badge.ok { color: var(--green); }
.cred .badge.exp { color: var(--red); }

/* ---------- Feature list (checks) ---------- */
.feat-list { list-style: none; display: grid; gap: 14px; }
.feat-list li { display: flex; gap: 13px; align-items: flex-start; }
.feat-list .ck {
  flex: none; width: 28px; height: 28px; border-radius: 8px;
  background: rgba(255,196,0,.12); border: 1px solid rgba(255,196,0,.4);
  color: var(--hi-vis); display: grid; place-items: center; font-weight: 800; font-size: .9rem;
}
.feat-list b { color: var(--white); }

/* ---------- Job cards ---------- */
.jobs-grid { display: grid; gap: 16px; }
.job-card {
  background: var(--asphalt-2); border: 1px solid var(--steel);
  border-radius: var(--radius); padding: 20px 20px 18px;
  transition: border-color .15s, transform .15s;
}
.job-card:hover { border-color: var(--hi-vis); transform: translateY(-3px); }
.job-card .jc-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.job-card .role { font-family: var(--font-head); text-transform: uppercase; font-weight: 700; font-size: 1.32rem; }
.job-card .co { color: var(--concrete); font-size: .92rem; margin-top: 2px; }
.job-card .pay {
  font-family: var(--font-head); font-weight: 800; color: var(--hi-vis);
  font-size: 1.25rem; text-align: right; white-space: nowrap;
}
.job-card .pay span { display:block; font-size:.7rem; color: var(--concrete); font-family: var(--font); font-weight: 600; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 16px; }
.chip {
  font-size: .78rem; font-weight: 600; padding: 5px 11px; border-radius: 100px;
  background: var(--steel); color: var(--concrete-2); border: 1px solid var(--steel-2);
  display: inline-flex; align-items: center; gap: 6px;
}
.chip.cert { background: rgba(255,196,0,.1); border-color: rgba(255,196,0,.35); color: var(--hi-vis); }
.chip.loc { background: rgba(255,106,0,.1); border-color: rgba(255,106,0,.35); color: #ff8c40; }
.job-card .jc-foot { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.job-card .posted { font-size: .8rem; color: var(--concrete); }

/* ---------- Filter bar ---------- */
.filters {
  background: var(--asphalt-2); border: 1px solid var(--steel);
  border-radius: var(--radius); padding: 18px; margin-bottom: 24px;
  display: grid; gap: 12px;
}
.filters .frow { display: grid; gap: 12px; }
.field label { font-family: var(--font-head); text-transform: uppercase; font-weight: 600; font-size: .8rem; color: var(--concrete); letter-spacing: 1px; display: block; margin-bottom: 6px; }
.field select, .field input {
  width: 100%; background: var(--asphalt); border: 1px solid var(--steel-2);
  color: var(--white); padding: 13px 14px; border-radius: 10px; font-size: 1rem;
  font-family: var(--font); min-height: 50px;
}
.field select:focus, .field input:focus { outline: none; border-color: var(--hi-vis); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; gap: 20px; }
.price-card {
  background: var(--asphalt-2); border: 1px solid var(--steel);
  border-radius: var(--radius); padding: 30px 26px; position: relative;
  display: flex; flex-direction: column;
}
.price-card.featured { border-color: var(--hi-vis); box-shadow: var(--shadow-hi); }
.price-card .ribbon {
  position: absolute; top: -13px; left: 26px;
  background: var(--hi-vis); color: var(--asphalt);
  font-family: var(--font-head); text-transform: uppercase; font-weight: 800;
  font-size: .76rem; letter-spacing: 1px; padding: 5px 14px; border-radius: 7px;
}
.price-card .tier { font-family: var(--font-head); text-transform: uppercase; font-weight: 700; font-size: 1.4rem; }
.price-card .price { font-family: var(--font-head); font-weight: 800; font-size: 3rem; color: var(--hi-vis); line-height: 1; margin: 12px 0 4px; }
.price-card .price small { font-size: 1rem; color: var(--concrete); font-weight: 600; }
.price-card .blurb { color: var(--concrete-2); margin-bottom: 18px; min-height: 48px; }
.price-card ul { list-style: none; display: grid; gap: 11px; margin-bottom: 24px; flex: 1; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; color: var(--concrete-2); }
.price-card li::before { content: ""; width: 9px; height: 9px; margin-top: .55em; border-radius: 50%; background: var(--green); flex: none; box-shadow: 0 0 0 4px rgba(131,181,109,.13); }
.price-card li.off { color: var(--concrete); opacity: .6; }
.price-card li.off::before { content: "—"; color: var(--concrete); }

/* ---------- Generic card grid ---------- */
.grid-2 { display: grid; gap: 20px; }
.grid-3 { display: grid; gap: 20px; }
.card {
  background: var(--asphalt-2); border: 1px solid var(--steel);
  border-radius: var(--radius); padding: 26px 24px;
}
.card .ic-lg {
  width: 54px; height: 54px; border-radius: 13px; display: grid; place-items: center;
  font-size: 1.5rem; background: rgba(255,196,0,.1); border: 1px solid rgba(255,196,0,.35);
  margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; }

/* ---------- OpsFlo promo band ---------- */
.opsflo-band {
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(255,196,0,.08), transparent 55%),
    var(--asphalt-2);
  border: 1px solid var(--steel); border-radius: var(--radius);
  padding: 38px 30px;
}
.opsflo-band .of-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.opsflo-band .of-logo img { width: 40px; height: 40px; }
.opsflo-band .of-logo .nm { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; }
.opsflo-band .of-logo .nm span { color: var(--hi-vis); }

/* ---------- SMS demo bubble ---------- */
.sms-demo { display: grid; gap: 10px; max-width: 360px; }
.bubble {
  padding: 12px 15px; border-radius: 16px; font-size: .98rem; line-height: 1.45;
  max-width: 86%;
}
.bubble.in { background: var(--steel); border-bottom-left-radius: 5px; align-self: flex-start; }
.bubble.out { background: var(--green); color: #04210f; border-bottom-right-radius: 5px; align-self: flex-end; }
.sms-demo .meta { font-size: .76rem; color: var(--concrete); text-align: center; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--asphalt-2); border: 1px solid var(--steel);
  border-radius: var(--radius); padding: 28px 24px;
}
.form-row { display: grid; gap: 16px; margin-bottom: 16px; }
.note { font-size: .85rem; color: var(--concrete); }
.notice {
  background: rgba(255,196,0,.08); border: 1px solid rgba(255,196,0,.3);
  border-radius: 10px; padding: 13px 15px; font-size: .92rem; color: var(--concrete-2);
}
.notice b { color: var(--hi-vis); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--steel); position: relative; z-index: 1; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; color: var(--white);
  font-family: var(--font-head); text-transform: uppercase; font-weight: 600;
  font-size: 1.15rem; padding: 20px 40px 20px 0; cursor: pointer; position: relative;
}
.faq-q::after { content: "+"; position: absolute; right: 6px; top: 18px; color: var(--hi-vis); font-size: 1.6rem; }
.faq-item.open .faq-q::after { content: "–"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding-bottom: 20px; }

/* ---------- Section headers ---------- */
.sec-head { max-width: 64ch; margin-bottom: 36px; }
.sec-head.center { margin-left: auto; margin-right: auto; }
.sec-head h2 { margin: 12px 0 12px; }
.sec-head p { font-size: 1.1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--asphalt-2); border-top: 1px solid var(--steel); padding: 52px 0 28px; }
.foot-grid { display: grid; gap: 30px; }
.foot-col h4 { font-size: 1rem; color: var(--hi-vis); margin-bottom: 14px; letter-spacing: 1px; }
.foot-col a { display: block; color: var(--concrete-2); padding: 5px 0; font-size: .96rem; }
.foot-col a:hover { color: var(--hi-vis); }
.foot-bottom {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--steel);
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
  font-size: .86rem; color: var(--concrete);
}
.foot-bottom .powered { display: flex; align-items: center; gap: 8px; }
.foot-bottom .powered img { width: 22px; height: 22px; }

/* ---------- Reveal on scroll ---------- */
/* Only hide when JS is active (html.js). Without JS, content is always visible. */
.reveal { transition: opacity .6s ease, transform .6s ease; }
html.js .reveal { opacity: 0; transform: translateY(22px); }
html.js .reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE — desktop enhancements (mobile is the default)
   ============================================================ */
@media (min-width: 720px) {
  .hero-cta { flex-direction: row; }
  .dual { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .jobs-grid { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: repeat(3, 1fr); }
  .filters .frow { grid-template-columns: repeat(4, 1fr); }
  .form-row.two { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .foot-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
  .locker-wrap { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: flex; }
  .nav-toggle { display: none; }
  .section { padding: 92px 0; }
  .hero-inner { padding: 90px 0 100px; }
  .locker-wrap { grid-template-columns: 1.1fr .9fr; gap: 56px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ============================================================
   2026 visual upgrade layer - oilfield intelligence platform
   Custom SVG icons, WebGL hero depth, editorial reference UI
   ============================================================ */
:root {
  --hi-vis: #d9a534;
  --hi-vis-deep: #b98122;
  --orange: #b96b2c;
  --asphalt: #080a0d;
  --asphalt-2: #10141a;
  --steel: #27303b;
  --steel-2: #3a4654;
  --concrete: #8d98a6;
  --concrete-2: #c3cbd4;
  --white: #f3efe5;
  --green: #83b56d;
  --red: #c85c5c;
  --shadow: 0 24px 80px rgba(0,0,0,.42);
  --shadow-hi: 0 16px 44px rgba(217,165,52,.18);
  --maxw: 1240px;
}

body {
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(217,165,52,.13), transparent 58%),
    radial-gradient(840px 500px at -10% 18%, rgba(98,118,139,.14), transparent 58%),
    var(--asphalt);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

.hazard-stripe {
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--hi-vis) 16%, #f1d98a 48%, var(--hi-vis) 82%, transparent);
}
.hazard-stripe.thin { height: 3px; }

.site-header {
  background: rgba(8,10,13,.78);
  border-bottom: 1px solid rgba(217,165,52,.16);
  box-shadow: 0 12px 40px rgba(0,0,0,.28);
}
.nav { height: 76px; }
.brand { gap: 12px; }
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(217,165,52,.22), rgba(217,165,52,.05)),
    #111821;
  border: 1px solid rgba(217,165,52,.36);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 16px 30px rgba(0,0,0,.32);
}
.brand-mark svg { width: 27px; height: 27px; color: var(--hi-vis); }
.brand-name { letter-spacing: 1.3px; }
.nav-links a { letter-spacing: .08em; }
.nav-links a:hover, .nav-links a.active { color: #f0cd72; }

.btn {
  border-radius: 12px;
  transform: translateZ(0);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, .nav-toggle:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid #f0cd72;
  outline-offset: 3px;
}
.btn-primary {
  background: linear-gradient(135deg, #f0cd72, var(--hi-vis-deep));
  color: #11100b;
  border-color: rgba(255,255,255,.12);
}
.btn-dark, .btn-ghost {
  background: rgba(255,255,255,.045);
  border-color: rgba(217,165,52,.18);
}
.install-btn svg {
  width: 18px;
  height: 18px;
  color: currentColor;
  flex: none;
}

.hero {
  min-height: min(860px, calc(100dvh - 4px));
  display: grid;
  align-items: center;
  border-bottom: 1px solid rgba(217,165,52,.14);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(8,10,13,.96));
  z-index: 1;
}
.hero-bg {
  filter: grayscale(.18) contrast(1.12) brightness(.36);
  transform: scale(1.04);
}
.hero-bg::after {
  background:
    radial-gradient(900px 520px at 70% 28%, rgba(217,165,52,.14), transparent 58%),
    linear-gradient(90deg, rgba(8,10,13,.92), rgba(8,10,13,.66) 52%, rgba(8,10,13,.84)),
    linear-gradient(180deg, rgba(8,10,13,.15), rgba(8,10,13,.93));
}
.hero-webgl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: .28;
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.hero-inner { z-index: 2; padding: clamp(70px, 9vw, 120px) 0 clamp(82px, 10vw, 130px); }
.hero h1 {
  max-width: 14.5ch;
  letter-spacing: -.035em;
  text-wrap: balance;
  text-shadow: 0 16px 40px rgba(0,0,0,.42);
}
.hero h1 .stroke {
  color: #f0cd72;
  text-shadow: 0 0 34px rgba(217,165,52,.2);
}
.hero-sub {
  max-width: 62ch;
  color: #d0d6dd;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}
.kicker {
  border-radius: 10px;
  background: rgba(217,165,52,.08);
  border-color: rgba(217,165,52,.26);
  color: #f0cd72;
}
.hero-trust .ht {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.08);
  padding: 8px 12px;
  border-radius: 999px;
}

.topic-grid {
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 760px) {
  .topic-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.topic-card, .tool-tile, .card, .keybox, .aside-card, .opsflo-band, .def-card, .filters, .price-card, .job-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(217,165,52,.1), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)),
    rgba(16,20,26,.92);
  border-color: rgba(217,165,52,.14);
  box-shadow: 0 18px 60px rgba(0,0,0,.24);
}
.topic-card:hover, .tool-tile:hover, .card:hover {
  border-color: rgba(240,205,114,.48);
  transform: translateY(-5px);
}
.topic-card::before, .tool-tile::before, .card::before, .opsflo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.08), transparent 34%);
  opacity: .55;
}
.tc-ic, .t-ic, .ic-lg, .ck {
  color: #f0cd72;
}
.tc-ic.svg-ready, .t-ic.svg-ready, .card .ic-lg.svg-ready {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(217,165,52,.09);
  border: 1px solid rgba(217,165,52,.22);
  margin-bottom: 14px;
}
.tc-ic svg, .t-ic svg, .ic-lg svg {
  width: 34px;
  height: 34px;
}
.feat-list .ck.svg-ready {
  background: rgba(131,181,109,.1);
  border-color: rgba(131,181,109,.32);
  color: var(--green);
}
.feat-list .ck svg { width: 18px; height: 18px; }
.topic-card .tc-more, .toc a::before, .prose ul li::before {
  color: #f0cd72;
}
.tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 720px) {
  .tools-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.tool-tile {
  min-height: 180px;
  padding: 24px;
  border-radius: var(--radius);
}
.tool-tile h3 { margin-top: 8px; }

.sec-head h2, .article-head h1, .prose h2 {
  text-wrap: balance;
}
.prose {
  background: rgba(255,255,255,.018);
  border: 1px solid rgba(217,165,52,.08);
  border-radius: 18px;
  padding: clamp(20px, 3vw, 32px);
}
.article-layout { gap: 28px; }
.table-wrap { border-color: rgba(217,165,52,.16); }
.gloss-term { border-color: rgba(217,165,52,.12); }

.site-footer {
  background:
    radial-gradient(700px 360px at 12% 0%, rgba(217,165,52,.09), transparent 58%),
    #0b0e12;
}

.field-intel {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  margin-top: 34px;
}
@media (min-width: 900px) {
  .field-intel { grid-template-columns: 1.2fr .8fr; }
}
.intel-panel {
  border: 1px solid rgba(217,165,52,.18);
  background: rgba(16,20,26,.78);
  border-radius: 18px;
  padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--shadow);
}
.intel-panel h3 { margin-bottom: 12px; }
.intel-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.intel-cell {
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.035);
  border-radius: 14px;
  padding: 15px;
}
.intel-cell b {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  line-height: 1;
  color: #f0cd72;
}
.intel-cell span {
  display: block;
  margin-top: 5px;
  color: var(--concrete);
  font-size: .84rem;
}

@media (max-width: 640px) {
  .hero { min-height: auto; max-width: 100vw; }
  .hero-webgl { left: 0; right: auto; width: 100vw; max-width: 100vw; }
  .hero-inner { padding: 44px 0 52px; }
  .hero h1 {
    max-width: 11.5ch;
    font-size: clamp(2.1rem, 11.8vw, 3.1rem);
    line-height: .95;
  }
  .hero-sub {
    max-width: 38ch;
    font-size: 1.04rem;
    margin-bottom: 24px;
  }
  .hero-cta { max-width: none; }
  .hero-trust { margin-top: 18px; gap: 8px 14px; }
  .field-intel { margin-top: 22px; gap: 14px; }
  .intel-panel { padding: 18px; }
  .intel-grid { gap: 8px; }
  .intel-cell { padding: 12px; }
  .intel-cell b { font-size: 1.35rem; }
  .brand-name { font-size: 1.25rem; }
  .topic-card, .tool-tile, .card { padding: 20px; }
}

/* ============================================================
   ENCYCLOPEDIA / KNOWLEDGE-BASE LAYER
   Information-first, readable long-form + reference UI
   ============================================================ */

/* ---- Breadcrumbs ---- */
.breadcrumbs { padding: 16px 0 0; font-size: .86rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumbs a { color: var(--concrete); }
.breadcrumbs a:hover { color: var(--hi-vis); }
.breadcrumbs li::after { content: "/"; color: var(--steel-2); margin-left: 6px; }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs li[aria-current] { color: var(--concrete-2); }

/* ---- Article layout ---- */
.article-head { padding: 26px 0 8px; }
.article-head .kicker { margin-bottom: 14px; }
.article-head h1 { font-size: clamp(2rem, 6vw, 3.3rem); margin-bottom: 14px; }
.article-lede { font-size: 1.18rem; color: var(--concrete-2); max-width: 62ch; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: .85rem; color: var(--concrete); }
.article-layout { display: grid; gap: 36px; align-items: start; }
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin-top: 38px; padding-top: 6px; }
.prose h3 { font-size: 1.25rem; margin-top: 26px; color: var(--white); }
.prose p, .prose li { color: var(--concrete-2); font-size: 1.06rem; line-height: 1.7; }
.prose a { color: var(--hi-vis); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,196,0,.4); }
.prose a:hover { text-decoration-color: var(--hi-vis); }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 9px; }
.prose ul li { list-style: none; position: relative; padding-left: 4px; }
.prose ul li::before {
  content: "";
  width: 7px;
  height: 7px;
  top: .72em;
  border-radius: 50%;
  background: var(--hi-vis);
  position: absolute;
  left: -18px;
}
.prose ol { list-style: decimal; }
.prose ol li::marker { color: var(--hi-vis); font-family: var(--font-head); font-weight: 700; }
.prose strong, .prose b { color: var(--white); }
.prose code { background: var(--asphalt-2); border: 1px solid var(--steel); padding: 2px 7px; border-radius: 6px; font-size: .92em; color: var(--hi-vis); }
.prose blockquote {
  border-left: 4px solid var(--hi-vis); padding: 4px 0 4px 18px; margin: 22px 0;
  color: var(--concrete-2); font-style: italic;
}

/* Key-fact callout box */
.keybox {
  background: rgba(255,196,0,.06); border: 1px solid rgba(255,196,0,.3);
  border-radius: var(--radius); padding: 20px 22px; margin: 24px 0;
}
.keybox .kb-h { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; color: var(--hi-vis); font-size: .9rem; margin-bottom: 10px; }
.keybox p, .keybox li { color: var(--concrete-2); }

/* Definition flash card at top of "what is" pages */
.def-card {
  background: var(--asphalt-2); border: 1px solid var(--steel);
  border-left: 5px solid var(--hi-vis); border-radius: var(--radius);
  padding: 20px 22px; margin: 22px 0;
}
.def-card .term { font-family: var(--font-head); text-transform: uppercase; font-weight: 700; font-size: 1.2rem; }
.def-card p { color: var(--concrete-2); margin-top: 6px; }

/* ---- Data / reference tables ---- */
.table-wrap { overflow-x: auto; margin: 22px 0; border: 1px solid var(--steel); border-radius: var(--radius); }
table.data { width: 100%; border-collapse: collapse; min-width: 460px; font-size: .96rem; }
table.data th, table.data td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--steel); }
table.data thead th { background: var(--asphalt-2); font-family: var(--font-head); text-transform: uppercase; letter-spacing: .5px; font-size: .82rem; color: var(--hi-vis); }
table.data tbody tr:hover, table.data tbody tr:hover { background: rgba(255,196,0,.03); }
table.data td:first-child { color: var(--white); font-weight: 600; }

/* ---- In-this-guide / TOC box ---- */
.toc {
  background: var(--asphalt-2); border: 1px solid var(--steel);
  border-radius: var(--radius); padding: 20px 22px; margin: 0 0 4px;
}
.toc h4 { font-family: var(--font-head); text-transform: uppercase; color: var(--hi-vis); letter-spacing: 1px; font-size: .9rem; margin-bottom: 12px; }
.toc ul { list-style: none; display: grid; gap: 8px; }
.toc a { color: var(--concrete-2); font-size: .98rem; display: flex; gap: 8px; }
.toc a::before { content: "→"; color: var(--hi-vis); }
.toc a:hover { color: var(--hi-vis); }

/* ---- Sidebar (article aside) ---- */
.aside-card {
  background: var(--asphalt-2); border: 1px solid var(--steel);
  border-radius: var(--radius); padding: 20px; margin-bottom: 18px;
}
.aside-card h4 { font-family: var(--font-head); text-transform: uppercase; color: var(--hi-vis); letter-spacing: 1px; font-size: .9rem; margin-bottom: 12px; }
.aside-card ul { list-style: none; display: grid; gap: 9px; }
.aside-card a { color: var(--concrete-2); font-size: .95rem; }
.aside-card a:hover { color: var(--hi-vis); }

/* ---- Pillar / hub topic grid ---- */
.topic-grid { display: grid; gap: 16px; }
.topic-card {
  background: var(--asphalt-2); border: 1px solid var(--steel);
  border-radius: var(--radius); padding: 22px; transition: border-color .15s, transform .15s;
  display: block;
}
.topic-card:hover { border-color: var(--hi-vis); transform: translateY(-3px); }
.topic-card .tc-ic { font-size: 1.7rem; margin-bottom: 10px; }
.topic-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.topic-card p { font-size: .96rem; color: var(--concrete); }
.topic-card .tc-more { color: var(--hi-vis); font-family: var(--font-head); text-transform: uppercase; font-size: .82rem; letter-spacing: .5px; margin-top: 12px; display: inline-block; }

/* Related links chips */
.related-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.related-links a {
  background: var(--asphalt-2); border: 1px solid var(--steel); border-radius: 100px;
  padding: 8px 16px; font-size: .92rem; color: var(--concrete-2);
}
.related-links a:hover { border-color: var(--hi-vis); color: var(--hi-vis); }

/* ============================================================
   GLOSSARY
   ============================================================ */
.glossary-search {
  display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap;
}
.glossary-search input {
  flex: 1; min-width: 220px; background: var(--asphalt-2); border: 1px solid var(--steel-2);
  color: var(--white); padding: 14px 16px; border-radius: 10px; font-size: 1.05rem; min-height: 52px;
}
.glossary-search input:focus { outline: none; border-color: var(--hi-vis); }
.alpha-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.alpha-nav a {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: var(--asphalt-2); border: 1px solid var(--steel); border-radius: 8px;
  font-family: var(--font-head); font-weight: 700; color: var(--concrete-2);
}
.alpha-nav a:hover { border-color: var(--hi-vis); color: var(--hi-vis); }
.gloss-group { margin-bottom: 30px; }
.gloss-group h2 { font-size: 2rem; color: var(--hi-vis); border-bottom: 1px solid var(--steel); padding-bottom: 6px; margin-bottom: 14px; }
.gloss-term {
  background: var(--asphalt-2); border: 1px solid var(--steel); border-radius: var(--radius-sm);
  padding: 16px 18px; margin-bottom: 10px;
}
.gloss-term dt { font-family: var(--font-head); text-transform: uppercase; font-weight: 700; font-size: 1.15rem; color: var(--white); }
.gloss-term dd { color: var(--concrete-2); margin-top: 5px; font-size: 1rem; }
.gloss-term.hide { display: none; }
.gloss-empty { display: none; text-align: center; padding: 40px 0; color: var(--concrete); }

/* ============================================================
   TOOLS / CONVERTERS (PWA-friendly, text-light, big controls)
   ============================================================ */
.tools-grid { display: grid; gap: 14px; }
.tool-tile {
  background: var(--asphalt-2); border: 1px solid var(--steel); border-radius: var(--radius);
  padding: 20px; display: flex; flex-direction: column; gap: 4px; transition: border-color .15s, transform .15s;
}
.tool-tile:hover { border-color: var(--hi-vis); transform: translateY(-3px); }
.tool-tile .t-ic { font-size: 1.6rem; }
.tool-tile h3 { font-size: 1.12rem; }
.tool-tile p { font-size: .9rem; color: var(--concrete); }
.tool-cat-h { font-family: var(--font-head); text-transform: uppercase; color: var(--hi-vis); letter-spacing: 1px; font-size: 1.1rem; margin: 26px 0 12px; }

/* Converter widget (the actual tool UI — clean, big, minimal text) */
.converter {
  background: var(--asphalt-2); border: 1px solid var(--steel);
  border-radius: var(--radius); padding: 22px; max-width: 560px; margin: 0 auto;
}
.conv-row { display: grid; gap: 8px; margin-bottom: 14px; }
.conv-row label { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; font-size: .82rem; color: var(--concrete); }
.conv-inputs { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: stretch; }
.conv-inputs.single { grid-template-columns: 1fr; }
.conv-input, .conv-select {
  background: var(--asphalt); border: 2px solid var(--steel-2); color: var(--white);
  padding: 16px 16px; border-radius: 12px; font-size: 1.5rem; font-family: var(--font-head); font-weight: 700;
  width: 100%; min-height: 62px;
}
.conv-select { font-size: 1rem; font-family: var(--font); font-weight: 600; min-width: 120px; }
.conv-input:focus, .conv-select:focus { outline: none; border-color: var(--hi-vis); }
.conv-swap {
  display: grid; place-items: center; margin: 6px auto 14px; width: 50px; height: 50px;
  background: var(--asphalt); border: 1px solid var(--steel-2); border-radius: 50%;
  color: var(--hi-vis); font-size: 1.4rem; cursor: pointer; transition: transform .2s, border-color .15s;
}
.conv-swap:hover { border-color: var(--hi-vis); transform: rotate(180deg); }
.conv-result {
  background: var(--hi-vis); color: #1a1300; border-radius: 12px; padding: 18px 20px; text-align: center;
}
.conv-result .rv { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 8vw, 3rem); line-height: 1; word-break: break-word; }
.conv-result .ru { font-weight: 700; font-size: 1rem; margin-top: 4px; opacity: .85; }
.conv-formula { text-align: center; font-size: .9rem; color: var(--concrete); margin-top: 14px; }
.conv-formula code { background: var(--asphalt); border: 1px solid var(--steel); padding: 3px 8px; border-radius: 6px; color: var(--hi-vis); }

/* Mini reference table under converters */
.ref-quick { display: grid; gap: 6px; margin-top: 18px; }
.ref-quick .rq { display: flex; justify-content: space-between; padding: 9px 12px; background: var(--asphalt); border: 1px solid var(--steel); border-radius: 8px; font-size: .95rem; }
.ref-quick .rq b { color: var(--hi-vis); }

/* Install PWA button */
.install-btn { display: none; }
.install-btn.show { display: inline-flex; }

/* Tool page — fullscreen minimal mode helpers */
.tool-shell { min-height: 60vh; display: grid; place-items: center; padding: 24px 0; }
.tool-note { font-size: .82rem; color: var(--concrete); text-align: center; margin-top: 14px; max-width: 52ch; margin-left:auto; margin-right:auto; }

/* ---- Resource directory ---- */
.res-cat { margin-bottom: 30px; }
.res-cat h2 { font-size: 1.7rem; color: var(--hi-vis); margin-bottom: 6px; }
.res-list { display: grid; gap: 12px; margin-top: 14px; }
.res-item {
  background: var(--asphalt-2); border: 1px solid var(--steel); border-radius: var(--radius-sm);
  padding: 16px 18px; display: flex; justify-content: space-between; gap: 14px; align-items: center; flex-wrap: wrap;
}
.res-item .ri-main h3 { font-size: 1.1rem; margin-bottom: 3px; }
.res-item .ri-main p { font-size: .92rem; color: var(--concrete); }
.res-item .ri-tag { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: 4px 10px; border-radius: 100px; background: var(--steel); color: var(--concrete-2); }

/* ---- OpsFlo soft inline CTA (used sparingly in articles) ---- */
.opsflo-inline {
  background: linear-gradient(120deg, rgba(255,196,0,.07), transparent), var(--asphalt-2);
  border: 1px solid var(--steel); border-left: 4px solid var(--hi-vis);
  border-radius: var(--radius); padding: 20px 22px; margin: 30px 0;
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
}
.opsflo-inline img { width: 38px; height: 38px; flex: none; }
.opsflo-inline .oi-txt { flex: 1; min-width: 220px; }
.opsflo-inline .oi-txt b { color: var(--white); }
.opsflo-inline .oi-txt p { font-size: .96rem; color: var(--concrete-2); margin-top: 2px; }

@media (min-width: 720px) {
  .topic-grid { grid-template-columns: 1fr 1fr; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .article-layout.has-aside { grid-template-columns: minmax(0,1fr) 300px; }
  .topic-grid { grid-template-columns: repeat(3, 1fr); }
  .tools-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Final override: keep interface chrome in the sans stack */
button, input, select, textarea,
.btn, .kicker, .brand, .brand-name,
.nav-links a, .mobile-menu a,
.field label, .field input, .field select,
.conv-row label, .conv-input, .conv-select,
.faq-q, .alpha-nav a, .res-item .ri-tag,
.install-btn, .foot-col h4, .foot-col a, .foot-bottom,
.job-card .co, .job-card .posted,
.stat .lbl, .price-card .blurb,
.path-card .tag, .notice, .article-meta,
.breadcrumbs, .related-links a, .toc a,
.aside-card a, .tool-tile p, .topic-card p,
.gloss-term dd, .ref-quick .rq, .conv-formula,
.sms-demo .meta, .note {
  font-family: var(--font-ui) !important;
}
