/* ============================================================
   ORIGEQ — DESIGN SYSTEM STYLES
   ------------------------------------------------------------
   Engineering-spec aesthetic: quiet near-black / warm paper,
   Origeq purple accent, geometric display + technical mono.

   This file is the visual layer that comes from Claude Design.
   It reads ONLY from the tokens in tokens.css (var(--…)) so the
   whole palette/typography can be re-skinned from one file.

   Structure of this file:
     0. Reset & base atoms          5. How it works
     1. Buttons                     6. Problem
     2. Scroll reveal + grid        7. Solution (3D viewer)
     3. Navigation                  8. Pricing
     4. Hero (banner) + marquee     9. Why / Final CTA / Footer
                                    10. Case-study article
                                    11. Responsive
   ============================================================ */

/* ===== 0. Reset & base atoms ============================== */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--f-display);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { max-width: 100%; }

.mono {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
}

/* Small accent-coloured kicker used above headings */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
}

/* Centres content and applies the page gutter */
.shell {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 16px;
  z-index: 200;
  font-family: var(--f-mono);
  font-size: 12px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ===== 1. Buttons ========================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 0;
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: all 0.2s var(--ease-out);
  background: transparent;
  color: var(--text);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--text-2); background: var(--surface); }
.btn .arrow { transition: transform 0.2s var(--ease-out); display: inline-block; }
.btn:hover .arrow { transform: translateX(3px); }

/* ===== 2. Scroll reveal + blueprint grid ================== */

/* Progressive enhancement: content is fully visible without JS.
   base.njk adds `.js` to <html> before paint, which arms the
   reveal animation; main.js then adds `.in` as elements scroll in. */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.js .reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: -1px -1px;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
          mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* ===== 3. Navigation ====================================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 13px; color: var(--text-2); transition: color 0.15s; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 8px 14px; font-size: 13px; }
.nav-toggle {
  padding: 8px 10px;
  font-size: 12px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text);
  line-height: 1;
}
.nav-toggle:hover { border-color: var(--text-2); }

/* Origeq wordmark (inline SVG, theme-aware via var(--accent)/var(--text)) */
.lp-logo { display: inline-flex; align-items: center; height: 26px; }
.lp-logo svg { display: block; height: 26px; width: auto; }
.lp-logo--footer svg { height: 30px; }

/* Language switch in the nav */
.nav-lang {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-3);
  border: 1px solid var(--line);
  padding: 7px 9px;
  text-transform: uppercase;
}
.nav-lang:hover { color: var(--text); border-color: var(--line-2); }

/* ===== 4. Hero (banner) + customer marquee ================ */

section { position: relative; }

.beat { position: relative; padding: clamp(96px, 11vw, 168px) 0; overflow: hidden; }

.beat-banner {
  position: relative;
  padding-top: 134px;
  padding-bottom: 76px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.banner-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 5vw, 64px);
  align-items: stretch;
  min-height: 460px;
}
.banner-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.banner-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.banner-eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); }
.banner-left h1 {
  font-family: var(--f-editorial);
  font-weight: 500;          /* industrial typeset weight */
  font-size: clamp(40px, 5.2vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.028em;
  margin: 0 0 26px;
  color: var(--text);
  text-wrap: balance;
}
.banner-left h1 em { font-style: normal; font-weight: 700; color: var(--accent); }
.banner-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 540px;
  margin: 0 0 34px;
}
.banner-sub b { color: var(--text); font-weight: 600; }
.banner-cta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.banner-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  max-width: 560px;
}
.banner-proof .item { display: inline-flex; align-items: center; gap: 9px; }
.banner-proof .item .tick { width: 5px; height: 5px; background: var(--accent); transform: rotate(45deg); display: inline-block; }
.banner-right { min-height: 460px; }

/* Framed 3D-viewer panel (rendered as a static wireframe here) */
.viewer-frame {
  position: relative;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 60% 40%, color-mix(in srgb, var(--accent) 6%, transparent), transparent 65%),
    linear-gradient(180deg, transparent, color-mix(in srgb, var(--accent) 3%, transparent));
  min-height: 460px;
  overflow: hidden;
}
.viewer-frame .corner { position: absolute; width: 14px; height: 14px; border: 1px solid var(--accent); pointer-events: none; }
.viewer-frame .corner.tl { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.viewer-frame .corner.tr { top: 12px; right: 12px; border-left: none; border-bottom: none; }
.viewer-frame .corner.bl { bottom: 12px; left: 12px; border-right: none; border-top: none; }
.viewer-frame .corner.br { bottom: 12px; right: 12px; border-left: none; border-top: none; }
.viewer-frame .spec-tag {
  position: absolute;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-3);
  text-transform: uppercase;
}
.viewer-frame .spec-tag.t1 { top: 24px; left: 30px; }
.viewer-frame .spec-tag.t2 { top: 24px; right: 30px; color: var(--accent); }
.viewer-frame .spec-tag.t3 { bottom: 24px; left: 30px; }
.viewer-frame .spec-tag.t4 { bottom: 24px; right: 30px; }
.viewer-art { position: absolute; inset: 0; display: grid; place-items: center; padding: 14%; }
.viewer-art svg { width: 100%; height: auto; max-width: 420px; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .viewer-art svg { animation: floaty 7s var(--ease-in-out) infinite; }
}
@keyframes floaty { 0%,100% { transform: translateY(-6px); } 50% { transform: translateY(6px); } }

