/* SensorForge fonts, copied from the platform (sensorforge.dev/fonts): latin and latin-ext, variable weights. */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(/optimize/static/DMSans-300-normal-latinext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(/optimize/static/DMSans-300-normal-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/optimize/static/PlusJakartaSans-400-normal-latinext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/optimize/static/PlusJakartaSans-400-normal-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/optimize/static/DMMono-400-normal-latinext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/optimize/static/DMMono-400-normal-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/optimize/static/DMMono-500-normal-latinext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/optimize/static/DMMono-500-normal-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Colours and type follow the SensorForge platform (sensorforge.dev): white, near-black ink, warm greys, one green accent. */
:root {
  --bg: #ffffff; --paper: #f8f7f3; --paper2: #fbfaf6; --card: #ffffff; --ink: #0a0a0a; --ink2: #141414; --muted: #6b6a63;
  --line: #ebeae5; --line2: #d8d7d0; --gray: #8a8982; --brand: #0a0a0a; --brand-ink: #ffffff; --accent: #1D9E75;
  --good: #137a5a; --good-bg: #e8f5ef; --bad: #b42318; --bad-bg: #fdecea; --warn: #8a5a00; --warn-bg: #fff6e0;
  --run: #0a0a0a; --run-bg: #f8f7f3; --radius: 14px;
  --display: 'Plus Jakarta Sans', 'DM Sans', system-ui, sans-serif; --body: 'DM Sans', system-ui, sans-serif;
  --mono: 'DM Mono', 'JetBrains Mono', monospace;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; background: transparent; color: var(--ink); font: 15px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
::selection { background: var(--ink); color: #fff; }

/* the platform's moving node network, behind everything */
#flow-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.vignette { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 90% 70% at 30% 30%, transparent 0%, rgba(255,255,255,.35) 75%, rgba(255,255,255,.85) 100%); }

.top { display: flex; justify-content: space-between; align-items: center; padding: 16px 40px; position: sticky; top: 0; z-index: 3;
  background: rgba(255,255,255,.72); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--line); }
.brand { display: flex; gap: 11px; align-items: center; text-decoration: none; color: var(--ink); }
.brand .word { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.03em; }
.brand .prod { font-family: var(--mono); font-size: 12px; color: var(--muted); border: 1px solid var(--line2); border-radius: 100px;
  padding: 3px 11px; margin-left: 4px; background: rgba(255,255,255,.6); }
.account { font-size: 13.5px; color: var(--muted); text-align: right; }
.account b { color: var(--ink); font-weight: 600; }
.plan { display: inline-block; padding: 2px 10px; border-radius: 99px; border: 1px solid var(--ink); color: var(--ink);
  font-family: var(--mono); font-size: 11.5px; margin-left: 8px; vertical-align: 1px; }

.hero { max-width: 1040px; margin: 0 auto; padding: 46px 20px 8px; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12px; color: var(--muted);
  border: 1px solid var(--line2); padding: 6px 14px; border-radius: 100px; background: rgba(255,255,255,.6); backdrop-filter: blur(6px); }
.badge-dot { width: 6px; height: 6px; background: var(--ink); border-radius: 50%; animation: sf-pulse 2.2s ease-in-out infinite; }
@keyframes sf-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.85); } }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.04;
  letter-spacing: -0.03em; margin: 18px 0 12px; }
.hero h1 .accent { color: var(--accent); white-space: nowrap; }
.hero p { color: var(--muted); font-size: 16px; font-weight: 300; max-width: 640px; margin: 0; }

main { max-width: 1040px; margin: 24px auto; padding: 0 20px 40px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 18px;
  box-shadow: 0 1px 2px rgba(10,10,10,.03); }
h2 { font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 14px; }
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.mode { text-align: left; border: 1px solid var(--line2); background: var(--card); color: var(--ink); border-radius: 11px;
  padding: 12px 14px; font: inherit; font-family: var(--display); font-weight: 700; cursor: pointer; position: relative;
  overflow: hidden; transition: background .25s, border-color .25s; }
