/* Cyber Duct Tape — homepage (v2)
   System fonts only and no inline styles: the site CSP allows 'self' resources only. */

:root {
  --bg: #060d0b;
  --bg-2: #0a1512;
  --surface: #0d1b16;
  --surface-2: #122720;
  --line: rgba(200, 240, 215, .12);
  --line-2: rgba(200, 240, 215, .22);
  --text: #eef6f0;
  --muted: #a9bdb2;
  --dim: #86a093;
  --lime: #d9f36a;
  --mint: #6ee7a8;
  --paper: #f3f6ef;
  --paper-2: #e6ece1;
  --ink: #0c1813;
  --ink-muted: #43564c;
  --link: #0d7a47;
  --max: 1180px;
  --header-h: 68px;
  --radius: 16px;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font: 16px/1.6 var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -64px; z-index: 50; padding: 10px 16px; color: #0b1110; background: var(--lime); font-weight: 700; border-radius: 6px; }
.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 40; height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease;
}
.site-header.is-scrolled { background: rgba(6, 13, 11, .88); border-color: var(--line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px;
  color: var(--lime); border: 1px solid rgba(217, 243, 106, .55); border-radius: 9px;
  background: linear-gradient(145deg, rgba(217, 243, 106, .14), rgba(110, 231, 168, .04));
  font: 800 11px var(--mono); letter-spacing: -.04em;
}
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; color: var(--muted); font-size: 14px; font-weight: 500; border-radius: 8px; transition: color .15s, background .15s; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 20px;
  font-size: 14px; font-weight: 700; line-height: 1.2; letter-spacing: -.005em;
  border: 1px solid transparent; border-radius: 10px; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #0b1110; background: var(--lime); box-shadow: 0 8px 28px rgba(217, 243, 106, .16); }
.btn-primary:hover { box-shadow: 0 12px 34px rgba(217, 243, 106, .28); }
.btn-ghost { color: var(--text); border-color: var(--line-2); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .07); }
.btn-accent { color: #071009; background: var(--accent); }
.btn-accent:hover { box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-sm { min-height: 38px; padding: 8px 15px; font-size: 13px; border-radius: 9px; }
.btn-dark { color: #fff; background: var(--ink); }
.btn-dark:hover { background: #16291f; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--mint); font: 700 12px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; position: relative; top: -1px; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(110, 231, 168, .16); }
.about-card .eyebrow, .final-card .eyebrow { margin-bottom: 6px; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.06; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
.section-lead { max-width: 640px; color: var(--muted); font-size: 18px; }
.section-head { display: grid; gap: 16px; margin-bottom: 56px; }
.section-head.center { justify-items: center; text-align: center; }
.section-head.center .section-lead { margin-inline: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 84px) 0 96px;
  background:
    radial-gradient(60% 55% at 82% 8%, rgba(110, 231, 168, .16), transparent 70%),
    radial-gradient(45% 45% at 5% 95%, rgba(217, 243, 106, .07), transparent 70%),
    var(--bg);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(110, 231, 168, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(110, 231, 168, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 70% at 60% 30%, #000, transparent 100%);
  mask-image: radial-gradient(70% 70% at 60% 30%, #000, transparent 100%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: center; gap: 56px; }
.hero h1 { margin: 22px 0 22px; font-size: clamp(2.4rem, 4.7vw, 3.9rem); line-height: 1.04; letter-spacing: -.042em; font-weight: 800; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .lead { max-width: 540px; color: var(--muted); font-size: 19px; line-height: 1.6; }
.hero .actions { margin-top: 34px; }
.hero-note { margin-top: 26px; color: var(--dim); font: 12px/1.6 var(--mono); }
.hero-note span + span::before { content: "·"; margin: 0 10px; color: var(--mint); }

.browser {
  border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden;
  background: #08110e;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .03), 0 0 90px rgba(110, 231, 168, .1);
}
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #0c1814; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a3a33; }
.browser-bar span { margin-left: 10px; color: var(--dim); font: 11px var(--mono); }
.browser img { display: block; width: 100%; aspect-ratio: 2500 / 1687; object-fit: cover; }
/* Zoomed crop so the dashboard detail is readable at panel size. */
.shot { position: relative; overflow: hidden; aspect-ratio: 1.3; }
.shot img { width: 136%; max-width: none; aspect-ratio: auto; object-fit: fill; margin: -1% 0 0 -2%; }

/* ---------- Facts strip ---------- */
.facts { border-block: 1px solid var(--line); background: var(--bg-2); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-grid > div { padding: 26px 24px; border-left: 1px solid var(--line); }
.facts-grid > div:first-child { border-left: 0; padding-left: 0; }
.facts-grid b { display: block; margin-bottom: 4px; font-size: 22px; letter-spacing: -.02em; }
.facts-grid span { color: var(--dim); font-size: 13px; }

/* ---------- Products ---------- */
.tools { padding: 120px 0 40px; }
.product-stack { display: grid; gap: 28px; }
.product {
  --accent: var(--mint);
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: center;
  padding: 52px;
  border: 1px solid var(--line-2); border-radius: 24px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface) 55%);
}
.product::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--accent), transparent 70%); }
.product::after {
  content: ""; position: absolute; width: 420px; height: 420px; right: -140px; top: -180px; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 18%, transparent), transparent 68%);
}
.p-stepanel { --accent: #6ee7a8; }
.p-mailswiftsync { --accent: #f5b544; }
.p-wayexpand { --accent: #a99bff; }
.product:nth-child(even) .product-visual { order: -1; }
.product-copy, .product-visual { position: relative; z-index: 1; min-width: 0; }
.product-tag {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px; padding: 6px 12px;
  color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 9%, transparent); font: 700 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
}
.product-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.product h3 { font-size: clamp(1.7rem, 3vw, 2.45rem); line-height: 1.1; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
.product-name { display: block; margin-bottom: 10px; color: var(--accent); font: 700 13px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.product-pitch { margin: 18px 0 24px; color: var(--muted); font-size: 17px; }
.ticks { display: grid; gap: 11px; margin-bottom: 30px; }
.ticks li { position: relative; padding-left: 28px; color: #d3e2d9; font-size: 15px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 15px; height: 15px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 20%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.3 2.3 2.3 4.7-5' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent);
}
.ticks strong { color: #fff; font-weight: 600; }
.fineprint { margin-top: 20px; color: var(--dim); font-size: 13px; line-height: 1.55; }
.fineprint b { color: var(--muted); font-weight: 600; }
.fineprint a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.ticks code, .fineprint code { padding: 1px 6px; color: #fff; border: 1px solid var(--line-2); border-radius: 5px; background: rgba(255, 255, 255, .05); font: 12.5px var(--mono); }

/* Product visuals */
.pipeline { counter-reset: step; display: grid; gap: 0; padding: 26px 26px 26px 30px; border: 1px solid var(--line-2); border-radius: 18px; background: #08110e; box-shadow: 0 30px 70px rgba(0, 0, 0, .4); }
.pipeline-title { display: flex; justify-content: space-between; margin-bottom: 18px; color: var(--dim); font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.pipeline-title b { color: var(--accent); font-weight: 700; }
.pipeline li { counter-increment: step; position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 0 0 22px; }
.pipeline li:last-child { padding-bottom: 0; }
.pipeline li::before {
  content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; z-index: 1;
  color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); border-radius: 50%;
  background: #0d1a15; font: 700 12px var(--mono);
}
.pipeline li::after { content: ""; position: absolute; left: 14.5px; top: 30px; bottom: 0; width: 1px; background: linear-gradient(var(--line-2), transparent); }
.pipeline li:last-child::after { display: none; }
.pipeline strong { display: block; color: #fff; font-size: 15px; line-height: 30px; }
.pipeline span { display: block; margin-top: -2px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.pipeline .is-gate strong::after { content: "gate"; margin-left: 9px; padding: 2px 7px; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 999px; font: 700 9px var(--mono); letter-spacing: .1em; text-transform: uppercase; vertical-align: 2px; }

.terminal { overflow: hidden; border: 1px solid var(--line-2); border-radius: 16px; background: #060c0a; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.terminal-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #0c1814; border-bottom: 1px solid var(--line); }
.terminal-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a3a33; }
.terminal-bar span { margin-left: 10px; color: var(--dim); font: 11px var(--mono); }
.copy { margin-left: auto; padding: 4px 10px; color: var(--muted); background: transparent; border: 1px solid var(--line-2); border-radius: 6px; font: 600 11px var(--mono); cursor: pointer; transition: color .15s, border-color .15s; }
.copy:hover { color: #fff; border-color: rgba(255, 255, 255, .5); }
.copy[data-copied="true"] { color: var(--accent); border-color: var(--accent); }
.terminal pre { margin: 0; padding: 22px 22px 24px; overflow-x: auto; color: #dbe7df; font: 13.5px/1.9 var(--mono); }
.terminal .c { color: var(--dim); }
.terminal .p { color: var(--accent); user-select: none; }
.expand-demo { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; margin-top: 14px; padding: 18px; border: 1px solid var(--line-2); border-radius: 16px; background: #08110e; }
.keys { display: inline-flex; gap: 5px; }
.keys kbd { padding: 5px 9px; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-bottom-width: 3px; border-radius: 7px; background: color-mix(in srgb, var(--accent) 8%, transparent); font: 700 13px var(--mono); }
.expand-demo .arrow { display: none; }
.expand-demo p { color: var(--muted); font-size: 14px; }
.expand-demo p b { color: #fff; font-weight: 600; }
.demo-caption { grid-column: 1 / -1; color: var(--dim); font: 11px var(--mono); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips li { padding: 6px 11px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .03); font: 600 11.5px var(--mono); }

.more-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 40px; padding: 22px 26px; border: 1px dashed var(--line-2); border-radius: 16px; color: var(--muted); font-size: 15px; }
.more-tools b { color: var(--text); }
.more-tools a { color: var(--lime); font-weight: 700; }
.more-tools a:hover { text-decoration: underline; }

/* ---------- Services (light) ---------- */
.services { margin-top: 96px; padding: 120px 0; color: var(--ink); background: var(--paper); }
.services .eyebrow { color: var(--link); }
.services .eyebrow::before { background: var(--link); box-shadow: 0 0 0 4px rgba(13, 122, 71, .15); }
.services .section-lead { color: var(--ink-muted); }
.lanes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lane {
  display: flex; flex-direction: column; min-height: 290px; padding: 30px;
  color: var(--ink); background: #fff; border: 1px solid #d7e0d3; border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(12, 24, 19, .04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.lane:hover { transform: translateY(-4px); border-color: #a9c4b3; box-shadow: 0 24px 50px rgba(12, 24, 19, .1); }
.lane small { color: var(--link); font: 700 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.lane strong { margin-top: 34px; font-size: 26px; line-height: 1.15; letter-spacing: -.03em; }
.lane span { margin-top: 10px; color: var(--ink-muted); font-size: 15px; }
.lane em { margin-top: auto; padding-top: 24px; color: var(--link); font-size: 14px; font-style: normal; font-weight: 700; }
.capabilities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid #cfdacb; }
.capabilities li { padding: 26px 26px 0 0; }
.capabilities li + li { padding-left: 26px; border-left: 1px solid #cfdacb; }
.capabilities h3 { margin-bottom: 8px; font-size: 17px; letter-spacing: -.015em; }
.capabilities p { color: var(--ink-muted); font-size: 14.5px; }

/* ---------- Process ---------- */
.process { padding: 120px 0 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.steps li::before { content: "0" counter(s); display: block; margin-bottom: 40px; color: var(--mint); font: 700 12px var(--mono); }
.steps h3 { margin-bottom: 8px; font-size: 18px; letter-spacing: -.02em; }
.steps p { color: var(--muted); font-size: 14.5px; }

/* ---------- Guides ---------- */
.guides { padding: 120px 0 0; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide { display: flex; flex-direction: column; gap: 10px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .2s, transform .2s; }
.guide:hover { transform: translateY(-3px); border-color: rgba(110, 231, 168, .5); }
.guide small { color: var(--mint); font: 700 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.guide strong { font-size: 19px; line-height: 1.3; letter-spacing: -.02em; }
.guide span { margin-top: auto; padding-top: 14px; color: var(--lime); font-size: 14px; font-weight: 700; }

/* ---------- About ---------- */
.about { padding: 120px 0; }
.about-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; padding: 56px; border: 1px solid var(--line-2); border-radius: 24px; background: linear-gradient(150deg, var(--surface-2), var(--surface)); }
.about-card .h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.about-card > div { min-width: 0; }
.about-card p:not(.eyebrow) { margin-top: 18px; color: var(--muted); font-size: 17px; }
.about-card .actions { margin-top: 28px; }
.about-facts { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.about-facts li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.about-facts span { color: var(--dim); }
.about-facts b { text-align: right; font-weight: 600; overflow-wrap: anywhere; }

/* ---------- Final CTA ---------- */
.final { padding: 0 0 120px; }
.final-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.final-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 44px; border: 1px solid var(--line-2); border-radius: 24px; background: var(--surface); }
.final-card.is-lime { color: var(--ink); background: linear-gradient(150deg, #e8f8a0, var(--lime)); border-color: transparent; }
.final-card h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
.final-card p:not(.eyebrow) { max-width: 460px; margin-bottom: 10px; color: var(--muted); font-size: 16px; }
.final-card.is-lime p:not(.eyebrow) { color: #2b3a12; }
.final-card.is-lime .eyebrow { color: #1d4a10; }
.final-card.is-lime .eyebrow::before { background: #1d4a10; box-shadow: 0 0 0 4px rgba(29, 74, 16, .15); }

/* ---------- Footer ---------- */
.footer { padding: 64px 0 40px; border-top: 1px solid var(--line); background: #040908; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer p { margin-top: 16px; max-width: 320px; color: var(--dim); font-size: 14px; }
.footer h4 { margin: 0 0 16px; color: var(--text); font: 700 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.footer li + li { margin-top: 10px; }
.footer li a { color: var(--muted); font-size: 14px; transition: color .15s; }
.footer li a:hover { color: var(--lime); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
.footer-base a:hover { color: var(--text); }

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hero .lead { max-width: 620px; }
  .product { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 40px; }
  .product:nth-child(even) .product-visual { order: 0; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .capabilities { grid-template-columns: repeat(2, 1fr); }
  .capabilities li:nth-child(3) { padding-left: 0; border-left: 0; }
  .capabilities li:nth-child(n+3) { border-top: 1px solid #cfdacb; margin-top: 26px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about-card { grid-template-columns: minmax(0, 1fr); padding: 40px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .lanes, .guide-grid, .final-grid { grid-template-columns: minmax(0, 1fr); }
  .lane { min-height: 0; }
  .lane strong { margin-top: 22px; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .nav-toggle {
    display: inline-flex; align-items: center; margin-left: auto; padding: 8px 14px;
    color: var(--text); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); border-radius: 9px; font-size: 13px; font-weight: 600; cursor: pointer;
  }
  .header-inner { position: relative; gap: 12px; }
  .site-header .btn-sm { display: none; }
  /* Without JS the nav stays visible as a scrollable row; with JS it collapses behind the button. */
  .nav { position: absolute; top: calc(var(--header-h) - 6px); left: 0; right: 0; flex-direction: column; align-items: stretch; margin: 0; padding: 10px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(8, 17, 14, .97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  .nav a { padding: 13px 14px; font-size: 15px; }
  .js .nav { display: none; }
  .js .nav.is-open { display: flex; }
  .hero { padding: calc(var(--header-h) + 48px) 0 64px; }
  .hero .lead { font-size: 17px; }
  .hero .btn { flex: 1 1 100%; }
  .tools { padding-top: 84px; }
  .section-head { margin-bottom: 40px; }
  .product { padding: 28px 22px; border-radius: 20px; }
  .product-pitch { font-size: 16px; }
  .product .btn { flex: 1 1 100%; }
  .pipeline { padding: 22px 18px; }
  .services { margin-top: 84px; padding: 84px 0; }
  .capabilities { grid-template-columns: minmax(0, 1fr); }
  .capabilities li, .capabilities li + li { padding: 22px 0 0; border-left: 0; }
  .capabilities li:nth-child(n+2) { border-top: 1px solid #cfdacb; margin-top: 22px; }
  .process, .guides { padding-top: 84px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li::before { margin-bottom: 24px; }
  .about { padding: 84px 0; }
  .about-card, .final-card { padding: 30px 22px; border-radius: 20px; }
  .final { padding-bottom: 84px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .facts-grid > div { padding: 20px 14px; }
  .facts-grid b { font-size: 19px; }
  .expand-demo { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover, .lane:hover, .guide:hover { transform: none; }
}