.marquee {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-1);
}
.marquee-row {
  display: flex;
  gap: 64px;
  align-items: center;
  animation: marquee 36s linear infinite;
  white-space: nowrap;
  width: max-content;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-row { animation: none; } }
.marquee-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  padding-right: 28px;
  border-right: 1px solid var(--line);
  flex-shrink: 0;
}
.logo-pill {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-2);
  opacity: 0.7;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.logo-pill .dot { width: 6px; height: 6px; background: var(--accent); display: inline-block; }

/* ===== Section rhythm + chapter marker + intro ============ */

.lp-section { position: relative; padding: clamp(88px, 10vw, 150px) 0; overflow: hidden; }
.lp-section + .lp-section { border-top: 1px solid var(--line); }

.beat-chapter {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 36px;
}
.beat-chapter .ch-num { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--accent); }
.beat-chapter .ch-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); }
.beat-chapter .ch-rule { height: 1px; background: var(--line); }

.lp-intro {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 84px);
}
.lp-intro h1,
.lp-intro h2 {
  font-family: var(--f-editorial);
  font-weight: 600;          /* industrial typeset weight */
  font-size: clamp(34px, 4.6vw, 66px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--text);
  text-wrap: balance;
}
.lp-intro h1 em,
.lp-intro h2 em { font-style: normal; font-weight: 700; color: var(--accent); }
.lp-intro p { font-size: clamp(15px, 1.3vw, 18px); line-height: 1.6; color: var(--text-2); margin: 0; max-width: 460px; }
.lp-intro p b { color: var(--text); font-weight: 600; }

/* ===== 5. How it works ==================================== */

.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.how-step { position: relative; }
.how-step .num {
  font-family: var(--f-display);
  font-size: 96px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}
.how-step .num .sym { font-family: var(--f-mono); font-size: 14px; letter-spacing: 0.1em; color: var(--text-3); vertical-align: top; margin-left: 4px; }
.how-step h3 { font-family: var(--f-display); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 10px; }
.how-step p { font-size: 15px; line-height: 1.55; color: var(--text-2); margin: 0; max-width: 320px; }
.how-step::after { content: ""; position: absolute; top: 48px; right: -16px; width: 24px; height: 1px; background: var(--line-2); }
.how-step:last-child::after { display: none; }
.how-step .steplines {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.how-step .steplines .ln {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-3);
  align-items: start;
}
.how-step .steplines .ln .mk { color: var(--accent); }

/* ===== 6. Problem ========================================= */

.lp-problem { background: var(--bg-1); }
.lp-problem .prose {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  margin-bottom: clamp(48px, 6vw, 80px);
}
.lp-problem .prose p { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: var(--text-2); margin: 0; }
.lp-problem .prose p b { color: var(--text); font-weight: 600; }
.lp-problem .prose p em { font-family: var(--f-editorial); font-style: italic; color: var(--text); }

.lp-costrow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: clamp(48px, 6vw, 80px);
}
.lp-costrow .cell { background: var(--bg); padding: clamp(22px, 2.4vw, 34px); display: flex; flex-direction: column; gap: 12px; }
.lp-costrow .cell .k { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 9px; }
.lp-costrow .cell .k::before { content: ""; width: 5px; height: 5px; background: var(--accent); transform: rotate(45deg); }
.lp-costrow .cell .d { font-size: clamp(14px, 1.15vw, 16px); line-height: 1.55; color: var(--text-2); }

.lp-review {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.lp-review .big { font-family: var(--f-display); font-weight: 600; font-size: clamp(40px, 5vw, 72px); letter-spacing: -0.04em; color: var(--text); line-height: 1; }
.lp-review .txt { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); max-width: 360px; line-height: 1.6; }

.lp-statsplit { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-top: none; }
.lp-statsplit .cell { background: var(--bg); padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 14px; }
.lp-statsplit .cell .v { font-family: var(--f-display); font-weight: 500; font-size: clamp(64px, 9vw, 128px); line-height: 0.85; letter-spacing: -0.05em; color: var(--accent); }
.lp-statsplit .cell:first-child .v { color: var(--text-3); }
.lp-statsplit .cell .l { font-size: clamp(14px, 1.2vw, 17px); line-height: 1.5; color: var(--text-2); max-width: 320px; }
.lp-statsplit .cell .l b { color: var(--text); font-weight: 600; }

.lp-today {
  margin-top: clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  padding-top: clamp(32px, 4vw, 56px);
  border-top: 1px solid var(--line);
}
.lp-today h3 { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); margin: 4px 0 0; font-weight: 500; max-width: 160px; line-height: 1.6; }
.lp-today p { font-size: clamp(15px, 1.3vw, 18px); line-height: 1.65; color: var(--text-2); margin: 0; max-width: 640px; }
.lp-today p b { color: var(--text); font-weight: 600; }

/* ===== 7. Solution (interactive viewer, static substitute) = */