.mode::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 2px; background: var(--ink); transition: width .35s ease; }
.mode:hover { background: var(--paper2); }
.mode:hover::before, .mode.active::before { width: 100%; }
.mode small { display: block; font-family: var(--body); font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.mode.active { border-color: var(--ink); background: var(--paper2); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.drop[hidden] { display: none; }
.drop { border: 1.5px dashed var(--line2); border-radius: 11px; padding: 16px; cursor: pointer; display: block; min-height: 84px;
  background: var(--card); transition: background .2s, border-color .2s; }
.drop:hover, .drop.over { border-color: var(--ink); background: var(--paper); }
.drop.has { border-style: solid; border-color: var(--accent); background: var(--good-bg); }
.drop-title { display: block; font-weight: 600; }
.drop-hint { color: var(--muted); font-size: 13px; }
.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-top: 16px; }
.options .opt-only { display: contents; }
.options > label.wide { grid-column: span 2; }
@media (max-width: 760px) { .options > label.wide { grid-column: auto; } }
.options .opt-only[hidden] { display: none; }
label { font-size: 13px; font-weight: 500; color: var(--muted); }
label small { display: block; font-weight: 400; margin-top: 4px; line-height: 1.45; }
.unit { font-weight: 400; }
select, input[type=number], input[type=text], #dev input { width: 100%; margin-top: 4px; padding: 9px 10px; border-radius: 9px;
  border: 1px solid var(--line2); background: var(--card); color: var(--ink); font: inherit; font-size: 14px; }
