@charset "UTF-8";
:root {
	--paper: #f4f0e7;
	--ink: #21171d;
	--pink: #ff4a9b;
	--line: #b9b1ac;
	--mono: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-family: Arial, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
	color: var(--ink);
	background: var(--paper);
	font-synthesis: none;
	scroll-behavior: smooth;
}
* {
	box-sizing: border-box;
}
body {
	margin: 0;
}
a {
	color: inherit;
	text-underline-offset: 0.25em;
}
button,
input,
select,
textarea {
	font: inherit;
}
button,
a,
select,
input,
textarea {
	-webkit-tap-highlight-color: transparent;
}
button {
	cursor: pointer;
}
button:disabled {
	cursor: wait;
	opacity: 0.5;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--pink);
	outline-offset: 4px;
}
button {
	color: inherit;
}
::selection {
	background: var(--pink);
	color: var(--ink);
}
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}
.skip {
	position: fixed;
	top: -100px;
	left: 10px;
	z-index: 20;
	background: var(--pink);
	padding: 15px;
}
.skip:focus {
	top: 10px;
}
header {
	height: 100px;
	border-bottom: 2px solid var(--ink);
	display: flex;
	align-items: center;
	padding: 0 4.5vw;
	gap: 35px;
}
.brand {
	display: flex;
	align-items: center;
	gap: 17px;
	text-decoration: none;
	font-family: var(--mono);
	font-weight: 900;
	font-size: 38px;
	letter-spacing: -3px;
}
.brand span {
	font-family: Arial, sans-serif;
	font-size: 11px;
	line-height: 1.1;
	letter-spacing: 1px;
}
header nav {
	margin-left: auto;
	display: flex;
	gap: 33px;
	font-size: 15px;
	font-weight: 700;
}
header nav a {
	text-decoration: none;
	border-bottom: 2px solid transparent;
	padding: 7px 0;
}
header nav a:hover {
	border-color: var(--pink);
}
.version {
	font: 12px var(--mono);
	border: 1px solid var(--ink);
	padding: 7px;
}
.hero {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	min-height: 620px;
	padding: 70px 4.5vw 64px;
	overflow: hidden;
}
.eyebrow {
	font: 700 24px var(--mono);
	letter-spacing: 12px;
	margin: 0 0 20px;
}
h1 {
	font-size: clamp(76px, 8.6vw, 134px);
	line-height: 1.04;
	letter-spacing: -0.07em;
	margin: 0;
	font-weight: 950;
}
.intro {
	font-size: 18px;
	line-height: 1.8;
	margin: 29px 0 26px;
}
.ink-link {
	font-weight: 800;
	text-decoration: none;
	border-bottom: 3px solid;
	padding: 10px 0;
	display: inline-block;
}
.ink-link span {
	padding-left: 80px;
}
.hero-art {
	position: relative;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
.hero-art:before {
	content: "";
	position: absolute;
	inset: -30px -20vw -40px 0;
	background: var(--pink);
	transform: rotate(-5deg);
	z-index: -1;
}
.glyph-track {
	font: 900 clamp(32px, 5.7vw, 93px) / 0.9 var(--mono);
	letter-spacing: -0.09em;
	transform: rotate(-13deg) translate(0, -65px);
	white-space: nowrap;
}
.glyph-track span {
	display: block;
}
.glyph-track span:nth-child(2) {
	text-align: right;
	margin-right: -0.7em;
	animation: waves 7s ease-in-out infinite;
}
.ascii-print {
	position: absolute;
	left: 8%;
	bottom: 0;
	font: 18px / 1.3 var(--mono);
	transform: rotate(5deg);
	opacity: 0.65;
}
.paper-stamp {
	position: absolute;
	right: 6%;
	bottom: 10px;
	background: var(--paper);
	border: 2px solid var(--ink);
	padding: 22px;
	transform: rotate(7deg);
	box-shadow: 7px 7px 0 var(--ink);
	font: 16px / 1.5 var(--mono);
}
.paper-stamp strong {
	font-size: 25px;
}
.strip {
	overflow: hidden;
	border-block: 2px solid var(--ink);
	background: var(--ink);
	color: var(--paper);
	padding: 13px 0;
	white-space: nowrap;
	font: 700 26px var(--mono);
	letter-spacing: 1px;
}
.strip span {
	display: block;
	animation: drift 35s linear infinite;
}
section[id] {
	scroll-margin-top: 20px;
}
.workshop,
.docs-section,
.packages-section {
	padding: 85px 4.5vw 75px;
}
.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 35px;
}
.section-heading h2 {
	font-size: clamp(32px, 4.1vw, 60px);
	letter-spacing: -0.06em;
	margin: 0;
	font-weight: 950;
}
.section-heading p {
	font-size: 14px;
	line-height: 1.7;
	margin: 0;
}
.workbench {
	border: 2px solid var(--ink);
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	box-shadow: 8px 8px 0 var(--pink);
}
.editor-side {
	border-right: 2px solid var(--ink);
	min-width: 0;
}
.toolbar {
	height: 55px;
	border-bottom: 1px solid var(--ink);
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 16px;
	font-size: 12px;
}
.toolbar label {
	font-weight: 700;
}
.toolbar select {
	max-width: 160px;
	border: 0;
	background: transparent;
	border-bottom: 1px solid;
	padding: 4px;
}
.toolbar button {
	background: transparent;
	border: 0;
	font-size: 12px;
	text-decoration: underline;
}
.filename {
	margin-left: auto;
	font: 12px var(--mono);
}
textarea {
	width: 100%;
	height: 370px;
	display: block;
	border: 0;
	resize: vertical;
	background: transparent;
	padding: 25px;
	font: 16px / 1.75 var(--mono);
	border-radius: 0;
	color: var(--ink);
	tab-size: 2;
	min-height: 180px;
}
.insert-bar {
	display: flex;
	overflow-x: auto;
	border-block: 1px solid var(--line);
	padding: 8px;
	gap: 8px;
}
.insert-bar button {
	white-space: nowrap;
	border: 1px solid var(--line);
	background: transparent;
	padding: 9px;
	font: 12px var(--mono);
}
.insert-bar button:hover {
	background: var(--pink);
	border-color: var(--ink);
}
.insert-bar small {
	font:
		10px Arial,
		sans-serif;
	margin-left: 6px;
}
.run-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px;
}
.run-bar > span {
	font: 11px var(--mono);
}
#run {
	min-width: 150px;
	text-align: left;
	border: 2px solid var(--ink);
	background: var(--pink);
	padding: 13px 18px;
	font-weight: 800;
	transition: transform 0.2s;
}
#run span {
	float: right;
	margin-left: 25px;
}
#run:active {
	transform: translate(2px, 3px);
}
.output-side {
	color: var(--paper);
	background: var(--ink);
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.output-side .toolbar {
	border-color: #6e5c65;
}
.toolbar h3 {
	font: 700 13px var(--mono);
	margin: 0;
}
.toolbar #state {
	margin-left: auto;
	font-size: 11px;
	color: #dbb9c9;
}
.output-side pre {
	padding: 25px;
	margin: 0;
	font: clamp(18px, 3vw, 40px) / 1.45 var(--mono);
	white-space: pre-wrap;
	overflow-wrap: anywhere;
	flex: 1;
	min-height: 260px;
}
.output-side pre.error {
	font-size: 15px;
	color: #ff91c2;
}
.output-bottom {
	padding: 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	font: 10px var(--mono);
	border-top: 1px solid #6e5c65;
}
.output-bottom button {
	background: transparent;
	color: var(--paper);
	border: 0;
	text-decoration: underline;
	white-space: nowrap;
	font-size: 12px;
}
.boundary {
	font-size: 12px;
	line-height: 1.8;
	margin: 25px 0 0;
	color: #61505a;
}
.boundary a {
	margin-left: 8px;
}
.docs-section {
	border-block: 2px solid var(--ink);
}
.docs-shell {
	display: grid;
	grid-template-columns: 230px minmax(0, 1fr);
	gap: 55px;
}
.docs-shell aside {
	border-top: 2px solid var(--ink);
	align-self: start;
	position: sticky;
	top: 20px;
	padding-top: 19px;
}
.docs-shell aside label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	margin-bottom: 10px;
}
input {
	border: 0;
	border-bottom: 1px solid var(--ink);
	border-radius: 0;
	padding: 12px 0;
	background: transparent;
	width: 100%;
	color: var(--ink);
	min-width: 0;
}
.docs-shell aside input {
	margin-bottom: 22px;
	font-size: 13px;
}
.docs-shell aside nav {
	display: flex;
	flex-direction: column;
	gap: 0;
}
.docs-shell aside a {
	padding: 10px 7px;
	border-bottom: 1px solid var(--line);
	font-size: 13px;
	text-decoration: none;
}
.docs-shell aside a.active {
	background: var(--ink);
	color: var(--paper);
}
article {
	max-width: 900px;
	line-height: 1.85;
	font-size: 15px;
	overflow-wrap: anywhere;
}
article h1 {
	font-size: 36px;
	letter-spacing: -0.04em;
	line-height: 1.2;
	margin: 0 0 25px;
}
article h2 {
	font-size: 25px;
	margin-top: 45px;
	line-height: 1.4;
}
article h3 {
	font-size: 19px;
	margin-top: 35px;
}
article pre {
	background: #e6e0d6;
	border-left: 4px solid var(--pink);
	padding: 22px;
	overflow: auto;
	font: 13px / 1.6 var(--mono);
}
article code {
	font-family: var(--mono);
	font-size: 0.88em;
}
article table {
	display: block;
	overflow: auto;
	border-collapse: collapse;
	width: 100%;
	font-size: 12px;
}
article th,
article td {
	border: 1px solid var(--line);
	padding: 8px;
	text-align: left;
}
article th {
	background: var(--ink);
	color: var(--paper);
}
article blockquote {
	border-left: 4px solid var(--pink);
	margin-left: 0;
	padding-left: 20px;
}
.docs-error {
	border: 1px solid;
	padding: 20px;
}
.package-top {
	display: flex;
	align-items: center;
	gap: 40px;
	margin-bottom: 30px;
}
.package-top input {
	font: 26px var(--mono);
	flex: 1;
}
.package-top a {
	font: 12px var(--mono);
}
.package-row {
	border-top: 1px solid var(--ink);
	padding: 24px 0;
	display: grid;
	grid-template-columns: 1fr auto auto;
	gap: 30px;
	align-items: center;
}
.package-row h3 {
	font: 700 25px var(--mono);
	margin: 0 0 8px;
}
.package-row p {
	font: 12px var(--mono);
	margin: 0;
	color: #61505a;
}
.package-row code {
	font: 12px var(--mono);
}
.package-row button,
#packages-more {
	border: 1px solid var(--ink);
	background: transparent;
	padding: 12px;
	font-weight: 700;
}
.package-row button:hover,
#packages-more:hover {
	background: var(--pink);
}
#copy-state {
	font-size: 13px;
	min-height: 22px;
}
footer {
	background: var(--ink);
	color: var(--paper);
	padding: 50px 4.5vw;
	display: flex;
	align-items: start;
	gap: 40px;
}
footer p {
	font-size: 13px;
	line-height: 1.7;
	margin: 5px 0;
}
.footer-brand {
	font: 700 48px var(--mono);
	letter-spacing: -4px;
	text-decoration: none;
}
footer > div {
	margin-left: auto;
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	justify-content: end;
	font-size: 12px;
}
footer a:hover {
	color: var(--pink);
}
@keyframes waves {
	50% {
		transform: translate(12px, 7px);
	}
}
@keyframes drift {
	to {
		transform: translateX(-30%);
	}
}
@media (prefers-reduced-motion: reduce) {
	:root {
		scroll-behavior: auto;
	}
	*,
	*:before,
	*:after {
		animation: none !important;
		transition: none !important;
	}
}
@media (min-width: 1700px) {
	main {
		max-width: 1700px;
		margin: auto;
	}
}
@media (max-width: 900px) {
	header {
		height: 80px;
		gap: 20px;
	}
	.brand {
		font-size: 30px;
	}
	header nav {
		gap: 20px;
	}
	.version {
		display: none;
	}
	.hero {
		min-height: 580px;
		grid-template-columns: 1fr 1fr;
		padding-top: 55px;
	}
	h1 {
		font-size: 85px;
	}
	.intro {
		font-size: 15px;
	}
	.glyph-track {
		font-size: 52px;
	}
	.workbench {
		grid-template-columns: 1fr 1fr;
	}
	.toolbar {
		gap: 7px;
		padding-inline: 10px;
	}
	.filename {
		display: none;
	}
	.docs-shell {
		grid-template-columns: 180px minmax(0, 1fr);
		gap: 30px;
	}
	.package-row {
		grid-template-columns: 1fr auto;
		gap: 15px;
	}
	.package-row code {
		grid-column: 1 / 2;
		grid-row: 2;
	}
	.package-row button {
		grid-column: 2;
		grid-row: 1 / 3;
	}
	footer {
		gap: 20px;
	}
	footer > div {
		max-width: 260px;
	}
}
@media (max-width: 620px) {
	header {
		padding-inline: 6vw;
		height: 75px;
	}
	.brand {
		font-size: 28px;
	}
	.brand span {
		display: none;
	}
	header nav {
		gap: 17px;
		font-size: 12px;
	}
	.hero {
		display: block;
		padding: 40px 6vw 30px;
		min-height: 760px;
	}
	.eyebrow {
		font-size: 18px;
	}
	h1 {
		font-size: 93px;
	}
	.intro {
		font-size: 16px;
		margin-top: 25px;
	}
	.hero-art {
		height: 225px;
		margin-top: 40px;
	}
	.hero-art:before {
		inset: 10px -20vw -40px -30vw;
		transform: rotate(-5deg);
	}
	.glyph-track {
		font-size: 59px;
		transform: rotate(-10deg) translate(0, -20px);
	}
	.paper-stamp {
		padding: 11px;
		right: 0;
		bottom: -5px;
		font-size: 11px;
		box-shadow: 4px 4px 0;
	}
	.paper-stamp strong {
		font-size: 17px;
	}
	.ascii-print {
		font-size: 11px;
		bottom: -15px;
		left: 0;
	}
	.strip {
		font-size: 18px;
	}
	.workshop,
	.docs-section,
	.packages-section {
		padding: 55px 6vw;
	}
	.section-heading {
		display: block;
		margin-bottom: 25px;
	}
	.section-heading h2 {
		font-size: 37px;
	}
	.section-heading p {
		font-size: 12px;
		margin-top: 15px;
	}
	.workbench {
		grid-template-columns: 1fr;
		box-shadow: 5px 5px 0 var(--pink);
	}
	.editor-side {
		border-right: 0;
	}
	.toolbar {
		height: 49px;
		font-size: 11px;
	}
	.toolbar select {
		max-width: 140px;
	}
	textarea {
		font-size: 14px;
		height: 310px;
		padding: 20px;
	}
	.output-side {
		border-top: 2px solid var(--ink);
	}
	.output-side pre {
		min-height: 150px;
		font-size: 35px;
	}
	.output-side pre.error {
		font-size: 14px;
	}
	.output-bottom {
		font-size: 9px;
	}
	.docs-shell {
		display: block;
	}
	.docs-shell aside {
		position: static;
		border: 0;
		padding: 0;
		margin-bottom: 30px;
	}
	.docs-shell aside nav {
		flex-direction: row;
		flex-wrap: nowrap;
		overflow: auto;
		padding-bottom: 5px;
	}
	.docs-shell aside a {
		white-space: nowrap;
		border: 1px solid var(--line);
		padding: 10px;
		margin-right: 6px;
	}
	.docs-shell aside input {
		margin-bottom: 15px;
	}
	article h1 {
		font-size: 30px;
	}
	article {
		font-size: 14px;
	}
	article pre {
		padding: 15px;
		font-size: 11px;
	}
	.package-top {
		display: block;
	}
	.package-top input {
		font-size: 22px;
		margin-bottom: 15px;
	}
	.package-row h3 {
		font-size: 19px;
	}
	.package-row code {
		font-size: 10px;
		overflow-wrap: anywhere;
	}
	.package-row button {
		font-size: 11px;
		padding: 10px;
	}
	.boundary {
		font-size: 10px;
	}
	footer {
		flex-wrap: wrap;
		padding: 40px 6vw;
	}
	.footer-brand {
		font-size: 39px;
	}
	footer > div {
		margin: 0;
		max-width: none;
		justify-content: start;
		width: 100%;
	}
}