.viewer-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: stretch; min-height: 560px; }
.lp-solution .sol-copy { display: flex; flex-direction: column; justify-content: center; }
.lp-solution .sol-copy .eyebrow { margin-bottom: 4px; }
.lp-solution .sol-copy h2 {
  font-family: var(--f-editorial);
  font-weight: 600;
  font-size: clamp(32px, 4.2vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 18px 0 22px;
  color: var(--text);
}
.lp-solution .sol-copy h2 em { font-style: normal; font-weight: 700; color: var(--accent); }
.lp-solution .sol-copy p { font-size: clamp(15px, 1.3vw, 18px); line-height: 1.6; color: var(--text-2); margin: 0 0 18px; max-width: 480px; }
.lp-solution .sol-copy p b { color: var(--text); font-weight: 600; }
.lp-solution .sol-note {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: var(--accent);
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 16px;
  margin: 6px 0 28px;
}

.viewer-right { position: relative; border: 1px solid var(--line); background: var(--bg-2); min-height: 560px; overflow: hidden; }
.viewer-hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.viewer-hud .tl { position: absolute; top: 16px; left: 16px; color: var(--accent); }
.viewer-hud .tr { position: absolute; top: 16px; right: 16px; }
.viewer-hud .bl { position: absolute; bottom: 16px; left: 16px; }
.viewer-controls {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  border: 1px solid var(--line);
  padding: 6px;
  border-radius: 30px;
}
.viewer-controls button {
  background: transparent;
  border: none;
  color: var(--text-2);
  padding: 6px 10px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 20px;
  transition: all 0.15s;
}
.viewer-controls button:hover { color: var(--text); background: var(--bg-1); }
.viewer-controls button.active { background: var(--accent); color: var(--accent-ink); }

/* ===== 8. Pricing ========================================= */

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); background: var(--bg-1); }
.tier { padding: 36px 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; position: relative; }
.tier:last-child { border-right: none; }
.tier .tname { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); }
.tier .price { font-family: var(--f-display); font-size: 56px; font-weight: 500; letter-spacing: -0.035em; color: var(--text); line-height: 1; margin: 20px 0 6px; }
.tier .price .cur { font-size: 0.5em; color: var(--text-3); vertical-align: 0.28em; margin-right: 2px; }
.tier .price .per-sm { font-size: 22px; color: var(--text-3); letter-spacing: 0; }
.tier .note-line { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin: 20px 0 14px; }
.tier .tier-for { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 11px; line-height: 1.45; letter-spacing: 0.03em; color: var(--text-3); }
.tier .tagline { font-size: 14px; color: var(--text-2); margin: 6px 0 22px; line-height: 1.5; max-width: 280px; }
.tier .feats { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tier .feats li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; font-size: 13px; color: var(--text-2); align-items: start; }
.tier .feats li .ck { color: var(--accent); }
.tier.featured { background: var(--bg); }
.tier.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--accent);
  pointer-events: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, transparent), transparent 40%);
}
.tier.featured .badge-top {
  position: absolute;
  top: 0; right: 0;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  font-weight: 600;
}
.tier.featured .price { color: var(--accent); }
.tier .btn { align-self: flex-start; }

.lp-carryover {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 16px 20px;
  border: 1px dashed var(--line-2);
  background: var(--surface);
  font-size: 13px;
  color: var(--text-2);
}
.lp-carryover .ar { color: var(--accent); font-size: 15px; }
.lp-carryover b { color: var(--text); font-weight: 600; }

/* ===== 8b. Contrast — Without / With Origeq =============== */

/* A tinted section with a two-state toggle. The server renders BOTH
   states (data-state="without|with"); CSS shows only the one matching
   the section's data-mode, so it works with JS off (defaults to
   "without"). main.js flips data-mode on click. */
.lp-contrast {
  --warn: oklch(0.60 0.15 28);
  transition: background 0.45s ease;
}
html[data-theme="dark"] .lp-contrast { --warn: oklch(0.68 0.15 30); }
.lp-contrast[data-mode="without"] { background: color-mix(in srgb, var(--warn) 4%, var(--bg)); }
.lp-contrast[data-mode="with"] { background: color-mix(in srgb, var(--accent) 4%, var(--bg)); }

/* State visibility toggle */
.lp-contrast .ct-state { display: none; }
.lp-contrast[data-mode="without"] .ct-body .ct-state[data-state="without"],
.lp-contrast[data-mode="with"] .ct-body .ct-state[data-state="with"] { display: block; }
.lp-contrast[data-mode="without"] .ct-metric.ct-state[data-state="without"],
.lp-contrast[data-mode="with"] .ct-metric.ct-state[data-state="with"] { display: flex; }

/* Header: title + subtitle left, switch right */
.ct-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 72px);
  margin-bottom: clamp(40px, 5vw, 64px);
}
.ct-head-text { max-width: 780px; }
.ct-head-text h2 {
  font-family: var(--f-editorial);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 66px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  color: var(--text);
  text-wrap: balance;
}
.ct-head-text h2 em { font-style: normal; font-weight: 700; color: var(--accent); }
.ct-head-text p { font-size: clamp(15px, 1.3vw, 18px); line-height: 1.6; color: var(--text-2); margin: 0; max-width: 560px; }

