/* /kanban: black product page. Standalone; does not load the Photon stylesheet. */

@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-weight: 200 900;
	font-display: swap;
	src: url("../webfonts/source-sans-3-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: "Source Sans 3";
	font-style: normal;
	font-weight: 200 900;
	font-display: swap;
	src: url("../webfonts/source-sans-3-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--ink: #fff;
	--ink2: rgba(255, 255, 255, .78);
	--ink3: rgba(255, 255, 255, .58);
	--rule: rgba(255, 255, 255, .16);
	--accent: #4fa49a;
	/* Photon's header gradient, reused as the board background in the render. */
	--photon: linear-gradient(45deg, #9dc66b 5%, #4fa49a 30%, #4361c2);
	color-scheme: dark;
	scrollbar-color: rgba(255, 255, 255, .3) #000;
	accent-color: var(--accent);
}

* { box-sizing: border-box; }
html { background: #000; scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: #000;
	color: var(--ink2);
	font: 17px/1.65 "Source Sans 3", "Source Sans Pro", Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
}
::selection { background: var(--accent); color: #000; }
a { color: inherit; text-decoration-color: var(--rule); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid #6bd4c8; outline-offset: 2px; }
p { margin: 0 0 1em; }
h1, h2, h3 { color: var(--ink); font-weight: 600; letter-spacing: -.01em; line-height: 1.15; margin: 0; text-wrap: balance; }
h2 { font-size: 34px; margin: 0 0 22px; }
h3 { font-size: 19px; letter-spacing: 0; margin: 0 0 10px; }
strong, dt { color: var(--ink); }
code { font: .86em ui-monospace, Menlo, Consolas, monospace; color: var(--ink); }

.w { max-width: 1140px; margin: 0 auto; padding-inline: 40px; }
.sec { padding: 84px 0; border-top: 1px solid var(--rule); }

/* Top bar */
.top { display: flex; align-items: center; gap: 28px; height: 60px; font-size: 15px; }
.top .home { font-weight: 600; text-decoration: none; color: var(--ink); }
.top .home a { text-decoration: none; }
.top .home span { color: var(--ink3); font-weight: 400; margin: 0 8px; }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { text-decoration: none; color: var(--ink2); }
.top nav a:hover { color: var(--ink); }

/* Buttons, after Photon's */
.btn {
	display: inline-block;
	height: 2.75em;
	line-height: 2.75em;
	padding: 0 2em;
	border-radius: 4px;
	font-size: .8em;
	font-weight: 600;
	letter-spacing: .125em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	color: var(--ink);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6);
	transition: background-color .2s ease-out;
}
.btn:hover { background: rgba(255, 255, 255, .1); }
.btn.pri { background: #fff; color: #000; box-shadow: none; }
.btn.pri:hover { background: #e6e6e6; }
.btn.sm { font-size: 11px; padding: 0 1.4em; }
.acts { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }

/* Undecided values. Each one must be replaced before the page is linked anywhere. */

/* Hero */
.hero { padding-block: 56px 64px; }
.hero h1 { font-size: 96px; letter-spacing: -.035em; line-height: .95; }
.hero .lead { font-size: 24px; line-height: 1.4; max-width: 42ch; margin: 20px 0 0; color: var(--ink); }
.facts { display: grid; grid-template-columns: repeat(5, auto); gap: 4px 40px; margin: 30px 0 0; padding: 20px 0 0; border-top: 1px solid var(--rule); font-size: 15px; }
.facts dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); }
.facts dd { margin: 0; color: var(--ink); }
.facts, .rail { font-variant-numeric: lining-nums tabular-nums; }

/* Board render. Sample data drawn in HTML, styled like a dark XenForo style. */
.render { padding-bottom: 18px; }
.kb { margin: 0; border-radius: 8px; overflow: hidden; font: 13px/1.4 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; box-shadow: 0 18px 48px rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .09); }
.kb-forum { display: flex; align-items: center; gap: 4px; background: #141414; color: #e8e8e8; padding: 0 14px; height: 40px; }
.kb-forum b { font-size: 14px; margin-right: 16px; white-space: nowrap; }
.kb-forum span { padding: 0 11px; line-height: 40px; opacity: .82; }
.kb-forum span.on { background: #1f1f1f; opacity: 1; font-weight: 600; }
.kb-board { position: relative; background: var(--photon); }
.kb-board::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.kb-board > * { position: relative; }
.kb-head { display: flex; align-items: center; gap: 14px; padding: 12px 16px; color: #fff; }
.kb-head b { font-size: 16px; white-space: nowrap; }
.kb-views { display: flex; background: rgba(0, 0, 0, .28); border-radius: 6px; padding: 2px; }
.kb-views span { padding: 3px 10px; border-radius: 4px; color: rgba(255, 255, 255, .85); }
.kb-views span.on { background: rgba(255, 255, 255, .92); color: #111; font-weight: 600; }
.kb-head .who { margin-left: auto; display: flex; }
.kb-head .who .av { margin-left: -5px; box-shadow: 0 0 0 2px rgba(0, 0, 0, .25); }
.kb-cols { display: grid; grid-template-columns: repeat(4, minmax(210px, 1fr)); gap: 12px; padding: 0 16px 16px; align-items: start; overflow: hidden; }
.kb-col { background: rgba(16, 16, 16, .92); border-radius: 8px; padding: 8px; }
.kb-col .ch { display: flex; justify-content: space-between; align-items: center; margin: 2px 4px; font-size: 13px; font-weight: 600; color: #ededed; }
.kb-col .ch i { font-style: normal; font-weight: 400; color: #9a9a9a; }
.kb-col.over .ch i { color: #e5484d; font-weight: 600; }
.kb-col .warn { margin: 4px 4px 0; font-size: 11.5px; color: #ef6b6f; }
.kc { background: #222; color: #ededed; border-radius: 6px; padding: 8px 10px; margin-top: 8px; box-shadow: 0 1px 1px rgba(0, 0, 0, .18); border: 1px solid rgba(255, 255, 255, .09); }
.kc p { margin: 0; }
.kc .cv { height: 44px; margin: -8px -10px 8px; border-radius: 5px 5px 0 0; background: linear-gradient(135deg, #2b5876, #4e4376); }
.kc .lbs { display: flex; gap: 4px; margin: 0 0 6px; }
.kc .lbs i { width: 30px; height: 6px; border-radius: 3px; background: var(--l); }
.kc footer { display: flex; align-items: center; gap: 10px; margin-top: 7px; font-size: 11.5px; color: #a3a3a3; }
.kc footer .r { margin-left: auto; display: flex; }
.kc footer .r .av { margin-left: -4px; }
.kc svg { width: 12px; height: 12px; vertical-align: -2px; margin-right: 3px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip { border-radius: 3px; padding: 0 5px; font-weight: 600; white-space: nowrap; }
.chip.late { background: #c9353a; color: #fff; }
.chip.soon { background: #f5a524; color: #1a1a1a; }
.chip.done { background: #237a50; color: #fff; }
.chip.blk { color: #ef6b6f; border: 1px solid currentColor; }
.av { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font: 600 9px/1 -apple-system, "Segoe UI", sans-serif; color: #fff; background: var(--a, #666); }
.cap { font-size: 13px; color: var(--ink3); margin: 10px 0 0; }

/* What 1.0.0 ships */
.ships { columns: 2; column-gap: 64px; }
.ships > div { break-inside: avoid; margin: 0 0 40px; }
.ships dl { margin: 0; }
.ships dt { font-weight: 600; margin: 12px 0 0; }
.ships dd { margin: 0; }

/* 1.x rail */
.rail { display: grid; grid-template-columns: repeat(5, 1fr) 1.3fr; margin: 12px 0 0; padding: 0; list-style: none; }
.rail li { padding: 18px 16px 0 0; border-top: 3px solid var(--accent); position: relative; }
.rail li::before { content: ""; position: absolute; top: -9px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px #000; }
.rail li.nx { border-top: 3px dashed var(--rule); }
.rail li.nx::before { background: #000; border: 2px solid var(--ink2); }
.rail b { display: block; color: var(--ink); font-size: 22px; font-weight: 600; }
.rail span { display: block; font-size: 14px; line-height: 1.4; }
.sup { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 64px; margin: 44px 0 0; }

/* Data table */
.dtab { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.dtab th, .dtab td { text-align: left; vertical-align: top; padding: 12px 18px 12px 0; border-top: 1px solid var(--rule); }
.dtab th { color: var(--ink); font-weight: 600; white-space: nowrap; }
.dtab thead th { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); border-top: 0; }

/* Documents */
.docs { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: auto auto 1fr; gap: 56px 64px; }
#license { grid-column: 1 / -1; }
#install { grid-column: 1; grid-row: 2 / span 2; }
#refunds, #support { grid-column: 2; }
.docs p { margin: 0 0 12px; max-width: 72ch; }
.list { margin: 0; padding-left: 1.3em; }
.list li { margin: 0 0 10px; padding-left: 4px; }
.list.cols { columns: 2; column-gap: 64px; margin-bottom: 20px; }
.list.cols li { break-inside: avoid; }

/* Footer */
.foot { border-top: 1px solid var(--rule); color: var(--ink3); padding: 44px 0; font-size: 14px; text-align: center; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; }

@media (max-width: 900px) {
	.w { padding-inline: 22px; }
	.top { flex-wrap: wrap; height: auto; padding: 14px 0; row-gap: 10px; }
	.top .btn { display: none; }
	.top nav { width: 100%; margin-left: 0; flex-wrap: wrap; gap: 10px 16px; font-size: 14px; line-height: 1.7; }
	.hero h1 { font-size: 64px; }
	.hero .lead { font-size: 21px; }
	.facts { grid-template-columns: repeat(2, auto); gap: 10px 32px; }
	.ships { columns: 1; }
	.sup, .docs { grid-template-columns: 1fr; }
	#license, #install, #refunds, #support { grid-column: auto; grid-row: auto; }
	.list.cols { columns: 1; }
	.rail { grid-template-columns: 1fr 1fr 1fr; row-gap: 28px; }
	.kb-forum span:not(.on) { display: none; }
	.kb-head { flex-wrap: wrap; }
	.kb-views { overflow: hidden; max-width: 100%; }
	.dtab thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
	.dtab tr { display: block; padding: 14px 0; border-top: 1px solid var(--rule); }
	.dtab th, .dtab td { display: block; border: 0; padding: 0 0 4px; }
	.dtab td:last-child { color: var(--ink3); font-size: 14px; }
	.dtab td:last-child::before { content: "Who turns it on: " / ""; }
}

/* Narrow screens show This week and Doing, which keeps the over-limit column in view. */
@media (max-width: 600px) {
	.kb-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kb-col:first-child, .kb-col:last-child { display: none; }
}
