@font-face {
	font-family: "SOK Shavian";
	src: url("../fonts/NotoSansShavian-Regular.ttf") format("truetype");
	font-display: swap;
	font-style: normal;
	font-weight: 400;
}

:root {
	--sok-ink: #17323a;
	--sok-ink-soft: #566a70;
	--sok-teal: #126d61;
	--sok-teal-dark: #0b514a;
	--sok-cream: #f5f1e7;
	--sok-paper: #fffdf8;
	--sok-mint: #dcebe2;
	--sok-line: #d8d2c7;
	--sok-coral: #eb6d4f;
	--sok-yellow: #dfe878;
	--sok-purple: #afa5d6;
	--sok-serif: Georgia, "Times New Roman", serif;
	--sok-ui: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.sok-keyboard-page {
	margin: 0;
	background: var(--sok-cream);
	color: var(--sok-ink);
}

body.sok-keyboard-page * {
	box-sizing: border-box;
}

body.sok-keyboard-page #wpadminbar {
	position: fixed;
}

.sok-page {
	min-width: 320px;
	min-height: 100vh;
	overflow: hidden;
	background:
		radial-gradient(circle at 83% 13%, rgba(223, 232, 120, 0.22), transparent 22rem),
		var(--sok-cream);
	color: var(--sok-ink);
	font-family: var(--sok-ui);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

.sok-page button,
.sok-page input,
.sok-page textarea {
	font: inherit;
}

.sok-page button,
.sok-page a {
	-webkit-tap-highlight-color: transparent;
}

.sok-page button:focus-visible,
.sok-page a:focus-visible,
.sok-page input:focus-visible,
.sok-page textarea:focus-visible {
	outline: 3px solid rgba(235, 109, 79, 0.43);
	outline-offset: 3px;
}

.sok-page a {
	color: inherit;
}

.sok-page h1,
.sok-page h2,
.sok-page h3,
.sok-page p {
	margin-top: 0;
}

.sok-page svg {
	display: block;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
	white-space: nowrap;
}

.sok-skip-link {
	position: fixed;
	top: 10px;
	left: 10px;
	z-index: 99999;
	padding: 10px 14px;
	transform: translateY(-150%);
	border-radius: 6px;
	background: var(--sok-ink);
	color: #fff;
	font: 700 14px/1 var(--sok-ui);
	opacity: 0;
	pointer-events: none;
}

.sok-skip-link:focus-visible {
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
}

.sok-header {
	display: grid;
	grid-template-columns: minmax(200px, 1fr) auto minmax(200px, 1fr);
	align-items: center;
	width: min(1440px, calc(100% - 64px));
	min-height: 84px;
	margin: 0 auto;
	border-bottom: 1px solid rgba(23, 50, 58, 0.18);
}

.sok-brand {
	display: inline-flex;
	align-items: center;
	justify-self: start;
	gap: 12px;
	text-decoration: none;
}

.sok-brand__mark,
.sok-footer__brand > span {
	display: grid;
	width: 40px;
	height: 40px;
	place-items: center;
	border-radius: 50%;
	background: var(--sok-ink);
	color: var(--sok-yellow);
	font: 24px/1 "SOK Shavian", "Segoe UI Historic", sans-serif;
}

.sok-brand__name {
	font-family: var(--sok-serif);
	font-size: 20px;
	letter-spacing: -0.03em;
}

.sok-brand__name strong {
	font-style: italic;
	font-weight: 400;
}

.sok-nav {
	display: flex;
	align-items: center;
	gap: 34px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.025em;
}

.sok-nav a {
	position: relative;
	padding: 30px 0 28px;
	text-decoration: none;
}

.sok-nav a::after {
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 2px;
	transform: scaleX(0);
	background: var(--sok-coral);
	content: "";
	transition: transform 180ms ease;
}

.sok-nav a:hover::after,
.sok-nav a.is-current::after {
	transform: scaleX(1);
}

.sok-header__cta {
	display: inline-flex;
	align-items: center;
	justify-self: end;
	gap: 9px;
	padding: 11px 17px;
	border: 1px solid var(--sok-ink);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
	transition: background 160ms ease, color 160ms ease;
}

.sok-header__cta:hover {
	background: var(--sok-ink);
	color: #fff;
}

.sok-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
	align-items: center;
	gap: 80px;
	width: min(1240px, calc(100% - 64px));
	margin: 0 auto;
	padding: 90px 0 94px;
}