/* Switch */
.ct-switch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(420px, 100%);
  flex-shrink: 0;
  margin: 6px 0 0;
  border: 1px solid var(--line-2);
  background: var(--surface);
}
.ct-opt {
  position: relative;
  appearance: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 15px 18px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: color 0.3s ease, background-color 0.35s ease;
}
.ct-opt .ct-dot { width: 6px; height: 6px; transform: rotate(45deg); background: currentColor; opacity: 0.5; transition: opacity 0.3s ease; }
.ct-opt.active { color: var(--accent-ink); }
.ct-opt.active .ct-dot { opacity: 1; }
.lp-contrast[data-mode="with"] .ct-opt.active { background: var(--accent); }
.lp-contrast[data-mode="without"] .ct-opt.active { background: var(--warn); }

/* Rows: actor · statement · metric */
.ct-rows { border-top: 1px solid var(--line); }
.ct-row {
  display: grid;
  grid-template-columns: 220px 1fr minmax(240px, 0.85fr);
  gap: clamp(24px, 3.5vw, 56px);
  align-items: start;
  padding: clamp(28px, 3.4vw, 44px) 0;
  border-bottom: 1px solid var(--line);
}
.ct-actor { display: flex; flex-direction: column; gap: 7px; padding-top: 4px; }
.ct-actor .ct-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.lp-contrast[data-mode="without"] .ct-actor .ct-tag { color: var(--warn); }
.ct-actor .ct-tag::before { content: ""; width: 5px; height: 5px; background: currentColor; transform: rotate(45deg); }
.ct-actor .ct-role { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--text-3); padding-left: 14px; }

.ct-body h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(21px, 2.1vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 10px;
  max-width: 20ch;
  animation: ctFade 0.45s ease both;
}
.ct-body p {
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.6;
  color: var(--text-2);
  margin: 0;
  max-width: 46ch;
  animation: ctFade 0.45s ease 0.04s both;
}

/* Metric column (the 3rd grid cell wraps both states) */
.ct-metric-wrap { padding-top: 2px; }
.ct-metric { flex-direction: column; gap: 16px; }
.ct-stat { display: flex; flex-direction: column; gap: 4px; animation: ctFade 0.45s ease both; }
.ct-stat .v {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--accent);
}
.ct-stat .l { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.ct-cost {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(20px, 2.3vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  animation: ctFade 0.45s ease both;
}
.ct-cost .x {
  flex-shrink: 0;
  position: relative;
  width: clamp(18px, 1.8vw, 24px);
  height: clamp(18px, 1.8vw, 24px);
  transform: translateY(3px);
}
.ct-cost .x::before,
.ct-cost .x::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 2.5px; background: var(--warn); }
.ct-cost .x::before { transform: rotate(45deg); }
.ct-cost .x::after { transform: rotate(-45deg); }

@keyframes ctFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .ct-body h3, .ct-body p, .ct-stat, .ct-cost { animation: none; }
}

/* ROI banner */
.ct-roi {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: clamp(36px, 4vw, 56px);
  padding: clamp(22px, 2.6vw, 32px) clamp(24px, 3vw, 36px);
  background: var(--text);
  color: var(--bg);
}
.ct-roi-k { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: color-mix(in srgb, var(--bg) 62%, transparent); }
.ct-roi-v { font-family: var(--f-editorial); font-weight: 600; font-size: clamp(24px, 2.6vw, 36px); letter-spacing: -0.03em; color: color-mix(in srgb, var(--accent) 55%, white); }
.ct-roi-d { flex: 1 1 300px; font-size: clamp(14px, 1.2vw, 17px); line-height: 1.5; color: color-mix(in srgb, var(--bg) 80%, transparent); }

/* ===== 9. Why · Final CTA · Footer ======================== */