select:focus, input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(10,10,10,.06); }
.actions { margin-top: 18px; display: flex; gap: 14px; align-items: center; }
button.primary { background: var(--brand); color: var(--brand-ink); border: 0; border-radius: 9px; padding: 11px 24px;
  font: inherit; font-weight: 500; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
button.primary:hover:not(:disabled) { background: var(--ink2); box-shadow: 0 6px 20px rgba(0,0,0,.18); transform: translateY(-1px); }
button.primary:disabled { opacity: .45; cursor: default; }
button.ghost { background: var(--card); border: 1px solid var(--line2); color: var(--ink); border-radius: 9px; padding: 6px 13px;
  font: inherit; cursor: pointer; }
button.ghost:hover { background: var(--paper); border-color: var(--gray); }
a.btn { display: inline-block; text-decoration: none; border: 1px solid var(--line2); color: var(--ink); border-radius: 9px;
  padding: 8px 14px; margin-right: 8px; font-weight: 500; font-size: 14px; background: var(--card); }
a.btn:hover { background: var(--paper); border-color: var(--gray); }
a.btn.main { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
a.btn.main:hover { background: var(--ink2); }
.err { color: var(--bad); font-size: 14px; }
.muted { color: var(--muted); }
.job-head { display: flex; gap: 12px; align-items: center; }
.job-head h2 { margin: 0; }
.chip { padding: 2px 10px; border-radius: 99px; font-family: var(--mono); font-size: 12px; background: var(--paper); color: var(--ink);
  border: 1px solid var(--line2); }
.chip.done { background: var(--good-bg); color: var(--good); border-color: transparent; }
.chip.failed, .chip.stopped, .chip.unsupported { background: var(--bad-bg); color: var(--bad); border-color: transparent; }
.verdict { margin: 14px 0 10px; padding: 11px 15px; border-radius: 10px; font-weight: 600; }
.verdict.pass { background: var(--good-bg); color: var(--good); }
.verdict.fail { background: var(--bad-bg); color: var(--bad); }
.verdict.note { background: var(--warn-bg); color: var(--warn); }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
th { color: var(--muted); font-weight: 500; font-size: 11.5px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.delta { font-size: 12.5px; margin-left: 6px; }
.delta.down { color: var(--good); } .delta.up { color: var(--bad); }
.bar { height: 6px; border-radius: 3px; background: var(--line); margin-top: 5px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--ink); }
.runs tr { cursor: pointer; } .runs tbody tr:hover td { background: var(--paper2); }
ul.notes { margin: 8px 0 12px 18px; padding: 0; } ul.notes li { margin: 4px 0; font-size: 14px; }
pre { white-space: pre-wrap; font-family: var(--mono); font-size: 12px; max-height: 300px; overflow: auto; background: var(--paper);
  padding: 10px 12px; border-radius: 9px; border: 1px solid var(--line); }
details summary { cursor: pointer; color: var(--muted); font-size: 13.5px; margin-top: 12px; }
.upgrade { margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line2); font-size: 14px; }
.modal { position: fixed; inset: 0; background: rgba(10,10,10,.4); display: grid; place-items: center; z-index: 5; }
.modal[hidden] { display: none; }
.modal-box { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; width: min(440px, 92vw); }
.modal-box label { display: block; margin-top: 10px; }
.small { font-size: 12.5px; }
.account button { margin-top: 6px; }
.foot { color: var(--muted); font-size: 12.5px; margin-top: 8px; }
.dev { position: fixed; bottom: 10px; left: 10px; background: var(--card); border: 1px solid var(--line); padding: 6px 10px;
  border-radius: 9px; font-size: 12px; color: var(--muted); opacity: .9; }
.dev label { display: inline; font-weight: 400; }
.dev input { width: 90px !important; display: inline-block !important; margin: 0 6px 0 2px !important; padding: 2px 6px !important; }
@media (max-width: 760px) { .modes, .grid { grid-template-columns: 1fr; } .top { padding: 12px 16px; } .brand .prod { display: none; }
  .hero { padding-top: 28px; } }

.help { margin-top: 14px; border: 1px solid var(--line); border-radius: 11px; padding: 9px 15px; background: var(--card); }
.help[hidden] { display: none; }
.help summary { margin: 0; font-weight: 600; color: var(--ink); }
.help-body p { font-size: 13.5px; margin: 10px 0; }
.help-body code { font-family: var(--mono); font-size: 12.5px; background: var(--paper); padding: 0 4px; border-radius: 4px; }
button.small-btn { padding: 6px 14px; font-size: 13px; }
code { font-family: var(--mono); }
.signin-wrap { display: flex; justify-content: center; padding: 8px 0 40px; }

/* ---------- public pages: landing and access request ---------- */
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14px; position: relative; }
.nav a:hover, .nav a.here { color: var(--ink); }
.nav a:not(.btn-dark)::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px; background: var(--ink);
  transition: width .25s ease; }
.nav a:not(.btn-dark):hover::after, .nav a.here::after { width: 100%; }
.top-right { display: flex; align-items: center; gap: 32px; }
.btn-dark, .btn-light, .btn-white { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; border-radius: 9px;
  padding: 10px 18px; font-size: 14px; font-weight: 500; transition: transform .2s, box-shadow .2s, background .2s; }
