/* Incompass Technologies. Hand-written, no framework. Dark theme only (owner, Nov 21, 2026). */
:root {
  color-scheme: dark;
  --bg: #0c0908;
  --bg-2: #120e0c;
  --surface: #181210;
  --surface-2: #211915;
  --line: #3a2c25;
  --text: #f6eee8;
  --muted: #c2b2a7;
  --faint: #9c8a7e;
  --accent: #ff8a2a;
  --accent-text: #ffa95a;
  --accent-hot: #e5390b;
  --accent-gold: #ffc24a;
  --on-accent: #1a0c04;
  --ok: #8fd694;
  --glow: rgba(255, 110, 30, 0.18);
  --radius: 14px;
  --max: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent-gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); font-weight: 850; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
code, .mono { font-family: var(--mono); font-size: 0.92em; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: var(--on-accent); padding: 10px 16px; z-index: 100; font-weight: 700; }
.skip:focus { left: 12px; top: 12px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; }
.brand svg { width: 36px; height: 36px; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b { font-size: 1.32rem; font-weight: 850; letter-spacing: -0.03em; }
.brand-name small { font-size: 0.6rem; font-weight: 650; letter-spacing: 0.32em; color: var(--accent-text); margin-top: 3px; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 10px; border-radius: 9px; color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 550; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); box-shadow: inset 0 -2px 0 var(--accent); }
.nav-toggle { display: none; background: var(--surface-2); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: inherit; font-weight: 600; cursor: pointer; }
@media (max-width: 1240px) {
  .js .nav-toggle { display: inline-block; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 66px; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .js .nav.open { display: block; }
  .nav ul { flex-direction: column; }
  .nav a { padding: 12px; font-size: 1.05rem; }
  html:not(.js) .site-head .wrap { height: auto; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  html:not(.js) .nav ul { flex-direction: row; flex-wrap: wrap; }
  html:not(.js) .site-head { position: static; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 72px; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto auto; width: 720px; height: 720px; background: radial-gradient(closest-side, var(--glow), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: -200px; bottom: -380px; width: 680px; height: 680px; background: radial-gradient(closest-side, rgba(229, 57, 11, 0.12), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; }
.eyebrow { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 18px; font-weight: 600; }
.lede { font-size: clamp(1.1rem, 2vw, 1.32rem); color: var(--muted); max-width: 44em; }
.fire { background: linear-gradient(100deg, var(--accent-gold), var(--accent) 45%, var(--accent-hot)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.hero-art { justify-self: end; width: min(100%, 380px); filter: drop-shadow(0 20px 60px rgba(255, 100, 20, 0.25)); }
@media (max-width: 860px) { .hero { padding: 56px 0 48px; } .hero-grid { grid-template-columns: 1fr; } .hero-art { justify-self: start; width: 180px; order: -1; } }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: 12px; font-weight: 700; text-decoration: none; border: 1px solid var(--line); color: var(--text); background: var(--surface-2); }
.btn:hover { border-color: var(--accent); }
.btn.primary { background: linear-gradient(135deg, var(--accent-gold), var(--accent) 55%, #ff6a1a); color: var(--on-accent); border-color: transparent; }
.btn.primary:hover { filter: brightness(1.06); }
.btn .ext { font-size: 0.85em; opacity: 0.8; }

/* Sections */
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--line); }
.section-head { max-width: 46em; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.alt { background: var(--bg-2); }

.grid { display: grid; gap: 20px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid.two, .grid.three { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 0.6em; }
.card p:last-child { margin-bottom: 0; }
.pillar .num { font-family: var(--mono); color: var(--accent-text); font-size: 0.85rem; font-weight: 700; display: block; margin-bottom: 10px; }

/* Product cards */
.product { position: relative; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.product:hover { border-color: var(--accent); transform: translateY(-2px); }
.product .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product .icon { width: 52px; height: 52px; border-radius: 13px; flex: none; }
.product h3 { font-size: 1.45rem; margin: 6px 0 0; }
.product .kind { color: var(--faint); font-size: 0.9rem; font-weight: 600; margin: 0; }
.product .more { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--accent-text); }
.product.feature { grid-column: span 2; }
@media (max-width: 900px) { .product.feature { grid-column: auto; } }
@media (prefers-reduced-motion: reduce) { .product, .product:hover { transition: none; transform: none; } }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.alpha { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 55%, transparent); }
.badge.dev { color: var(--accent-text); border-color: color-mix(in srgb, var(--accent-text) 55%, transparent); }
.badge.early { color: var(--muted); border-color: var(--line); }
.badge.build { color: var(--accent-gold); border-color: color-mix(in srgb, var(--accent-gold) 55%, transparent); }
.badge.design { color: var(--faint); border-color: var(--line); border-style: dashed; }

/* Page header (inner pages) */
.page-head { padding: 72px 0 48px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; right: -160px; top: -260px; width: 620px; height: 620px; background: radial-gradient(closest-side, var(--glow), transparent 70%); pointer-events: none; }
.page-head .wrap { position: relative; }
.page-head .badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.page-head h1 { margin-bottom: 0.3em; }
.crumbs { font-size: 0.9rem; color: var(--faint); margin-bottom: 14px; }
.crumbs a { color: var(--faint); }

/* Prose & lists */
.prose { max-width: 46em; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose li { margin-bottom: 0.4em; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--muted); }
.ticks li strong { color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 0.62em; width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(135deg, var(--accent-gold), var(--accent-hot)); transform: rotate(45deg); }
.ticks.todo li::before { background: none; border: 2px solid var(--faint); }

.status-box { border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin: 0 0 28px; }
.status-box p:last-child { margin-bottom: 0; }
.status-box h2, .status-box h3 { font-size: 1.1rem; margin-bottom: 8px; }
.note { color: var(--faint); font-size: 0.92rem; }

/* Figures */
figure { margin: 0; }
.shot { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.shot img { width: 100%; }
.shot figcaption { padding: 12px 16px; font-size: 0.9rem; color: var(--muted); border-top: 1px solid var(--line); }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.shots .wide { grid-column: 1 / -1; }
@media (max-width: 640px) { .shots { grid-template-columns: 1fr; } }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* Stack diagram (Infinite) */
.stack { display: grid; gap: 6px; font-size: 0.92rem; }
.stack div { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; background: var(--surface); display: flex; justify-content: space-between; gap: 12px; }
.stack div b { font-weight: 700; }
.stack div span { color: var(--faint); text-align: right; }
.stack .outside { border-style: dashed; background: transparent; }
.stack .ours { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }

/* Roadmap table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 640px; }
caption { text-align: left; padding: 14px 16px; color: var(--faint); font-size: 0.9rem; }
th, td { text-align: left; vertical-align: top; padding: 13px 16px; border-top: 1px solid var(--line); }
thead th { font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); background: var(--surface); }
tbody th { font-weight: 700; white-space: nowrap; }
td { color: var(--muted); }

.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 26px 26px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--bg); }
.timeline li.next::before { background: var(--bg); border: 2px solid var(--accent); }
.timeline time, .timeline .when { display: block; font-family: var(--mono); font-size: 0.8rem; color: var(--accent-text); font-weight: 700; margin-bottom: 2px; }
.timeline p { color: var(--muted); margin: 0; }

.cta-band { background: linear-gradient(120deg, color-mix(in srgb, var(--accent-hot) 22%, var(--surface)), var(--surface)); border: 1px solid var(--line); border-radius: 20px; padding: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; color: var(--muted); }

.mail { font-size: clamp(1.4rem, 4vw, 2.2rem); font-weight: 800; word-break: break-all; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--faint); font-size: 0.92rem; background: var(--bg-2); }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-foot a { color: var(--muted); }
.site-foot .legal { margin: 0; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  section { padding: 52px 0; }
  .card { padding: 20px; }
  .cta-band { padding: 26px; }
  .brand-name small { letter-spacing: 0.24em; }
}

/* Small spacing helpers (the CSP forbids inline styles) */
.mt-s { margin-top: 14px; }
.mt-l { margin-top: 32px; }
.mb-l { margin: 0 0 40px; }

/* The roadmap table becomes stacked cards on phones */
@media (max-width: 640px) {
  .table-wrap { overflow: visible; border: 0; }
  table { min-width: 0; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  caption { padding: 0 0 12px; }
  tbody tr { display: block; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 14px; padding: 6px 0; }
  tbody th, tbody td { display: block; border: 0; padding: 8px 18px; }
  tbody th { font-size: 1.15rem; }
  tbody td[data-label]::before { content: attr(data-label); display: block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-bottom: 2px; }
}

.nowrap { white-space: nowrap; }