.sok-eyebrow,
.sok-kicker {
	margin-bottom: 17px;
	color: var(--sok-teal);
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.19em;
	text-transform: uppercase;
}

.sok-eyebrow span {
	display: inline-block;
	margin-right: 11px;
	padding: 5px 8px 4px;
	border-radius: 3px;
	background: var(--sok-coral);
	color: #fff;
	font-size: 9px;
	letter-spacing: 0.12em;
}

.sok-hero h1 {
	max-width: 770px;
	margin-bottom: 25px;
	font-family: var(--sok-serif);
	font-size: clamp(58px, 7vw, 100px);
	font-weight: 400;
	letter-spacing: -0.065em;
	line-height: 0.9;
}

.sok-hero h1 em {
	display: block;
	color: var(--sok-coral);
	font-weight: 400;
}

.sok-hero__lede {
	max-width: 660px;
	margin-bottom: 26px;
	color: var(--sok-ink-soft);
	font-family: var(--sok-serif);
	font-size: clamp(18px, 2vw, 23px);
	line-height: 1.48;
}

.sok-hero__features {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sok-hero__features span {
	padding: 6px 10px;
	border: 1px solid rgba(23, 50, 58, 0.19);
	border-radius: 999px;
	color: var(--sok-ink-soft);
	font-size: 8px;
	font-weight: 850;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.sok-hero__specimen {
	position: relative;
	align-self: center;
	justify-self: end;
	width: min(460px, 36vw);
	transform: rotate(2.5deg);
	border: 1px solid rgba(23, 50, 58, 0.16);
	border-radius: 10px;
	background: var(--sok-paper);
	box-shadow: 0 25px 55px rgba(27, 52, 53, 0.13);
	overflow: hidden;
}

.sok-hero__specimen::before {
	position: absolute;
	right: -40px;
	bottom: -55px;
	width: 170px;
	height: 170px;
	border-radius: 50%;
	background: var(--sok-mint);
	content: "";
}

.sok-specimen__top {
	display: flex;
	align-items: center;
	min-height: 41px;
	gap: 6px;
	padding: 0 14px;
	border-bottom: 1px solid var(--sok-line);
	background: #f8f6f0;
}

.sok-specimen__top i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--sok-coral);
}

.sok-specimen__top i:nth-child(2) { background: #d9b845; }
.sok-specimen__top i:nth-child(3) { background: var(--sok-teal); }

.sok-specimen__top span {
	margin-left: 5px;
	color: var(--sok-ink-soft);
	font-size: 8px;
	font-weight: 750;
}

.sok-specimen__text {
	position: relative;
	z-index: 1;
	min-height: 160px;
	padding: 44px 30px;
	color: var(--sok-teal-dark);
	font: 38px/1.5 "SOK Shavian", "Segoe UI Historic", sans-serif;
}

.sok-specimen__text > span {
	display: inline-block;
	width: 2px;
	height: 34px;
	margin-left: 5px;
	transform: translateY(6px);
	background: var(--sok-coral);
	animation: sok-caret 1.05s steps(1) infinite;
}

@keyframes sok-caret {
	50% { opacity: 0; }
}

.sok-specimen__keys {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 5px;
	padding: 13px;
	border-top: 1px solid var(--sok-line);
	background: rgba(248, 246, 240, 0.86);
}

.sok-specimen__keys b {
	display: grid;
	height: 42px;
	place-items: center;
	border: 1px solid var(--sok-line);
	border-radius: 5px;
	background: #fff;
	color: var(--sok-teal);
	font: 20px/1 "SOK Shavian", "Segoe UI Historic", sans-serif;
}

.sok-workspace {
	width: min(1320px, calc(100% - 48px));
	margin: 0 auto;
	padding: 48px 44px 40px;
	border: 1px solid rgba(23, 50, 58, 0.14);
	border-radius: 12px;
	background: var(--sok-paper);
	box-shadow: 0 25px 70px rgba(26, 49, 52, 0.11);
}

.sok-workspace__heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 28px;
}