.btn-dark { background: var(--ink); color: #fff !important; }
.btn-dark:hover { background: var(--ink2); box-shadow: 0 6px 20px rgba(0,0,0,.18); transform: translateY(-1px); }
.btn-light { background: rgba(255,255,255,.7); color: var(--ink); border: 1px solid var(--line2); }
.btn-light:hover { background: var(--paper); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { transform: translateY(-1px); }
.big { padding: 13px 24px; font-size: 15px; }
.hero-cta { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.land { max-width: 1040px; margin: 30px auto 0; padding: 0 20px 30px; }
.land > section { margin-bottom: 56px; scroll-margin-top: 90px; }
h2.sec { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -0.03em; margin: 0 0 8px; }
.sec-sub { color: var(--muted); margin: 0 0 22px; max-width: 720px; font-size: 14.5px; }
.rgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 18px; }
.rcard { background: var(--card); border: 1px solid var(--line2); border-radius: 14px; padding: 20px 20px 16px; display: flex; flex-direction: column; }
.rcard.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.rkind { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.rcard.dark .rkind, .rcard.dark .rmodel span, .rcard.dark .rmini td:first-child { color: #b9b9b9; }
.rbig { font-family: var(--display); font-weight: 800; font-size: 48px; line-height: 1; letter-spacing: -0.04em; margin: 10px 0 6px; }
.rline { font-family: var(--display); font-weight: 700; font-size: 15px; line-height: 1.3; margin-bottom: 14px; }
.rmodel { font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.rmodel span { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.rmini { width: 100%; }
.rmini td { padding: 6px 0; font-size: 13.5px; border-bottom: 0; border-top: 1px solid var(--line); }
.rcard.dark .rmini td { border-top-color: #333; }
.rmini td:first-child { color: var(--muted); width: 32%; }
.rtot { margin-top: auto; padding-top: 12px; font-size: 12.5px; color: var(--muted); }
.rcard.dark .rtot { color: #cfcfcf; }
.tcard { padding: 8px 20px; }
.ltable td { vertical-align: middle; }
.ltable td:first-child { width: 31%; }
.tkind { display: block; font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.src { display: block; color: var(--muted); font-size: 12.5px; }
.lbar { height: 6px; border-radius: 3px; background: var(--line2); overflow: hidden; }
.lbar > i { display: block; height: 100%; background: var(--ink); border-radius: 3px; }
.lbv { font-size: 12.5px; margin-top: 5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ltable .acc { font-size: 13px; white-space: nowrap; }
.ltable .x { font-family: var(--display); font-weight: 800; font-size: 20px; text-align: right; white-space: nowrap; }
.median { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; font-size: 14px; }
.lsteps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 18px 0 28px; }
.lsteps > div { border-top: 2px solid var(--ink); padding-top: 12px; }
.lsteps b { display: block; font-family: var(--display); font-size: 16px; margin-bottom: 6px; }
.lsteps b i { font-style: normal; color: var(--muted); margin-right: 8px; font-family: var(--mono); font-size: 13px; }
.lsteps p { margin: 0; color: var(--muted); font-size: 14px; }
.lcols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lcols h3 { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 6px; font-weight: 500; }
.lcols p { margin: 0; font-size: 14px; }
.cta-band { background: var(--ink); color: #fff; border-radius: 16px; padding: 30px 34px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: 24px; font-weight: 800; margin: 0 0 6px; }
.cta-band p { margin: 0; color: #cfcfcf; max-width: 560px; }
.site-foot { max-width: 1040px; margin: 0 auto; padding: 18px 20px 34px; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); }
.site-foot a { color: var(--muted); }
.inception { display: inline-flex; align-items: center; gap: 12px; }
.inception span { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.inception img { height: 36px; }
.req { max-width: 680px; margin: 44px auto 40px; padding: 0 20px; }
.req-card { padding: 30px 32px; }
.req-card h1 { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3.6vw, 36px); letter-spacing: -0.03em; line-height: 1.1; margin: 16px 0 10px; }
.req-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.req-grid .wide { grid-column: span 2; }
.req-grid input, .req-grid select, .req-grid textarea { width: 100%; margin-top: 5px; padding: 10px 11px; border-radius: 9px; border: 1px solid var(--line2);
  background: var(--card); color: var(--ink); font: inherit; font-size: 14px; }
.req-grid textarea { resize: vertical; }
.req-grid input:focus, .req-grid select:focus, .req-grid textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(10,10,10,.06); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 860px) { .rgrid, .lsteps, .lcols { grid-template-columns: 1fr; } .nav a:not(.btn-dark):not(.signin) { display: none; }
  .req-grid { grid-template-columns: 1fr; } .req-grid .wide { grid-column: auto; } .ltable th:nth-child(4), .ltable td:nth-child(4) { display: none; } }

a { color: var(--ink); text-underline-offset: 2px; }