.lp-why { background: var(--bg-1); }
.lp-founder { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.lp-founder .copy p { font-size: clamp(16px, 1.4vw, 20px); line-height: 1.6; color: var(--text-2); margin: 0 0 22px; max-width: 540px; }
.lp-founder .copy p:first-of-type { margin-top: 22px; }
.lp-founder .copy p em { font-family: var(--f-editorial); font-style: italic; color: var(--text); }
.lp-founder .copy p b { color: var(--text); font-weight: 600; }
.lp-founder .sig { display: flex; align-items: center; gap: 14px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.lp-founder .sig .nm { font-size: 14px; color: var(--text); font-weight: 600; }
.lp-founder .sig .rl { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-top: 3px; }

.lp-ph {
  position: relative;
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(135deg, var(--line) 0 1px, transparent 1px 11px),
    var(--bg-2);
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.lp-ph .tag {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  padding: 6px 12px;
  border: 1px solid var(--line);
}
.lp-ph .corner { position: absolute; width: 14px; height: 14px; border: 1px solid var(--accent); pointer-events: none; }
.lp-ph .corner.tl { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.lp-ph .corner.br { bottom: 12px; right: 12px; border-left: none; border-top: none; }

.final-cta {
  background: var(--bg-1);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  /* top padding matches v6's generic `section` rhythm (the built site has no
     global section rule, and .final-cta is a bare <section>); bottom keeps the
     extra room for the giant Q's descender. */
  padding: clamp(80px, 9vw, 140px) 0 64px;
}
.final-cta-inner {
  position: relative;
  z-index: 2;
  padding: 120px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}
.final-cta h2 {
  font-family: var(--f-editorial);
  font-weight: 500;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--text);
  margin: 0;
  max-width: 760px;
  max-width: 760px;
}
.final-cta h2 .accent { color: var(--accent); }
.final-cta .eyebrow { display: inline-flex; }
.final-cta .sub { font-size: 17px; line-height: 1.55; color: var(--text-2); margin: 22px 0 0; max-width: 520px; }
.final-cta .sub b { color: var(--text); font-weight: 600; }
.final-cta .ctas { display: flex; flex-direction: column; gap: 10px; min-width: 240px; }
.final-cta .ctas .btn { padding: 18px 24px; font-size: 16px; }

.bg-wordmark {
  font-family: var(--f-editorial);
  font-weight: 600;
  font-size: clamp(160px, 21vw, 340px);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--text);
  opacity: 0.05;
  position: absolute;
  bottom: 24px;
  left: 0; right: 0;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  padding-bottom: 0.18em;
}

footer { padding: 64px 0 32px; border-top: 1px solid var(--line); background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; margin-bottom: 56px; }
.footer-col h3 { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin: 0 0 18px; font-weight: 500; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col li a { font-size: 13px; color: var(--text-2); transition: color 0.15s; }
.footer-col li a:hover { color: var(--text); }
.footer-brand p { font-size: 14px; color: var(--text-2); line-height: 1.5; margin: 18px 0 0; max-width: 320px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.08em;
}
.footer-bottom .socials { display: flex; gap: 14px; }
.footer-bottom .socials a:hover { color: var(--accent); }

/* ===== 10. Case-study article (content-design contract) ===
   The design maps these content variables onto the visual:
     title, client, industry, body, heroImage, publishDate, lang
   See design/README.md — "Content-design contract". */

.cs { padding-top: 120px; }
/* Longhands, not the `padding` shorthand: .cs-hero is applied together with
   .shell, and a shorthand with a `0` horizontal value silently reset
   .shell's padding-left/right to zero — which pinned the back-link, the
   meta row and the <h1> to the viewport edge on every article page. */
.cs-hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(28px, 3vw, 44px); border-bottom: 1px solid var(--line); }
.cs-hero .back { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); display: inline-flex; gap: 8px; margin-bottom: 26px; }
.cs-hero .back:hover { color: var(--accent); }
.cs-hero .meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 22px; }
.cs-hero .meta .k { color: var(--accent); }
.cs-hero h1 {
  font-family: var(--f-editorial);
  font-weight: 600;
  font-size: clamp(36px, 5.2vw, 76px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--text);
  max-width: 15ch;
  text-wrap: balance;
}
.cs-hero .cs-tags { display: flex; gap: 20px; margin-top: 26px; }
.cs-hero .cs-tag { display: flex; flex-direction: column; gap: 4px; }
.cs-hero .cs-tag .lbl { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.cs-hero .cs-tag .val { font-size: 15px; color: var(--text); font-weight: 600; }

.cs-figure { margin: clamp(32px, 5vw, 64px) 0; border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.cs-figure img { display: block; width: 100%; height: auto; }
.cs-figure.placeholder {
  aspect-ratio: 16 / 8;
  background:
    repeating-linear-gradient(135deg, var(--line) 0 1px, transparent 1px 12px),
    var(--bg-2);
  display: grid;
  place-items: center;
}
.cs-figure.placeholder .tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }

/* Rendered Markdown body */
.cs-prose { max-width: 720px; margin: clamp(40px, 6vw, 72px) 0; }
.cs-prose > * + * { margin-top: 22px; }
.cs-prose h2 { font-family: var(--f-editorial); font-weight: 600; font-size: clamp(24px, 3vw, 36px); letter-spacing: -0.02em; line-height: 1.1; margin-top: 48px; color: var(--text); }
.cs-prose h3 { font-family: var(--f-display); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; margin-top: 34px; color: var(--text); }
.cs-prose p, .cs-prose li { font-size: 17px; line-height: 1.65; color: var(--text-2); }
.cs-prose strong, .cs-prose b { color: var(--text); font-weight: 600; }
.cs-prose em { color: var(--text); }
.cs-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.cs-prose ul, .cs-prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.cs-prose blockquote {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 22px;
  font-family: var(--f-editorial);
  font-style: italic;
  font-size: 21px;
  color: var(--text);
}
.cs-prose code { font-family: var(--f-mono); font-size: 0.9em; background: var(--surface); border: 1px solid var(--line); padding: 1px 5px; }

/* ===== 10b. three.js scenes (progressive enhancement) ===== */

/* The <canvas> is appended into these mount points, filling the panel. */
.scene-mount { position: absolute; inset: 0; z-index: 1; }
.scene-mount canvas { display: block; width: 100%; height: 100%; }

/* Once a live scene mounts, hide the static SVG fallback in that panel. */
.viewer-frame.has-3d .viewer-art,
.viewer-right.has-3d .viewer-art { display: none; }

/* Keep the framed-panel chrome (corners, spec tags, HUD, controls) above the canvas. */
.viewer-frame .corner,
.viewer-frame .spec-tag,
.viewer-hud,
.viewer-controls { z-index: 3; }
.viewer-controls { pointer-events: auto; }

/* Hotspot annotation pins drawn over the interactive equipment viewer. */
.scene-pins { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.v-pin {
  position: absolute;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: blur(4px);
  padding: 4px 8px;
  border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent);
  white-space: nowrap;
  transition: opacity 0.2s;
}
.v-pin-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}