.sok-workspace__heading .sok-kicker {
	margin-bottom: 7px;
}

.sok-workspace__heading h2,
.sok-guide h2,
.sok-next-tools h2 {
	margin-bottom: 0;
	font-family: var(--sok-serif);
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 400;
	letter-spacing: -0.045em;
	line-height: 1.05;
}

.sok-local-badge {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 5px;
	color: var(--sok-ink-soft);
	font-size: 9px;
	font-weight: 800;
}

.sok-local-badge i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #50a36b;
	box-shadow: 0 0 0 4px rgba(80, 163, 107, 0.12);
}

.sok-editor-shell {
	border: 1px solid #a9c8bd;
	border-radius: 9px;
	background: #f0f7f2;
	overflow: hidden;
}

.sok-editor-toolbar,
.sok-editor-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 58px;
	gap: 20px;
	padding: 10px 15px;
}

.sok-editor-toolbar {
	border-bottom: 1px solid #bdd3ca;
}

.sok-history-actions,
.sok-document-actions,
.sok-export-actions,
.sok-editor-stats {
	display: flex;
	align-items: center;
	gap: 7px;
}

.sok-history-actions button,
.sok-document-actions button,
.sok-export-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
	gap: 7px;
	padding: 0 10px;
	border: 1px solid #b4c9c1;
	border-radius: 5px;
	background: rgba(255, 255, 255, 0.72);
	color: var(--sok-teal-dark);
	cursor: pointer;
	font-size: 8px;
	font-weight: 850;
	letter-spacing: 0.02em;
}

.sok-history-actions button svg,
.sok-export-button svg {
	width: 14px;
	height: 14px;
}

.sok-history-actions button:disabled,
.sok-export-button:disabled {
	cursor: not-allowed;
	opacity: 0.4;
}

.sok-document-actions button {
	border: 0;
	background: transparent;
	color: var(--sok-ink-soft);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.sok-editor-shell textarea {
	display: block;
	width: 100%;
	min-height: 255px;
	padding: 29px 31px;
	resize: vertical;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--sok-teal-dark);
	font: 29px/1.65 "SOK Shavian", "Segoe UI Historic", sans-serif;
	caret-color: var(--sok-coral);
}

.sok-editor-shell textarea::placeholder {
	color: #879994;
	font-family: var(--sok-serif);
	font-size: 17px;
}

.sok-editor-footer {
	min-height: 61px;
	border-top: 1px solid #bdd3ca;
}

.sok-editor-stats span {
	padding-right: 12px;
	border-right: 1px solid #bfd2cb;
	color: var(--sok-ink-soft);
	font-size: 8px;
	font-weight: 750;
}

.sok-editor-stats span:last-child {
	border-right: 0;
}

.sok-export-button--primary {
	border-color: var(--sok-teal);
	background: var(--sok-teal);
	color: #fff;
}

.sok-keyboard-shell {
	margin-top: 18px;
	padding: 18px;
	border: 1px solid var(--sok-line);
	border-radius: 9px;
	background: #f7f4ed;
}

.sok-keyboard-toolbar {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 20px;
	margin-bottom: 17px;
}

.sok-keyboard-title {
	display: flex;
	align-items: center;
	gap: 10px;
}

.sok-keyboard-icon {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border-radius: 50%;
	background: var(--sok-ink);
	color: var(--sok-yellow);
	font-size: 15px;
}

.sok-keyboard-title p,
.sok-keyboard-title strong {
	display: block;
	margin-bottom: 0;
}

