/* empty-space.io - the landing site (2026-10-26). The cockpit's tokens: the mark's teal, Plex for text, Jura for the name. */
:root {
  --ground: #F4F5F2; --paper: #FFFFFF; --ink: #1B1E23; --soft: #5A616B; --rule: #DADDD6;
  --accent: #0B6E75; --accent-bg: #E6F1F1; --mark: #7FD1D6;
  --go: #1F9D55; --go-bg: #E5F5EC; --work: #C98A0B; --work-bg: #FCF3DE; --none: #9AA0A6; --none-bg: #EEF0F1;
  --head: #14171C; --head-ink: #C9CED6;
  --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
  --sans: 'IBM Plex Sans', system-ui, 'Segoe UI', sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --ground: #101317; --paper: #171B21; --ink: #E3E6EA; --soft: #9AA3AD; --rule: #2A3038;
    --accent: #7FD1D6; --accent-bg: #15292B; --go: #4CC38A; --go-bg: #12291D; --work: #E8B04A; --work-bg: #2C2312;
    --none: #7B828A; --none-bg: #1E2329; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 16px/1.6 var(--sans); }
a { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* the header (his pick, 2026-10-26: "the top bar - I like this one better", a light bar like Wix's): the mark and a big
   black name on the left, the links beside them, a divider, the sign-in on the right */
header.top { background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 5; }
header.top .wrap { display: flex; align-items: center; gap: 36px; min-height: 72px; flex-wrap: wrap; max-width: 1240px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand svg { color: var(--accent); }
.wordmark { font-family: 'Jura', var(--sans); font-weight: 700; font-size: 32px; letter-spacing: .02em; line-height: 1; -webkit-text-stroke: 1.1px currentColor; paint-order: stroke fill; }
nav.links { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; font-size: 16px; }
nav.links a { color: var(--ink); text-decoration: none; }
nav.links a:hover, nav.links a[aria-current] { color: var(--accent); }
nav.links .sep { width: 1px; height: 22px; background: var(--rule); }
.signin { margin-left: auto; color: var(--ink); font-size: 17px; text-decoration: underline; text-underline-offset: 3px; }
.signin:hover { color: var(--accent); }
.btn { display: inline-block; padding: 10px 18px; border-radius: 6px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; }
@media (prefers-color-scheme: dark) { .btn { color: #0d1214; } }
.btn.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }

/* the hero */
.hero { padding-top: 56px; padding-bottom: 24px; }
.hero h1 { font-size: clamp(26px, 4vw, 38px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -.01em; }
.hero p.lead { font-size: 19px; color: var(--soft); max-width: 720px; margin: 0 0 24px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.kicker { font-family: var(--mono); font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 12px; }

/* the intro diagram: languages -> IDE -> IR -> targets */
.flow { background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 16px; margin: 0; }
@media (max-width: 760px) {
  header.top { position: static; }
  header.top .wrap { gap: 10px 16px; min-height: 60px; padding-top: 10px; }
  .wordmark { font-size: 26px; }
  nav.links { order: 3; width: 100%; gap: 18px; font-size: 15px; padding-bottom: 10px; }
  nav.links .sep { display: none; }
  .flow { padding: 8px; }
}
.flow svg { width: 100%; height: auto; display: block; }
.flow .node rect { stroke-width: 1.5; }
.flow text { font-family: var(--sans); fill: var(--ink); }
.flow .lang.go rect { fill: var(--go-bg); stroke: var(--go); }
.flow .lang.work rect { fill: var(--work-bg); stroke: var(--work); }
.flow .lang.none rect { fill: var(--none-bg); stroke: var(--none); stroke-dasharray: 4 3; }
.flow .lang.none text { fill: var(--none); }
.flow .core rect { fill: var(--accent-bg); stroke: var(--accent); }
.flow .core text.t { font-weight: 600; }
.flow .wire { fill: none; stroke: var(--rule); stroke-width: 2; }
.flow .pulse { fill: none; stroke-width: 2.5; stroke-dasharray: 6 14; animation: run 1.6s linear infinite; }
.flow .pulse.go { stroke: var(--go); } .flow .pulse.work { stroke: var(--work); } .flow .pulse.core { stroke: var(--accent); }
@keyframes run { to { stroke-dashoffset: -40; } }
@media (prefers-reduced-motion: reduce) { .flow .pulse { animation: none; } }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--soft); margin-top: 10px; }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.legend .go::before { background: var(--go); } .legend .work::before { background: var(--work); } .legend .none::before { background: var(--none); }

/* the three zones: easy to build | the middle | scaling what's built, with Jaal across all three */
.spectrum { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 0; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; background: var(--paper); }
.zone { padding: 20px; border-right: 1px solid var(--rule); }
.zone:nth-child(3) { border-right: 0; }
.zone.mid { background: repeating-linear-gradient(135deg, transparent, transparent 12px, var(--none-bg) 12px, var(--none-bg) 24px); }
.zone-k { font-family: var(--mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--soft); margin-bottom: 6px; }
.zone h3 { margin: 0 0 6px; font-size: 18px; }
.zone p { margin: 0 0 8px; color: var(--soft); font-size: 15px; }
.zone .aside { font-style: italic; color: var(--ink); }
.spectrum .span { grid-column: 1 / -1; padding: 16px 20px; background: var(--accent); color: #fff; font-size: 16px; }
@media (prefers-color-scheme: dark) { .spectrum .span { color: #0d1214; } }
@media (max-width: 760px) { .spectrum { grid-template-columns: 1fr; } .zone { border-right: 0; border-bottom: 1px solid var(--rule); } }

.grid.two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.punch { margin: 20px 0 0; font-size: 20px; font-weight: 600; color: var(--accent); max-width: 780px; }

/* sections */
section { padding: 48px 0; border-top: 1px solid var(--rule); }
section h2 { font-size: 28px; margin: 0 0 8px; }
section .sub { color: var(--soft); margin: 0 0 24px; max-width: 760px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; padding: 18px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--soft); font-size: 15px; }
.video { aspect-ratio: 16 / 9; border-radius: 8px; background: repeating-linear-gradient(45deg, var(--none-bg), var(--none-bg) 10px, var(--paper) 10px, var(--paper) 20px);
  border: 1px dashed var(--none); display: grid; place-items: center; color: var(--soft); font-size: 14px; margin-bottom: 12px; }
.tag { display: inline-block; font-family: var(--mono); font-size: 12px; padding: 1px 8px; border-radius: 10px; margin-bottom: 8px; }
.tag.go { background: var(--go-bg); color: var(--go); } .tag.work { background: var(--work-bg); color: var(--work); } .tag.none { background: var(--none-bg); color: var(--none); }
pre { background: #1B1E23; color: #E3E6EA; padding: 14px 16px; border-radius: 8px; overflow-x: auto; font: 13.5px/1.55 var(--mono); }
code { font-family: var(--mono); font-size: .92em; }
ol.steps { padding-left: 22px; } ol.steps li { margin-bottom: 18px; } ol.steps h3 { margin: 0 0 4px; font-size: 18px; }
table.cmp { border-collapse: collapse; width: 100%; font-size: 14px; background: var(--paper); }
table.cmp th, table.cmp td { border: 1px solid var(--rule); padding: 8px 10px; text-align: left; vertical-align: top; }
table.cmp th { background: var(--accent-bg); position: sticky; top: 56px; }
.scroll { overflow-x: auto; border-radius: 8px; }
footer { padding: 32px 0 48px; color: var(--soft); font-size: 14px; border-top: 1px solid var(--rule); }

/* the comparison chooser: two doors */
a.card.door { display: block; text-decoration: none; color: var(--ink); border-width: 2px; transition: border-color .15s; }
a.card.door:hover { border-color: var(--accent); }
a.card.door h3 { font-size: 22px; }
.go-on { display: inline-block; margin-top: 12px; color: var(--accent); font-weight: 600; }

/* the demo bar (his ask, 2026-10-26): the demos as one bar of green buttons in place of "Watch the demos"; narrow buttons,
   the title on up to three lines, so more demos fit as they come */
.demobar { display: flex; flex-wrap: wrap; width: fit-content; max-width: 100%; margin: 0 0 16px; border-radius: 10px; overflow: hidden; }
.demobar a { display: flex; flex-direction: column; gap: 4px; width: 168px; min-height: 92px; padding: 12px 14px; background: var(--go); color: #fff;
  text-decoration: none; font-weight: 600; font-size: 14.5px; line-height: 1.3; border-right: 1px solid rgba(255,255,255,.28); transition: background .15s; }
.demobar a:last-child { border-right: 0; }
.demobar a:hover, .demobar a:focus-visible { background: #17803F; }
.demobar .db-k { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; opacity: .85; }
@media (prefers-color-scheme: dark) { .demobar a { color: #0b1a10; border-right-color: rgba(0,0,0,.25); } .demobar a:hover { background: #6BD7A0; } }
@media (max-width: 760px) { .demobar { width: 100%; } .demobar a { width: 50%; border-bottom: 1px solid rgba(255,255,255,.28); } .demobar a:nth-child(2n) { border-right: 0; } }
.card:target { outline: 3px solid var(--go); outline-offset: 2px; }
/* a multi-word link in the bar is held in braces, so it reads as one item */
nav.links .br { font-family: var(--mono); color: var(--accent); font-weight: 600; }

/* an investor's welcome, shown when the page opens from their link */
.welcome { background: var(--go-bg); border-bottom: 1px solid var(--go); }
.welcome .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; font-size: 16px; }
.welcome[hidden] { display: none; }
.btn.go { background: var(--go); }
.btn.go:hover { background: #17803F; }

/* the tick table (his ask, 2026-10-26): specific rows, one narrow column per product, its name vertical */
.ticks-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; }
table.ticks { border-collapse: collapse; font-size: 14px; }
table.ticks caption { text-align: left; font-weight: 600; font-size: 16px; padding: 12px 14px 4px; }
table.ticks th, table.ticks td { border-bottom: 1px solid var(--rule); }
table.ticks th[scope="row"] { text-align: left; font-weight: 400; padding: 10px 14px; min-width: 260px; max-width: 360px; line-height: 1.4; }
table.ticks th.v { width: 34px; min-width: 34px; height: 150px; padding: 8px 0; vertical-align: bottom; border-left: 1px solid var(--rule); }
table.ticks th.v span { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; font-weight: 500; font-size: 13px; display: inline-block; }
table.ticks td { width: 34px; text-align: center; border-left: 1px solid var(--rule); font-size: 17px; font-weight: 700; color: var(--go); }
table.ticks .us { background: var(--accent-bg); }
table.ticks th.v.us span { font-weight: 700; color: var(--accent); }
table.ticks tbody tr:last-child th, table.ticks tbody tr:last-child td { border-bottom: 0; }

/* a grey tick: partly, it depends - it links to its one-line explanation under the table */
table.ticks td.p a { color: var(--none); text-decoration: none; display: block; }
table.ticks td.p a sup { font-size: 10px; font-weight: 600; margin-left: 1px; }
table.ticks td.p a:hover, table.ticks td.p a:focus-visible { color: var(--ink); }
ol.ticknotes { font-size: 13.5px; color: var(--soft); padding-left: 22px; margin: 10px 0 0; }
ol.ticknotes li { margin-bottom: 4px; }
ol.ticknotes li:target { color: var(--ink); background: var(--work-bg); }
.legend-ticks { font-size: 13.5px; color: var(--soft); margin: 10px 0 0; }
.legend-ticks .g { color: var(--go); font-weight: 700; } .legend-ticks .p { color: var(--none); font-weight: 700; }
/* a red cross: their own docs show it is not there (sourced in the notes) */
table.ticks td.x a { color: var(--bad, #B42318); text-decoration: none; display: block; font-weight: 700; }
table.ticks td.x a sup { font-size: 10px; font-weight: 600; margin-left: 1px; }
.legend-ticks .x { color: #B42318; font-weight: 700; }
@media (prefers-color-scheme: dark) { table.ticks td.x a, .legend-ticks .x { color: #FF8A80; } }
/* the score row and the notes */
table.ticks tr.score th, table.ticks tr.score td { background: var(--paper); font-weight: 700; }
table.ticks tr.score td.sc { font-size: 13px; color: var(--ink); }
table.ticks tr.score td.us { background: var(--accent-bg); color: var(--accent); }
details.tick-notes { margin-top: 8px; font-size: 14px; }
details.tick-notes summary { cursor: pointer; color: var(--accent); }
table.ticks td.w a { font-size: 9px; letter-spacing: .02em; }   /* Jaal, not built yet */
table.ticks td.w a sup { display: none; }   /* keeps the Jaal column one tick wide; the WIP itself links to its note */
table.ticks tr.group th { text-align: left; font-weight: 700; font-size: 13px; padding: 14px 14px 6px; background: var(--paper); }   /* the language rows */

/* THE PARALLEL LOOP, CODE SIDE BY SIDE (2026-10-26) */
.code-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); }
table.codecmp { border-collapse: collapse; width: 100%; min-width: 640px; table-layout: fixed; font-size: 14px; }
table.codecmp th, table.codecmp td { border-bottom: 1px solid var(--rule); padding: 10px 14px; vertical-align: top; text-align: left; }
table.codecmp thead th { font-size: 13px; color: var(--soft); font-weight: 600; }
table.codecmp th[scope="row"] { font-weight: 600; }
table.codecmp col.c1 { width: 130px; } table.codecmp col.c3 { width: 30%; }
table.codecmp .lang { display: block; font: 400 12px var(--mono); color: var(--soft); margin-top: 2px; }
table.codecmp pre { margin: 0; font-size: 12.5px; overflow-x: auto; }
table.codecmp td.adds { line-height: 1.45; }
table.codecmp .src, table.codecmp .cav { margin: 6px 0 0; font-size: 12.5px; color: var(--soft); }
table.codecmp tr.us { background: var(--accent-bg); }
table.codecmp tr.us th { color: var(--accent); }
table.codecmp tbody tr:last-child th, table.codecmp tbody tr:last-child td { border-bottom: 0; }
table.codecmp .lim { margin: 6px 0 0; font-size: 13px; }
table.codecmp .lim.real strong { color: #B42318; }
@media (prefers-color-scheme: dark) { table.codecmp .lim.real strong { color: #FF8A80; } }