/* Final-CTA drifting wireframe globe: behind the wordmark + content. */
.final-cta .bg-grid { z-index: 0; }
.cta-backdrop { z-index: 0; opacity: 0.6; }
.final-cta .bg-wordmark { z-index: 1; }

/* ===== 11. Responsive ===================================== */

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .banner-grid { grid-template-columns: 1fr; gap: 36px; }
  .banner-right { min-height: 340px; }
  .lp-intro { grid-template-columns: 1fr; gap: 22px; align-items: start; }
  .how { grid-template-columns: 1fr; gap: 48px; }
  .how-step::after { display: none; }
  .lp-problem .prose, .lp-statsplit, .lp-today { grid-template-columns: 1fr; }
  .lp-today { gap: 16px; }
  .lp-costrow { grid-template-columns: 1fr; }
  .viewer-grid { grid-template-columns: 1fr; }
  .viewer-right { min-height: 420px; }
  .pricing { grid-template-columns: 1fr; }
  .tier { border-right: none; border-bottom: 1px solid var(--line); }
  .tier:last-child { border-bottom: none; }
  .lp-founder { grid-template-columns: 1fr; gap: 40px; }
  .lp-founder .lp-ph { aspect-ratio: 16 / 10; max-width: 420px; }
  .ct-head { flex-direction: column; gap: 24px; }
  .ct-switch { margin-top: 0; }
  .ct-row { grid-template-columns: 1fr; gap: 14px; padding: 26px 0; }
  .ct-actor { flex-direction: row; align-items: baseline; gap: 12px; }
  .ct-actor .ct-role { padding-left: 0; }
  .ct-metric { flex-direction: row; flex-wrap: wrap; gap: 24px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .final-cta-inner { grid-template-columns: 1fr; }
  .final-cta .ctas { min-width: 0; }
}

@media (max-width: 620px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .cs-hero .cs-tags { flex-wrap: wrap; gap: 16px 28px; }
}

/* ============================================================
   12. Restructured landing sections
   ------------------------------------------------------------
   Added when the "Story Arc" homepage restructure landed: the
   social-proof stat, Meet Origeq, the broken-pipeline problem,
   the features explorer, integrations, security and FAQ. These
   read only from the tokens, like everything above.
   ============================================================ */

/* ---- Social-proof stat (wraps the customer marquee) ---- */
.proof { border-top: 1px solid var(--line); background: var(--bg-1); padding: clamp(80px, 9vw, 140px) 0; }
.proof-head {
  padding: 40px 0 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.proof-stat {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
}
.proof-plus { color: var(--accent); }
.proof-stat-sub {
  display: block;
  margin-top: 12px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(15px, 1.4vw, 20px);
  letter-spacing: 0;
  color: var(--text-2);
}
.proof-note {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-3);
  margin: 0;
}
.proof-note b { color: var(--text); font-weight: 600; }

/* ---- Meet Origeq (overview header + reused .how grid) ---- */
.meet-head {
  max-width: 900px;
  margin-bottom: clamp(40px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.meet-head h2 {
  font-family: var(--f-editorial);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--text);
  text-wrap: balance;
}
.meet-head h2 em { font-style: normal; font-weight: 700; color: var(--accent); }

/* ---- Problem — broken-pipeline rail + "why fixes don't hold" ---- */
.pb-railwrap { margin-bottom: clamp(48px, 6vw, 80px); }
.pb-rail-cap {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: clamp(28px, 3.5vw, 44px);
}
.pb-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 48px); }
.pb-stop { position: relative; padding-top: 40px; }
.pb-stop .pb-dot {
  position: absolute;
  top: 2px; left: 2px;
  width: 14px; height: 14px;
  border: 2px solid var(--line-2);
  background: var(--bg-1);
  transform: rotate(45deg);
  z-index: 2;
}
.pb-stop.is-ok .pb-dot { border-color: var(--accent); background: var(--accent); }
.pb-stop::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 26px;
  right: calc(-1 * clamp(20px, 3vw, 48px));
  height: 0;
  border-top: 2px dashed var(--line-2);
  z-index: 1;
}
.pb-stop:last-child::after { display: none; }
.pb-stop .pb-n { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--text-3); display: block; margin-bottom: 10px; }
.pb-stop.is-ok .pb-n { color: var(--accent); }
.pb-stop h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(16px, 1.5vw, 20px); letter-spacing: -0.01em; line-height: 1.2; color: var(--text); margin: 0 0 8px; }
.pb-stop p { font-size: clamp(13px, 1.1vw, 15px); line-height: 1.55; color: var(--text-2); margin: 0; }