.sok-keyboard-title p {
	color: var(--sok-ink-soft);
	font-size: 7px;
	font-weight: 850;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.sok-keyboard-title strong {
	font-family: var(--sok-serif);
	font-size: 14px;
	font-weight: 400;
}

.sok-layer-tabs {
	display: flex;
	padding: 3px;
	border: 1px solid #d2cdc2;
	border-radius: 6px;
	background: #ece8df;
}

.sok-layer-tabs button {
	min-height: 30px;
	padding: 0 12px;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: var(--sok-ink-soft);
	cursor: pointer;
	font-size: 8px;
	font-weight: 850;
}

.sok-layer-tabs button.is-active {
	background: #fff;
	box-shadow: 0 2px 7px rgba(28, 47, 48, 0.08);
	color: var(--sok-ink);
}

.sok-qwerty-toggle {
	display: flex;
	align-items: center;
	justify-self: end;
	gap: 10px;
	cursor: pointer;
}

.sok-qwerty-toggle > span {
	display: grid;
	text-align: right;
}

.sok-qwerty-toggle strong {
	font-size: 8px;
	font-weight: 900;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.sok-qwerty-toggle small {
	color: var(--sok-ink-soft);
	font-size: 7px;
}

.sok-qwerty-toggle input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.sok-qwerty-toggle > i {
	position: relative;
	display: block;
	width: 38px;
	height: 22px;
	border-radius: 999px;
	background: #c9c5bb;
	transition: background 160ms ease;
}

.sok-qwerty-toggle > i b {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
	transition: transform 160ms ease;
}

.sok-qwerty-toggle input:checked + i {
	background: var(--sok-teal);
}

.sok-qwerty-toggle input:checked + i b {
	transform: translateX(16px);
}

.sok-qwerty-toggle input:focus-visible + i {
	outline: 3px solid rgba(235, 109, 79, 0.43);
	outline-offset: 3px;
}

.sok-keyboard-body {
	min-height: 300px;
	padding: 17px;
	border-radius: 8px;
	background: var(--sok-ink);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.sok-alphabet-groups {
	display: grid;
	gap: 14px;
}

.sok-key-group {
	display: grid;
	grid-template-columns: 82px 1fr;
	align-items: center;
	gap: 12px;
}

.sok-key-group__label {
	display: grid;
	gap: 1px;
	color: #93aaa7;
	font-size: 7px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.sok-key-group__label strong {
	color: var(--group-accent, var(--sok-yellow));
	font-family: var(--sok-serif);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
}

.sok-key-group[data-group="tall"] { --group-accent: var(--sok-coral); }
.sok-key-group[data-group="deep"] { --group-accent: var(--sok-purple); }
.sok-key-group[data-group="short"] { --group-accent: #71c1af; }
.sok-key-group[data-group="compound"] { --group-accent: var(--sok-yellow); }

.sok-key-grid {
	display: grid;
	grid-template-columns: repeat(10, minmax(0, 1fr));
	gap: 6px;
}

.sok-key-group[data-group="short"] .sok-key-grid {
	grid-template-columns: repeat(10, minmax(0, 1fr));
}

.sok-char-key,
.sok-symbol-key,
.sok-qwerty-key {
	position: relative;
	display: grid;
	min-width: 0;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-bottom-color: rgba(255, 255, 255, 0.26);
	border-radius: 6px;
	background: #24424a;
	box-shadow: 0 2px 0 #0e262c;
	color: #fff;
	cursor: pointer;
	transition: transform 90ms ease, background 90ms ease, border-color 90ms ease;
	user-select: none;
}

.sok-char-key {
	height: 51px;
}

.sok-char-key:hover,
.sok-symbol-key:hover,
.sok-qwerty-key:hover {
	border-color: var(--group-accent, var(--sok-yellow));
	background: #2c4d55;
}

.sok-char-key:active,
.sok-symbol-key:active,
.sok-qwerty-key:active,
.sok-char-key.is-pressed,
.sok-qwerty-key.is-pressed {
	transform: translateY(2px);
	box-shadow: none;
}

.sok-char-key__glyph {
	color: var(--group-accent, var(--sok-yellow));
	font: 23px/1 "SOK Shavian", "Segoe UI Historic", sans-serif;
}

.sok-char-key__ipa {
	position: absolute;
	right: 4px;
	bottom: 3px;
	color: #8fa7a5;
	font-family: var(--sok-serif);
	font-size: 7px;
	font-style: italic;
}

.sok-punctuation-board {
	display: grid;
	gap: 10px;
}

.sok-symbol-row {
	display: grid;
	grid-template-columns: repeat(10, minmax(0, 1fr));
	gap: 6px;
}

.sok-symbol-key {
	height: 59px;
	color: var(--sok-yellow);
	font-family: var(--sok-serif);
	font-size: 20px;
}

.sok-symbol-key small {
	position: absolute;
	bottom: 3px;
	color: #8fa7a5;
	font-family: var(--sok-ui);
	font-size: 6px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.sok-qwerty-board {
	display: grid;
	align-content: center;
	min-height: 266px;
	gap: 7px;
}

.sok-qwerty-row {
	display: flex;
	justify-content: center;
	gap: 6px;
}

.sok-qwerty-row:nth-child(2) {
	padding: 0 4%;
}

.sok-qwerty-row:nth-child(3) {
	padding: 0 9%;
}

.sok-qwerty-key {
	flex: 1 1 0;
	max-width: 82px;
	height: 67px;
}

.sok-qwerty-key__latin {
	position: absolute;
	top: 4px;
	left: 6px;
	color: #91aaa6;
	font-size: 7px;
	font-weight: 900;
	text-transform: uppercase;
}

.sok-qwerty-key__glyph {
	color: var(--sok-yellow);
	font: 25px/1 "SOK Shavian", "Segoe UI Historic", sans-serif;
}

.sok-qwerty-key__name {
	position: absolute;
	right: 5px;
	bottom: 3px;
	color: #829b98;
	font-size: 6px;
	font-weight: 750;
}

.sok-qwerty-shift-row {
	display: flex;
	justify-content: center;
	margin-top: 3px;
}

.sok-shift-key {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 37px;
	gap: 7px;
	padding: 0 17px;
	border: 1px solid rgba(255, 255, 255, 0.17);
	border-radius: 5px;
	background: #2a464d;
	color: #b5c8c5;
	cursor: pointer;
	font-size: 8px;
	font-weight: 850;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.sok-shift-key.is-active {
	border-color: var(--sok-yellow);
	background: rgba(223, 232, 120, 0.12);
	color: var(--sok-yellow);
}

.sok-control-row {
	display: grid;
	grid-template-columns: minmax(105px, 0.65fr) minmax(100px, 0.55fr) minmax(180px, 1.8fr) minmax(100px, 0.55fr);
	gap: 7px;
	margin-top: 10px;
}

.sok-control-key {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	gap: 7px;
	border: 1px solid #c8c3b8;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 2px 0 #d1ccc1;
	color: var(--sok-ink);
	cursor: pointer;
	font-size: 8px;
	font-weight: 850;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.sok-control-key:active {
	transform: translateY(2px);
	box-shadow: none;
}

.sok-control-key svg {
	width: 15px;
	height: 15px;
}

.sok-control-key--namer {
	border-color: #e3c947;
	background: #fffbea;
}

.sok-control-key--namer b {
	color: var(--sok-coral);
	font-family: var(--sok-serif);
	font-size: 22px;
	line-height: 0;
}

.sok-control-key--space span {
	width: 55%;
	padding-bottom: 4px;
	border-bottom: 1px solid #a7a39b;
}

.sok-qwerty-note {
	margin: 13px 0 0;
	padding: 11px 14px;
	border: 1px solid #d7ca79;
	border-radius: 5px;
	background: #fff9df;
	color: #74683e;
	font-size: 9px;
}

.sok-qwerty-note[hidden] {
	display: none;
}

.sok-qwerty-note strong {
	color: var(--sok-ink);
}

.sok-guide {
	width: min(1240px, calc(100% - 64px));
	margin: 100px auto;
}

.sok-guide__heading {
	display: grid;
	grid-template-columns: 1fr 1.3fr;
	align-items: end;
	margin-bottom: 32px;
}

.sok-guide__heading .sok-kicker {
	margin-bottom: 7px;
}

.sok-guide__heading h2 {
	grid-column: 1 / -1;
}

.sok-guide__cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid var(--sok-ink);
	border-bottom: 1px solid var(--sok-line);
}

.sok-guide__cards article {
	display: grid;
	grid-template-columns: 70px 1fr;
	gap: 19px;
	padding: 30px 27px;
	border-right: 1px solid var(--sok-line);
}

.sok-guide__cards article:last-child {
	border-right: 0;
}

.sok-guide__glyph {
	display: grid;
	width: 62px;
	height: 62px;
	place-items: center;
	border-radius: 50%;
	background: var(--sok-mint);
	color: var(--sok-teal);
	font-family: var(--sok-serif);
	font-size: 39px;
}

.sok-guide__glyph--punctuation {
	background: #fff0e9;
	color: var(--sok-coral);
	font-size: 20px;
}

.sok-guide__glyph--qwerty {
	background: #eeeaf8;
	color: #655c91;
	font-family: var(--sok-ui);
	font-size: 22px;
	font-weight: 900;
}

.sok-guide__cards article > div > p:first-child {
	margin-bottom: 8px;
	color: var(--sok-teal);
	font-size: 7px;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.sok-guide__cards h3 {
	margin-bottom: 7px;
	font-family: var(--sok-serif);
	font-size: 20px;
	font-weight: 400;
}

.sok-guide__cards article > div > p:last-child {
	margin-bottom: 0;
	color: var(--sok-ink-soft);
	font-size: 10px;
}

.sok-guide__cards b {
	color: var(--sok-teal);
	font: 15px/1 "SOK Shavian", "Segoe UI Historic", sans-serif;
}

.sok-next-tools {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 50px;
	width: min(1240px, calc(100% - 64px));
	margin: 0 auto 100px;
	padding: 38px 42px;
	border-radius: 10px;
	background: var(--sok-mint);
}

.sok-next-tools .sok-kicker {
	margin-bottom: 7px;
}

.sok-next-tools h2 {
	font-size: clamp(27px, 3.4vw, 40px);
}

.sok-next-tools > div:last-child {
	display: flex;
	gap: 8px;
}

.sok-next-tools a {
	display: inline-flex;
	align-items: center;
	gap: 24px;
	padding: 13px 15px;
	border: 1px solid var(--sok-teal);
	border-radius: 5px;
	color: var(--sok-teal-dark);
	font-size: 9px;
	font-weight: 850;
	text-decoration: none;
}

.sok-next-tools a:last-child {
	background: var(--sok-teal);
	color: #fff;
}

.sok-footer {
	display: grid;
	grid-template-columns: 1fr 1.3fr auto;
	align-items: center;
	gap: 45px;
	padding: 41px max(32px, calc((100% - 1240px) / 2));
	background: var(--sok-ink);
	color: #fff;
}

.sok-footer__brand {
	display: flex;
	align-items: center;
	gap: 13px;
}

.sok-footer__brand > span {
	background: var(--sok-yellow);
	color: var(--sok-ink);
}

.sok-footer__brand p,
.sok-footer > p {
	margin-bottom: 0;
	color: #9eb2b0;
	font-size: 9px;
}

.sok-footer__brand strong {
	color: #fff;
	font-family: var(--sok-serif);
	font-size: 16px;
}

.sok-footer > a {
	color: var(--sok-yellow);
	font-size: 9px;
	font-weight: 900;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-transform: uppercase;
}

.sok-toast {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 1000;
	max-width: 320px;
	padding: 12px 16px;
	transform: translateY(20px);
	border-radius: 6px;
	background: var(--sok-ink);
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	opacity: 0;
	pointer-events: none;
	transition: opacity 160ms ease, transform 160ms ease;
}

.sok-toast.is-visible {
	transform: translateY(0);
	opacity: 1;
}

.sok-noscript {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 9999;
	padding: 13px 17px;
	border-radius: 6px;
	background: #8e3c2c;
	color: #fff;
	font: 700 12px/1.4 var(--sok-ui);
}

@media (max-width: 980px) {
	.sok-header {
		grid-template-columns: 1fr auto;
	}

	.sok-nav {
		display: none;
	}

	.sok-hero {
		grid-template-columns: 1fr;
	}

	.sok-hero__specimen {
		position: absolute;
		top: 145px;
		right: 4%;
		z-index: -1;
		width: 400px;
		opacity: 0.12;
	}

	.sok-keyboard-toolbar {
		grid-template-columns: 1fr auto;
	}

	.sok-layer-tabs {
		grid-row: 2;
		grid-column: 1 / -1;
		justify-self: center;
	}

	.sok-guide__cards {
		grid-template-columns: 1fr;
	}

	.sok-guide__cards article {
		border-right: 0;
		border-bottom: 1px solid var(--sok-line);
	}

	.sok-guide__cards article:last-child {
		border-bottom: 0;
	}

	.sok-footer {
		grid-template-columns: 1fr 1fr;
	}

	.sok-footer > a {
		grid-column: 1 / -1;
	}
}

@media (max-width: 680px) {
	.sok-header,
	.sok-hero,
	.sok-guide,
	.sok-next-tools {
		width: min(100% - 32px, 1240px);
	}

	.sok-header {
		min-height: 70px;
	}

	.sok-brand__name {
		display: none;
	}

	.sok-brand__mark {
		width: 36px;
		height: 36px;
	}

	.sok-header__cta {
		padding: 9px 12px;
		font-size: 10px;
	}

	.sok-hero {
		padding: 62px 0 58px;
	}

	.sok-hero h1 {
		font-size: clamp(55px, 18vw, 76px);
	}

	.sok-hero__lede {
		font-size: 18px;
	}

	.sok-workspace {
		width: calc(100% - 20px);
		padding: 27px 10px 16px;
	}

	.sok-workspace__heading {
		align-items: flex-start;
		padding: 0 5px;
	}

	.sok-local-badge {
		display: none;
	}

	.sok-editor-toolbar,
	.sok-editor-footer {
		align-items: stretch;
		flex-direction: column;
		gap: 8px;
	}

	.sok-editor-toolbar > div,
	.sok-editor-footer > div {
		justify-content: space-between;
	}

	.sok-editor-shell textarea {
		min-height: 220px;
		padding: 23px 20px;
		font-size: 26px;
	}

	.sok-export-actions button {
		flex: 1;
	}

	.sok-keyboard-shell {
		padding: 11px 7px;
	}

	.sok-keyboard-toolbar {
		grid-template-columns: 1fr auto;
		gap: 13px;
		padding: 2px 4px;
	}

	.sok-keyboard-title p {
		display: none;
	}

	.sok-qwerty-toggle > span {
		display: none;
	}

	.sok-layer-tabs {
		width: 100%;
	}

	.sok-layer-tabs button {
		flex: 1;
	}

	.sok-keyboard-body {
		min-height: 0;
		padding: 12px 7px;
	}

	.sok-key-group {
		grid-template-columns: 1fr;
		gap: 5px;
	}

	.sok-key-group__label {
		display: flex;
		align-items: baseline;
		gap: 6px;
	}

	.sok-key-grid,
	.sok-key-group[data-group="short"] .sok-key-grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.sok-char-key {
		height: 48px;
	}

	.sok-symbol-row {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.sok-symbol-key {
		height: 50px;
	}

	.sok-qwerty-board {
		min-height: 220px;
		gap: 5px;
	}

	.sok-qwerty-row {
		gap: 3px;
	}

	.sok-qwerty-row:nth-child(2) {
		padding: 0 2.5%;
	}

	.sok-qwerty-row:nth-child(3) {
		padding: 0 7%;
	}

	.sok-qwerty-key {
		height: 57px;
	}

	.sok-qwerty-key__glyph {
		font-size: 19px;
	}

	.sok-qwerty-key__name {
		display: none;
	}

	.sok-control-row {
		grid-template-columns: repeat(3, 1fr);
	}

	.sok-control-key--space {
		grid-column: 1 / -1;
		grid-row: 1;
	}

	.sok-control-key {
		min-height: 43px;
	}

	.sok-qwerty-note {
		font-size: 8px;
	}

	.sok-guide {
		margin: 70px auto;
	}

	.sok-guide__cards article {
		grid-template-columns: 56px 1fr;
		gap: 14px;
		padding: 24px 13px;
	}

	.sok-guide__glyph {
		width: 52px;
		height: 52px;
	}

	.sok-next-tools {
		align-items: flex-start;
		flex-direction: column;
		gap: 24px;
		margin-bottom: 70px;
		padding: 28px 23px;
	}

	.sok-next-tools > div:last-child {
		width: 100%;
		flex-direction: column;
	}

	.sok-next-tools a {
		justify-content: space-between;
	}

	.sok-footer {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 35px 22px;
	}

	.sok-footer > a {
		grid-column: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sok-page *,
	.sok-page *::before,
	.sok-page *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}