.pb-fixes-head {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
  margin: 0 0 clamp(18px, 2vw, 26px);
}
.pb-fixes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pb-fix { background: var(--bg); padding: clamp(22px, 2.4vw, 32px); display: grid; grid-template-rows: auto auto 1fr; gap: 12px; }
.pb-fix.is-answer { background: var(--bg-2); }
.pb-fix-mark {
  width: 26px; height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border: 1px solid var(--line-2);
  color: var(--text-3);
  border-radius: 50%;
}
.pb-fix.is-answer .pb-fix-mark { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.pb-fix-name { font-family: var(--f-display); font-weight: 600; font-size: clamp(16px, 1.4vw, 19px); letter-spacing: -0.01em; color: var(--text); }
.pb-fix.is-answer .pb-fix-name { color: var(--accent); }
.pb-fix-d { font-size: clamp(13px, 1.1vw, 15px); line-height: 1.55; color: var(--text-2); }

/* ---- Features — job explorer (rail + detail panel) ---- */
.lp-features .feat-explorer {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}
.feat-rail { background: var(--bg); display: flex; flex-direction: column; }
.feat-tab {
  appearance: none;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: clamp(20px, 2.2vw, 28px) clamp(20px, 2.2vw, 30px);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background-color 0.25s ease;
}
.feat-tab:last-child { border-bottom: none; }
.feat-tab::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.28s ease;
}
.feat-tab:hover { background: var(--bg-1); }
.feat-tab.active { background: var(--bg-2); }
.feat-tab.active::before { transform: scaleY(1); }
.feat-tab-n { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--text-3); transition: color 0.25s ease; }
.feat-tab.active .feat-tab-n { color: var(--accent); }
.feat-tab-body { display: flex; flex-direction: column; gap: 3px; }
.feat-tab-name { font-family: var(--f-display); font-weight: 600; font-size: clamp(16px, 1.5vw, 21px); letter-spacing: -0.015em; line-height: 1.1; color: var(--text-2); transition: color 0.25s ease; }
.feat-tab.active .feat-tab-name { color: var(--text); }
.feat-tab-micro { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.feat-tab-arrow { font-family: var(--f-mono); font-size: 15px; color: var(--accent); opacity: 0; transform: translateX(-6px); transition: opacity 0.25s ease, transform 0.25s ease; }
.feat-tab.active .feat-tab-arrow { opacity: 1; transform: translateX(0); }

.feat-detail-stack { background: var(--bg); }
.feat-detail {
  position: relative;
  background: var(--bg);
  padding: clamp(30px, 3.4vw, 52px);
  display: flex;
  flex-direction: column;
  min-height: 380px;
}
/* Progressive enhancement: all panels render; JS shows just the active one. */
.js .feat-detail-stack .feat-detail { display: none; }
.js .feat-detail-stack .feat-detail.active { display: flex; }
.feat-detail .corner { position: absolute; width: 13px; height: 13px; border: 1px solid var(--accent); pointer-events: none; }
.feat-detail .corner.tl { top: 16px; left: 16px; border-right: none; border-bottom: none; }
.feat-detail .corner.br { bottom: 16px; right: 16px; border-left: none; border-top: none; }
.feat-detail-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(22px, 3vw, 40px); }
.feat-detail-tier { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 9px; }
.feat-detail-tier .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.feat-detail-idx { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--text-3); }
.feat-detail h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(26px, 3vw, 42px); letter-spacing: -0.03em; line-height: 1.02; color: var(--text); margin: 0 0 14px; animation: featIn 0.4s ease both; }
.feat-detail-lead { font-family: var(--f-editorial); font-size: clamp(16px, 1.5vw, 21px); line-height: 1.45; color: var(--text-2); margin: 0 0 clamp(24px, 3vw, 36px); max-width: 46ch; animation: featIn 0.4s ease 0.05s both; }
.feat-caps {
  list-style: none;
  margin: auto 0 0;
  padding: clamp(20px, 2.4vw, 28px) 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px clamp(20px, 3vw, 40px);
}
.feat-caps li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: clamp(13px, 1.15vw, 15px); line-height: 1.4; color: var(--text); animation: featIn 0.4s ease both; }
.feat-caps li .ck { width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; border: 1px solid var(--accent); color: var(--accent); border-radius: 50%; margin-top: 1px; }
@keyframes featIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .feat-detail h3, .feat-detail-lead, .feat-caps li { animation: none; } }

/* ---- Integrations — in / out / around ---- */
.lp-intg { background: var(--bg-1); }
.lp-intg .intg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.intg-col { background: var(--bg); padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 20px; }
.intg-col-head { display: flex; flex-direction: column; gap: 10px; }
.intg-dir { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 9px; }
.intg-dir::before { content: ""; width: 5px; height: 5px; background: var(--accent); transform: rotate(45deg); }
.intg-col-head h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(18px, 1.6vw, 23px); letter-spacing: -0.015em; line-height: 1.14; color: var(--text); margin: 0; }
.intg-col-head p { font-size: clamp(13px, 1.1vw, 15px); line-height: 1.55; color: var(--text-2); margin: 0; }
.intg-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.intg-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--line-2); background: var(--surface); font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--text-2); }
.intg-pill .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* ---- Security — reuse .lp-costrow, force 3-up ---- */
.lp-sec .sec-grid { grid-template-columns: repeat(3, 1fr); margin-bottom: 0; }

/* ---- FAQ — aside + accordion ---- */
.lp-faq { background: var(--bg-1); }
.lp-faq .faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 84px); align-items: start; }
.faq-aside { position: sticky; top: 96px; }
.faq-aside h2 { font-family: var(--f-editorial); font-weight: 600; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.0; letter-spacing: -0.03em; margin: 0 0 16px; color: var(--text); }
.faq-aside h2 em { font-style: normal; font-weight: 700; color: var(--accent); }
.faq-aside p { font-size: clamp(14px, 1.2vw, 17px); line-height: 1.6; color: var(--text-2); margin: 0 0 24px; max-width: 340px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  appearance: none;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: clamp(20px, 2.2vw, 28px) 0;
  color: var(--text);
}
.faq-qn { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--text-3); }
.faq-item.open .faq-qn { color: var(--accent); }
.faq-qt { font-family: var(--f-display); font-weight: 600; font-size: clamp(16px, 1.5vw, 21px); letter-spacing: -0.015em; line-height: 1.25; }
.faq-sign { font-family: var(--f-mono); font-size: 20px; color: var(--accent); line-height: 1; width: 20px; text-align: center; }
/* Progressive enhancement: without JS every answer stays open; JS collapses. */
.faq-a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.32s ease; }
.js .faq-a { grid-template-rows: 0fr; }
.js .faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p { font-size: clamp(14px, 1.2vw, 16px); line-height: 1.6; color: var(--text-2); margin: 0; padding: 0 44px clamp(22px, 2.2vw, 28px) 42px; max-width: 62ch; }

/* ---- Responsive for the restructured sections ---- */
@media (max-width: 1000px) {
  .lp-intg .intg-grid { grid-template-columns: 1fr; }
  .lp-sec .sec-grid { grid-template-columns: 1fr; }
  .pb-rail { grid-template-columns: 1fr 1fr; gap: 28px 32px; }
  .pb-stop::after { display: none; }
  .pb-fixes-grid { grid-template-columns: 1fr; }
  .lp-faq .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-aside { position: static; }
  .faq-a-inner p { padding-left: 0; padding-right: 0; }
}
@media (max-width: 900px) {
  .lp-features .feat-explorer { grid-template-columns: 1fr; }
  .feat-tab-arrow { display: none; }
  .feat-caps { grid-template-columns: 1fr; }
  .feat-detail { min-height: 0; }
}
@media (max-width: 620px) {
  .pb-rail { grid-template-columns: 1fr; }
}

/* ============================================================
   13. Meet Origeq viewer · Business benefits · ROI band
   ------------------------------------------------------------
   Added with the v6 "impact" restructure: the interactive 3D
   equipment viewer moved into Meet Origeq, a business-benefits
   ledger (§02) and a compact ROI CTA band replaced the standalone
   Solution / Contrast / How sections. Tokens only, like the rest.
   (Ported from the design's landing.css; its --bg-0 maps to --bg
   and --f-body to --f-display in this token vocabulary.)
   ============================================================ */

/* ---- Meet Origeq — embedded interactive 3D viewer ---- */
.meet-viewer {
  margin: 0 0 clamp(40px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.meet-viewer .viewer-right {
  position: relative;
  height: clamp(380px, 52vw, 620px);
  min-height: 0;
}
.meet-viewer-cap {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--text-3);
  text-align: center;
}

/* ---- Business benefits — indexed ledger (§02) ---- */
.bn-who {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.bn-who::before { content: ""; width: 18px; height: 1px; background: var(--accent); }

.bn-quote {
  margin: 0;
  padding: 16px 20px;
  border-left: 2px solid var(--accent);
  background: var(--bg-1);
  font-family: var(--f-editorial);
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
}

.bn-stat { display: flex; flex-direction: column; gap: 4px; }
.bn-stat .v {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
}
.bn-stat .l {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-3);
  max-width: 220px;
  line-height: 1.5;
}

.bn-ledger { border-top: 1px solid var(--line); }
.bn-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1.05fr) minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: clamp(20px, 3vw, 44px);
  padding: clamp(28px, 3.2vw, 44px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.bn-idx { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.04em; color: var(--accent); padding-top: 4px; }
.bn-row-lead { display: flex; flex-direction: column; gap: 12px; }
.bn-row-lead h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(19px, 1.8vw, 25px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text);
}
.bn-row-body { display: flex; flex-direction: column; gap: 16px; }
.bn-row-body p { font-size: 15px; line-height: 1.62; color: var(--text-2); margin: 0; }
.bn-row-stats { display: flex; flex-direction: column; gap: 20px; }

/* ---- ROI — compact accent CTA band ---- */
.lp-section.lp-roi { padding-top: 0; border-top: none; }
.roi-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: clamp(28px, 3.5vw, 48px);
  border: 1px solid var(--accent);
  background: var(--accent);
}
.roi-copy { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.roi-copy h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--accent-ink);
}
.roi-copy > p { font-size: 15px; line-height: 1.55; color: var(--accent-ink); opacity: 0.82; margin: 0; }
.roi-note {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--accent-ink);
  opacity: 0.72;
  display: inline-flex;
  gap: 8px;
}
.roi-note .mk { opacity: 0.9; }
.roi-note b { opacity: 1; font-weight: 600; }
.roi-btn {
  flex-shrink: 0;
  background: var(--accent-ink);
  color: var(--accent);
  border-color: var(--accent-ink);
}
.roi-btn:hover { background: var(--bg); color: var(--accent); }

/* ---- Responsive — benefits ledger + ROI band ---- */
@media (max-width: 1000px) {
  .bn-row { grid-template-columns: 40px 1fr; gap: 16px 20px; }
  .bn-row-body, .bn-row-stats { grid-column: 2; }
}
@media (max-width: 640px) {
  .roi-band { gap: 20px; }
  .roi-btn { width: 100%; justify-content: center; }
}
