@font-face {
	font-family: "Golos Text";
	src: url("fonts/golos-text.woff2") format("woff2");
	font-weight: 400 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "PT Serif";
	src: url("fonts/pt-serif.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

:root {
	--ground: #f7f8fa;
	--paper: #fff;
	--ink: #162334;
	--muted: #586778;
	--blue: #124c70;
	--blue-hover: #0d3b59;
	--blue-wash: #eaf0f4;
	--line: #dde3e8;
	--control: #abb8c3;
	--green: #21664c;
	--green-wash: #edf5ef;
	--error: #a13730;
	--error-wash: #fff0ed;
	--board-light: #edf1f4;
	--board-dark: #95afbd;
	--sans: "Golos Text", "Segoe UI", Arial, sans-serif;
	--serif: "PT Serif", Georgia, "Times New Roman", serif;
	--radius: 16px;
	--gap: 24px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 24px;
}

body {
	margin: 0;
	background: var(--ground);
	color: var(--ink);
	font: 16px / 1.6 var(--sans);
	-webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
	font: inherit;
}

button,
a,
input,
textarea,
label {
	-webkit-tap-highlight-color: transparent;
}

button,
a {
	touch-action: manipulation;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	cursor: pointer;
}

button:disabled {
	cursor: default;
}

button,
textarea,
input {
	border-radius: 8px;
}

h1,
h2,
h3,
p {
	margin: 0;
}

h1,
h2,
h3 {
	line-height: 1.2;
}

h3 {
	font-weight: 600;
}

p {
	color: var(--muted);
}

svg {
	display: block;
}

button svg,
.file-button svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

button {
	color: var(--ink);
}

[hidden] {
	display: none !important;
}

.wrap {
	width: min(1216px, calc(100% - 80px));
	margin-inline: auto;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	clip: rect(0, 0, 0, 0);
	overflow: hidden;
	white-space: nowrap;
}

.svg-definitions {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

::selection {
	background: #d1e1eb;
}

:focus-visible {
	outline: 3px solid #347fa8;
	outline-offset: 4px;
}

.skip-link {
	position: fixed;
	left: 16px;
	top: 12px;
	z-index: 20;
	transform: translateY(-150%);
	background: var(--paper);
	padding: 12px 20px;
	border: 2px solid var(--blue);
}

.skip-link:focus {
	transform: translateY(0);
}

.site-header {
	height: 102px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

.wordmark {
	font-size: 25px;
	font-weight: 700;
	letter-spacing: -1px;
	white-space: nowrap;
}

.wordmark span {
	color: var(--blue);
	font-weight: 500;
}

.main-nav {
	display: flex;
	align-items: center;
	gap: 34px;
	font-size: 14px;
}

.main-nav > a {
	padding-block: 12px;
}

.main-nav a:not(.nav-action):hover,
.main-nav a[aria-current] {
	color: var(--blue);
}

.main-nav .nav-action {
	padding: 11px 18px;
	border: 1px solid var(--control);
	border-radius: 8px;
	display: flex;
	gap: 24px;
	align-items: center;
	font-weight: 600;
}

.nav-action:hover {
	background: var(--paper);
	border-color: var(--blue);
}

.hero {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 72px;
	align-items: center;
	padding-top: 40px;
	padding-bottom: 84px;
}

.eyebrow {
	font-size: 13px;
	line-height: 1.4;
	color: var(--blue);
	font-weight: 600;
	letter-spacing: 0.01em;
	margin-bottom: 24px;
}

.hero h1 {
	font-family: var(--serif);
	font-size: clamp(48px, 4.9vw, 74px);
	line-height: 1.08;
	font-weight: 400;
	letter-spacing: -3px;
}

.hero h1 em {
	font-style: normal;
	color: var(--blue);
}

.hero-description {
	font-size: 19px;
	line-height: 1.65;
	max-width: 430px;
	margin-top: 28px;
}

.hero-actions {
	display: flex;
	gap: 24px;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 32px;
}

.button {
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 32px;
	padding: 12px 22px;
	border: 1px solid transparent;
	border-radius: 8px;
	font-size: 15px;
	line-height: 1.4;
	font-weight: 600;
	transition:
		background 0.16s ease,
		border-color 0.16s ease,
		transform 0.16s ease;
	text-align: center;
}

.button:hover {
	transform: translateY(-1px);
}

.button:active {
	transform: translateY(0);
}

.primary {
	background: var(--blue);
	color: #fff;
}

.primary:hover {
	background: var(--blue-hover);
}

.primary:disabled {
	background: #536a7b;
	color: #fff;
	transform: none;
}

.secondary {
	border-color: var(--control);
	background: transparent;
	color: var(--ink);
}

.secondary:hover {
	background: var(--paper);
	border-color: var(--blue);
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	min-height: 44px;
	font-weight: 600;
}

.text-link:hover {
	color: var(--blue);
}

.input-formats {
	display: flex;
	gap: 0;
	margin-top: 40px;
	font-size: 13px;
	color: var(--muted);
}

.input-formats span + span::before {
	content: "·";
	margin-inline: 12px;
	color: var(--muted);
}

.quiet-note {
	font-size: 12px;
	line-height: 1.65;
	color: var(--muted);
}

.hero-copy > .quiet-note {
	margin-top: 6px;
	max-width: 390px;
}

.hero-example {
	max-width: 490px;
	width: 100%;
	justify-self: end;
}

.example-topline {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12px;
	color: var(--muted);
	gap: 16px;
	margin: 0 2px 14px;
}

.sample-label {
	font-size: 12px;
	font-weight: 600;
	color: var(--blue);
}

.mini-report {
	background: var(--paper);
	border: 1px solid var(--line);
	padding: 22px;
	border-radius: var(--radius);
}

.board-frame {
	padding: 0;
	background: var(--board-light);
	border-radius: 8px;
	overflow: hidden;
}

.chess-board {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	width: 100%;
	aspect-ratio: 1;
}

.square {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1;
	min-width: 0;
	background: var(--board-light);
}

.square.dark {
	background: var(--board-dark);
}

.square.last-move {
	background: #c0d6ba;
}

.square.dark.last-move {
	background: #8daf92;
}

.square .piece {
	width: 88%;
	height: 88%;
	position: relative;
	z-index: 1;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
	overflow: visible;
}

.piece.white {
	fill: #fff;
	stroke: #3b4d5c;
}

.piece.black {
	fill: #213142;
	stroke: #213142;
}

.piece.black path + path {
	stroke: #c7d3db;
}

.coordinate {
	position: absolute;
	font-size: 9px;
	font-weight: 600;
	color: #476070;
	z-index: 2;
	line-height: 1;
}

.coordinate.rank {
	top: 4px;
	left: 4px;
}

.coordinate.file {
	right: 4px;
	bottom: 3px;
}

.dark .coordinate {
	color: #233b4a;
}

.mini-comment {
	padding: 18px 2px 16px;
	min-height: 134px;
}

.move-label {
	font-size: 12px;
	color: var(--error);
	font-weight: 600;
	display: block;
	margin-bottom: 7px;
}

.mini-comment h2 {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	margin-bottom: 6px;
}

.mini-comment p {
	font-size: 13px;
	line-height: 1.55;
	max-width: 350px;
}

.segmented {
	display: flex;
	background: var(--ground);
	border-radius: 8px;
	padding: 4px;
	gap: 4px;
}

.segmented button {
	flex: 1;
	border: 0;
	background: transparent;
	min-height: 40px;
	padding: 8px;
	color: var(--muted);
	font-size: 13px;
}

.segmented button[aria-pressed="true"] {
	background: var(--ink);
	color: white;
}

.noscript-note {
	padding: 20px;
	font-size: 14px;
	background: var(--paper);
}

.understand-section {
	padding: 86px 0;
	background: var(--blue-wash);
}

.understand-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 100px;
}

.section-intro h2,
.upload-story h2,
.pricing-section h2,
.faq-section h2 {
	font-family: var(--serif);
	font-weight: 400;
	font-size: 42px;
	letter-spacing: -1.3px;
	line-height: 1.15;
}

.section-intro .text-link {
	margin-top: 28px;
}

.understand-content {
	display: grid;
	gap: 32px;
}

.understand-content article {
	display: grid;
	grid-template-columns: 28px 1fr;
	gap: 24px;
}

.step-number {
	font-variant-numeric: tabular-nums;
	color: var(--blue);
	font-size: 13px;
	padding-top: 3px;
}

.understand-content h3 {
	font-size: 18px;
	margin-bottom: 10px;
}

.understand-content p {
	font-size: 15px;
	line-height: 1.7;
	max-width: 430px;
}

.upload-story {
	padding-block: 100px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 100px;
	align-items: center;
}

.notation-sheet {
	max-width: 430px;
	width: 100%;
	padding: 38px 42px;
	background: var(--paper);
	border: 1px solid var(--line);
	transform: rotate(-2deg);
	margin-inline: auto;
}

.notation-sheet > div {
	display: grid;
	grid-template-columns: 50px 1fr 1fr;
	padding: 10px 12px;
	font-size: 22px;
	font-family: var(--serif);
	border-bottom: 1px solid var(--line);
	font-variant-numeric: tabular-nums;
}

.notation-sheet .notation-head {
	font-family: var(--sans);
	font-size: 12px;
	color: var(--muted);
	padding-top: 22px;
}

.notation-sheet > div > span:first-child {
	color: var(--muted);
}

.sheet-title {
	font-size: 15px;
	font-weight: 600;
}

.notation-sheet .marked-row {
	background: var(--blue-wash);
}

.marked-row b {
	font: 600 15px var(--sans);
	color: var(--error);
	margin-left: 8px;
}

.notation-sheet p {
	font-size: 13px;
	line-height: 1.7;
	margin-top: 22px;
}

.upload-story-copy > p:not(.eyebrow):not(.quiet-note) {
	margin-top: 24px;
	font-size: 17px;
	max-width: 430px;
}

.upload-story-copy > .button {
	margin-top: 28px;
}

.upload-story-copy > .quiet-note {
	margin-top: 18px;
}

.pricing-section {
	background: var(--paper);
	padding: 80px 0;
}

.pricing-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 100px;
}

.pricing-grid > div > p:not(.eyebrow) {
	max-width: 350px;
	margin-top: 20px;
}

.price-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	padding: 24px 0;
	border-bottom: 1px solid var(--line);
}

.price-row:first-child {
	padding-top: 0;
}

.price-row h3 {
	font-size: 19px;
	margin-bottom: 7px;
}

.price-row span {
	font-size: 13px;
	color: var(--muted);
}

.price-row strong {
	font-size: 34px;
	font-weight: 500;
	letter-spacing: -1px;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.price-row strong small {
	font-size: 19px;
	color: var(--muted);
	font-weight: 400;
}

.pricing-caption {
	font-size: 12px;
	line-height: 1.6;
	margin-top: 16px;
}

.faq-section {
	padding-block: 92px;
	display: grid;
	grid-template-columns: 1fr 1.25fr;
	gap: 100px;
}

.faq-list details {
	border-bottom: 1px solid var(--line);
	padding: 0 0 20px;
	margin-bottom: 22px;
}

.faq-list summary {
	list-style: none;
	cursor: pointer;
	min-height: 30px;
	display: flex;
	justify-content: space-between;
	gap: 24px;
	align-items: center;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.5;
}

.faq-list summary::-webkit-details-marker {
	display: none;
}

.faq-list summary::after {
	content: "+";
	font-size: 24px;
	font-weight: 400;
	color: var(--blue);
}

.faq-list details[open] summary::after {
	content: "−";
}

.faq-list details p {
	font-size: 15px;
	line-height: 1.75;
	margin-top: 16px;
	max-width: 520px;
}

.closing-section {
	padding: 52px 0 80px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 40px;
}

.closing-section h2 {
	font: 400 42px / 1.15 var(--serif);
	letter-spacing: -1.3px;
}

.site-footer {
	border-top: 1px solid var(--line);
	display: grid;
	grid-template-columns: 1fr 1fr 1.2fr;
	gap: 40px;
	padding: 40px 0 48px;
}

.site-footer > .wordmark {
	font-size: 22px;
	align-self: start;
}

.site-footer > p {
	font-size: 13px;
	line-height: 1.7;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	font-size: 12px;
	justify-content: flex-end;
}

.footer-links a:hover {
	text-decoration: underline;
}

.footer-links span {
	color: var(--muted);
	flex-basis: 100%;
	text-align: right;
}

.workspace {
	padding-top: 24px;
	padding-bottom: 72px;
}

.page-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 36px;
}

.back-link {
	font-size: 13px;
	display: inline-block;
	color: var(--muted);
	margin-bottom: 24px;
}

.back-link:hover {
	color: var(--blue);
}

.page-heading h1 {
	font-size: 30px;
	line-height: 1.2;
	letter-spacing: -0.7px;
	font-weight: 600;
	margin-bottom: 12px;
}

.page-heading p {
	font-size: 15px;
}

.analyze-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
	gap: 64px;
	align-items: start;
}

.form-panel {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 30px;
}

.source-tabs {
	display: flex;
	gap: 30px;
	border-bottom: 1px solid var(--line);
	margin-bottom: 28px;
}

.source-tabs button {
	background: none;
	border: 0;
	border-radius: 0;
	border-bottom: 2px solid transparent;
	font-size: 14px;
	color: var(--muted);
	padding: 0 0 15px;
	min-height: 44px;
}

.source-tabs button[aria-selected="true"] {
	border-bottom-color: var(--ink);
	color: var(--ink);
	font-weight: 600;
}

.source-panel > label,
.label-row label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 10px;
}

.label-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
}

.subtle-button {
	background: none;
	border: 0;
	padding: 4px 0;
	color: var(--blue);
	font-size: 12px;
	min-height: 32px;
}

.subtle-button:hover {
	text-decoration: underline;
}

textarea,
input[type="url"] {
	display: block;
	width: 100%;
	border: 1px solid var(--control);
	background: var(--paper);
	color: var(--ink);
	padding: 14px 16px;
	line-height: 1.7;
	resize: vertical;
}

textarea {
	font: 16px / 1.8 var(--sans);
	min-height: 220px;
}

textarea::placeholder,
input::placeholder {
	color: #6b7883;
}

.field-help {
	font-size: 12px;
	line-height: 1.6;
	color: var(--muted);
	margin-top: 9px;
}

.file-row {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
	margin-top: 14px;
}

.file-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	font-size: 13px;
	cursor: pointer;
	color: var(--blue);
}

.file-button:hover {
	text-decoration: underline;
}

.file-row > .field-help {
	margin-top: 0;
	font-size: 11px;
	max-width: 200px;
}

.form-bottom {
	border-top: 1px solid var(--line);
	padding-top: 24px;
	margin-top: 26px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.form-bottom p {
	font-size: 12px;
	line-height: 1.65;
}

.form-bottom .button {
	gap: 20px;
}

.inline-notice {
	background: var(--blue-wash);
	padding: 18px 20px;
	border-radius: 8px;
	margin-block: 24px;
	font-size: 13px;
}

.inline-notice strong {
	display: block;
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 6px;
}

.inline-notice p {
	line-height: 1.7;
}

.form-status {
	margin-top: 22px;
	padding: 14px 16px;
	border-radius: 8px;
	background: var(--blue-wash);
	font-size: 14px;
	line-height: 1.6;
}

.form-status.error {
	background: var(--error-wash);
	color: var(--error);
}

.form-status.success {
	background: var(--green-wash);
	color: var(--green);
}

.preparation-aside {
	padding-top: 20px;
}

.preparation-aside h2 {
	font-size: 22px;
	line-height: 1.4;
	font-weight: 500;
	margin-bottom: 18px;
	letter-spacing: -0.5px;
}

.preparation-aside > p {
	font-size: 14px;
	max-width: 330px;
	line-height: 1.75;
}

.preparation-list {
	padding: 0;
	list-style: none;
	counter-reset: prep;
	margin: 28px 0;
}

.preparation-list li {
	counter-increment: prep;
	position: relative;
	padding: 0 0 24px 36px;
}

.preparation-list li::before {
	content: counter(prep);
	position: absolute;
	top: 1px;
	left: 0;
	color: var(--muted);
	font-size: 12px;
	border: 1px solid var(--control);
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: grid;
	place-items: center;
}

.preparation-list span {
	font-size: 14px;
	font-weight: 600;
	display: block;
}

.preparation-list small {
	font-size: 12px;
	line-height: 1.6;
	color: var(--muted);
	display: block;
	margin-top: 5px;
	max-width: 290px;
}

.example-aside-link {
	padding: 20px 0;
	border-top: 1px solid var(--line);
	display: block;
}

.example-aside-link > span {
	display: block;
	font-size: 12px;
	color: var(--muted);
	margin-bottom: 8px;
}

.example-aside-link strong {
	display: block;
	font-size: 14px;
	font-weight: 600;
}

.example-aside-link strong span {
	margin-left: 12px;
}

.example-aside-link:hover {
	color: var(--blue);
}

.photo-drop {
	text-align: center;
	border: 1px dashed var(--control);
	border-radius: 8px;
	padding: 32px 18px;
}

.upload-icon {
	width: 32px;
	height: 32px;
	margin: 0 auto 16px;
	fill: none;
	stroke: var(--blue);
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.photo-drop h2 {
	font-size: 18px;
	font-weight: 600;
}

.photo-drop p {
	font-size: 13px;
	margin-top: 10px;
}

.photo-drop .button {
	margin-top: 22px;
	cursor: pointer;
}

.photo-drop > span {
	display: block;
	font-size: 11px;
	line-height: 1.6;
	color: var(--muted);
	margin-top: 16px;
}

.photo-previews {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 18px;
}

.photo-card {
	min-width: 0;
}

.photo-card img {
	width: 100%;
	height: 130px;
	object-fit: contain;
	background: var(--ground);
	border-radius: 8px;
}

.photo-card p {
	font-size: 11px;
	overflow-wrap: anywhere;
	margin-top: 6px;
}

.photo-card button {
	background: none;
	border: 0;
	padding: 6px 0;
	min-height: 32px;
	font-size: 12px;
	color: var(--error);
}

.validation-result {
	margin-top: 48px;
	padding: 32px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.result-heading {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	margin-bottom: 28px;
}

.result-heading h2 {
	font-size: 24px;
	font-weight: 600;
	margin-top: 7px;
}

.result-heading p {
	font-size: 14px;
	margin-top: 8px;
}

.success-label {
	font-size: 12px;
	font-weight: 600;
	color: var(--green);
}

.neutral-label {
	font-size: 12px;
	color: var(--muted);
	background: var(--ground);
	padding: 6px 10px;
	border-radius: 4px;
}

.validation-grid {
	display: grid;
	grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
	gap: 40px;
	align-items: start;
}

.validation-grid h3 {
	font-size: 16px;
	margin-bottom: 16px;
}

.moves-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-content: flex-start;
}

.moves-list button {
	min-height: 42px;
	border: 1px solid transparent;
	background: transparent;
	padding: 8px 11px;
	font-size: 14px;
	font-variant-numeric: tabular-nums;
	border-radius: 6px;
}

.moves-list button:hover {
	border-color: var(--control);
}

.moves-list button[aria-current="true"] {
	background: var(--blue-wash);
	color: var(--blue);
	border-color: transparent;
	font-weight: 600;
}

.moves-list button .move-number {
	font-size: 12px;
	color: var(--muted);
	margin-right: 5px;
}

.validation-result .moves-list {
	max-height: 350px;
	overflow-y: auto;
	padding: 4px;
}

.board-controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 12px 0;
}

.board-controls button {
	height: 44px;
	min-width: 44px;
	border: 1px solid var(--line);
	background: var(--paper);
	font-size: 20px;
}

.board-controls button:hover:not(:disabled) {
	background: var(--blue-wash);
	border-color: var(--control);
}

.board-controls button:disabled {
	color: #80909d;
	background: var(--ground);
}

.board-controls > span {
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	flex: 1;
	min-width: 0;
}

.report-grid {
	display: grid;
	grid-template-columns: minmax(0, 500px) minmax(0, 1fr);
	gap: 64px;
	align-items: start;
}

.player-line {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 44px;
	padding: 0 2px;
	font-size: 12px;
	color: var(--muted);
}

.player-line > span:first-child {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--ink);
	font-weight: 600;
}

.player-line small {
	font-size: 11px;
	color: var(--muted);
	font-weight: 400;
}

.piece-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	display: inline-block;
	flex: none;
}

.white-dot {
	background: var(--paper);
	border: 1px solid var(--control);
}

.black-dot {
	background: var(--ink);
}

.board-help {
	margin-top: 0;
	text-align: center;
}

.report-details {
	padding-top: 9px;
}

.report-detail-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	margin-bottom: 24px;
}

.report-comment {
	min-height: 177px;
}

.report-comment h2 {
	font-size: 26px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -0.6px;
	margin: 10px 0 14px;
}

.report-comment p {
	font-size: 15px;
	line-height: 1.75;
	max-width: 455px;
}

.alternative-box {
	background: var(--green-wash);
	border-radius: var(--radius);
	padding: 24px;
	margin: 24px 0;
}

.alternative-box h3 {
	font-size: 18px;
	margin: 8px 0 10px;
}

.alternative-box > p {
	font-size: 14px;
	line-height: 1.7;
}

.alternative-box .button {
	margin-top: 18px;
	font-size: 13px;
	min-height: 44px;
	gap: 20px;
	border-color: #a2b6a9;
}

.alternative-box .button[aria-pressed="true"] {
	background: var(--paper);
}

.alternative-box .field-help {
	font-size: 12px;
}

.game-notation h3 {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 10px;
}

.takeaway {
	margin-top: 64px;
	border-top: 1px solid var(--line);
	padding-top: 42px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
}

.takeaway h2 {
	font: 400 34px / 1.2 var(--serif);
	letter-spacing: -0.8px;
}

.takeaway .eyebrow {
	margin-bottom: 14px;
}

.takeaway > div > p:not(.eyebrow):not(.quiet-note) {
	font-size: 16px;
	line-height: 1.8;
}

.takeaway .quiet-note {
	margin-top: 18px;
}

@media (min-width: 1600px) {
	.hero {
		padding-top: 56px;
		padding-bottom: 100px;
	}
	.hero h1 {
		font-size: 76px;
	}
}

@media (max-width: 1100px) {
	.wrap {
		width: calc(100% - 56px);
	}
	.hero {
		gap: 40px;
		padding-top: 24px;
	}
	.hero h1 {
		font-size: 56px;
		letter-spacing: -2.5px;
	}
	.hero-description {
		font-size: 17px;
	}
	.hero-actions {
		gap: 16px;
	}
	.hero-actions .button {
		padding-inline: 18px;
		gap: 22px;
	}
	.input-formats {
		font-size: 12px;
	}
	.understand-grid,
	.upload-story,
	.pricing-grid,
	.faq-section {
		gap: 52px;
	}
	.section-intro h2,
	.upload-story h2,
	.pricing-section h2,
	.faq-section h2 {
		font-size: 36px;
	}
	.analyze-grid {
		gap: 32px;
		grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	}
	.form-panel {
		padding: 24px;
	}
	.form-bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 16px;
	}
	.form-bottom .button {
		width: 100%;
	}
	.report-grid {
		gap: 36px;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
	.report-comment h2 {
		font-size: 23px;
	}
	.alternative-box {
		padding: 20px;
	}
	.player-line .subtle-button {
		font-size: 11px;
	}
	.site-footer {
		gap: 28px;
	}
	.photo-previews {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 800px) {
	.site-header {
		height: 88px;
	}
	.main-nav {
		gap: 20px;
	}
	.main-nav > a:not(.nav-action) {
		display: none;
	}
	.hero {
		grid-template-columns: 1fr;
		gap: 38px;
		max-width: 600px;
		padding: 32px 0 56px;
	}
	.hero-copy {
		max-width: 570px;
	}
	.hero h1 {
		font-size: 64px;
		letter-spacing: -2px;
	}
	.hero-description {
		max-width: 460px;
	}
	.hero-actions {
		margin-top: 24px;
	}
	.input-formats {
		margin-top: 24px;
	}
	.hero-example {
		max-width: 490px;
		justify-self: center;
	}
	.understand-section {
		padding: 56px 0;
	}
	.understand-grid {
		grid-template-columns: 1fr;
		gap: 34px;
	}
	.section-intro h2 {
		font-size: 36px;
	}
	.understand-content {
		gap: 26px;
	}
	.understand-content p {
		max-width: none;
	}
	.section-intro .text-link {
		margin-top: 18px;
	}
	.upload-story {
		gap: 40px;
		padding-block: 64px;
	}
	.notation-sheet {
		padding: 28px 20px;
	}
	.notation-sheet > div {
		grid-template-columns: 30px 1fr 1fr;
		font-size: 19px;
	}
	.upload-story h2 {
		font-size: 32px;
	}
	.upload-story-copy > p:not(.eyebrow):not(.quiet-note) {
		font-size: 15px;
	}
	.pricing-section {
		padding: 56px 0;
	}
	.pricing-grid {
		gap: 40px;
	}
	.pricing-section h2 {
		font-size: 32px;
	}
	.price-row strong {
		font-size: 29px;
	}
	.faq-section {
		grid-template-columns: 1fr;
		gap: 32px;
		padding-block: 60px;
	}
	.closing-section {
		padding: 24px 0 56px;
	}
	.closing-section h2 {
		font-size: 34px;
	}
	.site-footer {
		grid-template-columns: 1fr 1fr;
	}
	.site-footer > p {
		display: none;
	}
	.page-heading {
		align-items: flex-start;
	}
	.page-heading > .text-link {
		display: none;
	}
	.analyze-grid {
		grid-template-columns: 1fr;
	}
	.form-bottom {
		flex-direction: row;
		align-items: center;
	}
	.form-bottom .button {
		width: auto;
	}
	.preparation-aside {
		padding-top: 0;
	}
	.preparation-aside h2 br {
		display: none;
	}
	.preparation-list {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		gap: 20px;
	}
	.preparation-list li {
		padding-left: 32px;
		padding-bottom: 0;
	}
	.preparation-aside > p {
		max-width: 500px;
	}
	.example-aside-link {
		margin-top: 20px;
	}
	.report-grid {
		gap: 28px;
		grid-template-columns: 1fr 1fr;
	}
	.report-comment h2 {
		font-size: 20px;
	}
	.report-comment p {
		font-size: 14px;
	}
	.report-detail-header {
		flex-wrap: wrap;
		gap: 2px;
		margin-bottom: 18px;
	}
	.alternative-box {
		padding: 16px;
	}
	.alternative-box h3 {
		font-size: 16px;
	}
	.alternative-box .button {
		width: 100%;
		gap: 12px;
		padding: 10px;
	}
	.takeaway {
		gap: 32px;
	}
	.takeaway h2 {
		font-size: 30px;
	}
	.validation-grid {
		gap: 24px;
	}
	.validation-result {
		padding: 24px;
	}
}

@media (max-width: 600px) {
	.wrap {
		width: calc(100% - 40px);
	}
	.site-header {
		height: 80px;
		gap: 16px;
	}
	.wordmark {
		font-size: 22px;
	}
	.main-nav .nav-action {
		border: 0;
		padding: 10px 0;
		font-size: 12px;
		gap: 8px;
	}
	.hero {
		padding-top: 28px;
		gap: 32px;
	}
	.eyebrow {
		font-size: 12px;
		margin-bottom: 20px;
	}
	.hero h1 {
		font-size: clamp(40px, 10.5vw, 56px);
		letter-spacing: -1.6px;
	}
	.hero-description {
		font-size: 16px;
		line-height: 1.7;
		margin-top: 22px;
	}
	.hero-actions {
		gap: 12px 20px;
		align-items: center;
	}
	.hero-actions .button {
		font-size: 14px;
		padding: 13px 17px;
		gap: 22px;
	}
	.hero-actions .text-link {
		font-size: 13px;
	}
	.input-formats {
		font-size: 11px;
		flex-wrap: wrap;
	}
	.input-formats span + span::before {
		margin-inline: 8px;
	}
	.hero-copy > .quiet-note {
		font-size: 11px;
	}
	.example-topline {
		font-size: 11px;
		margin-bottom: 12px;
		gap: 8px;
	}
	.example-topline .sample-label {
		font-size: 11px;
	}
	.mini-report {
		padding: 14px;
		border-radius: 12px;
	}
	.mini-comment {
		padding: 16px 2px;
		min-height: 135px;
	}
	.mini-comment h2 {
		font-size: 17px;
	}
	.mini-comment p {
		font-size: 13px;
	}
	.coordinate {
		font-size: 8px;
	}
	.square .piece {
		width: 91%;
		height: 91%;
	}
	.segmented button {
		font-size: 12px;
		min-height: 40px;
	}
	.section-intro h2,
	.upload-story h2,
	.pricing-section h2,
	.faq-section h2 {
		font-size: 32px;
		letter-spacing: -1px;
	}
	.understand-grid {
		gap: 30px;
	}
	.understand-content article {
		gap: 16px;
	}
	.understand-content h3 {
		font-size: 17px;
	}
	.understand-content p {
		font-size: 14px;
	}
	.upload-story {
		grid-template-columns: 1fr;
		gap: 42px;
		padding-block: 56px;
	}
	.notation-sheet {
		max-width: 320px;
		padding: 28px 28px;
	}
	.notation-sheet > div {
		font-size: 21px;
	}
	.upload-story-copy > p:not(.eyebrow):not(.quiet-note) {
		font-size: 16px;
	}
	.upload-story-copy > .button {
		margin-top: 24px;
	}
	.pricing-grid {
		grid-template-columns: 1fr;
		gap: 34px;
	}
	.pricing-grid > div > p:not(.eyebrow) {
		font-size: 15px;
		max-width: 310px;
	}
	.pricing-grid > div > .quiet-note {
		font-size: 12px;
	}
	.price-row {
		padding: 22px 0;
	}
	.price-row h3 {
		font-size: 18px;
	}
	.price-row strong {
		font-size: 32px;
	}
	.faq-list summary {
		font-size: 16px;
		gap: 20px;
	}
	.faq-list details p {
		font-size: 14px;
	}
	.closing-section {
		flex-direction: column;
		align-items: flex-start;
		gap: 24px;
	}
	.closing-section h2 {
		font-size: 32px;
	}
	.site-footer {
		grid-template-columns: 1fr;
		gap: 20px;
		padding-block: 30px;
	}
	.site-footer > .wordmark {
		font-size: 21px;
	}
	.footer-links {
		justify-content: flex-start;
		gap: 10px 20px;
	}
	.footer-links span {
		text-align: left;
	}
	.workspace {
		padding-top: 14px;
		padding-bottom: 48px;
	}
	.page-heading {
		display: block;
		margin-bottom: 26px;
	}
	.back-link {
		margin-bottom: 20px;
		font-size: 12px;
	}
	.page-heading h1 {
		font-size: 27px;
	}
	.page-heading p {
		font-size: 14px;
	}
	.page-heading > .button {
		margin-top: 20px;
		min-height: 44px;
		font-size: 13px;
		gap: 24px;
	}
	.form-panel {
		padding: 20px 16px;
		border-radius: 12px;
	}
	.source-tabs {
		gap: 24px;
		margin-bottom: 24px;
	}
	.source-tabs button {
		font-size: 13px;
		padding-bottom: 12px;
	}
	.label-row {
		display: block;
	}
	.label-row label {
		font-size: 13px;
		margin-bottom: 2px;
	}
	.label-row .subtle-button {
		margin-bottom: 8px;
	}
	.source-panel > label {
		font-size: 13px;
	}
	textarea {
		font-size: 16px;
		min-height: 230px;
		padding: 12px;
	}
	.field-help {
		font-size: 11px;
	}
	.file-row {
		gap: 4px;
		margin-top: 10px;
	}
	.file-row > .field-help {
		max-width: none;
		flex-basis: 100%;
	}
	.form-bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 18px;
		padding-top: 20px;
		margin-top: 22px;
	}
	.form-bottom .button {
		width: 100%;
		min-height: 48px;
	}
	.preparation-aside h2 {
		font-size: 20px;
	}
	.preparation-aside > p {
		font-size: 14px;
	}
	.preparation-list {
		display: block;
		margin-bottom: 10px;
	}
	.preparation-list li {
		padding-bottom: 22px;
	}
	.preparation-list small {
		max-width: none;
	}
	.example-aside-link {
		margin-top: 0;
	}
	.photo-drop {
		padding: 26px 12px;
	}
	.photo-drop p {
		font-size: 12px;
	}
	.photo-drop > span {
		font-size: 10px;
	}
	.photo-drop h2 {
		font-size: 17px;
	}
	.inline-notice {
		padding: 16px;
		font-size: 12px;
	}
	.inline-notice strong {
		font-size: 13px;
	}
	.report-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.report-board-column {
		max-width: 440px;
		width: 100%;
		margin-inline: auto;
	}
	.report-details {
		padding-top: 0;
	}
	.report-detail-header {
		flex-direction: row;
		margin-bottom: 20px;
	}
	.report-comment {
		min-height: 0;
	}
	.report-comment h2 {
		font-size: 24px;
		max-width: 310px;
	}
	.report-comment p {
		font-size: 15px;
	}
	.alternative-box {
		padding: 22px;
		margin-block: 24px;
	}
	.alternative-box h3 {
		font-size: 18px;
	}
	.alternative-box .button {
		width: auto;
		padding: 12px 16px;
		gap: 18px;
	}
	.game-notation h3 {
		font-size: 14px;
	}
	.moves-list button {
		min-height: 44px;
	}
	.player-line .subtle-button {
		font-size: 11px;
	}
	.takeaway {
		grid-template-columns: 1fr;
		gap: 24px;
		margin-top: 38px;
		padding-top: 30px;
	}
	.takeaway h2 {
		font-size: 32px;
	}
	.takeaway > div > p:not(.eyebrow):not(.quiet-note) {
		font-size: 15px;
	}
	.validation-result {
		margin-top: 32px;
		padding: 20px 16px;
		border-radius: 12px;
	}
	.result-heading {
		display: block;
		margin-bottom: 24px;
	}
	.result-heading h2 {
		font-size: 23px;
	}
	.result-heading p {
		font-size: 13px;
	}
	.result-heading > .neutral-label {
		display: inline-block;
		margin-top: 14px;
		font-size: 11px;
	}
	.validation-grid {
		grid-template-columns: 1fr;
		gap: 26px;
	}
	.validation-result .moves-list {
		max-height: 230px;
	}
	.board-controls {
		gap: 6px;
	}
	.board-controls button {
		min-width: 42px;
	}
	.board-controls > span {
		font-size: 12px;
	}
	.board-help {
		font-size: 11px;
	}
}

.side-choice {
	border: 0;
	margin: 22px 0 8px;
	padding: 0;
}

.side-choice legend {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 10px;
}

.side-options {
	display: flex;
	gap: 10px;
}

.side-options label {
	position: relative;
	cursor: pointer;
}

.side-options input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.side-options label > span {
	display: flex;
	gap: 9px;
	align-items: center;
	min-height: 44px;
	padding: 8px 18px;
	border: 1px solid var(--control);
	border-radius: 8px;
	font-size: 13px;
}

.side-options input:checked + span {
	background: var(--blue-wash);
	border-color: var(--blue);
}

.side-options input:focus-visible + span {
	outline: 3px solid #347fa8;
	outline-offset: 3px;
}

.photo-actions {
	display: flex;
	gap: 4px;
	align-items: center;
}

.photo-actions button {
	min-width: 36px;
	padding: 8px;
	color: var(--ink);
}

.photo-actions button:last-child {
	color: var(--error);
	margin-left: auto;
}

.photo-actions button:disabled {
	color: #6b7883;
	opacity: 0.65;
}

.photo-actions button:focus-visible {
	outline-offset: 0;
}

.file-row:has(input:focus-visible) .file-button,
.photo-drop:has(input:focus-visible) label {
	outline: 3px solid #347fa8;
	outline-offset: 4px;
	border-radius: 4px;
}

.subtle-button,
.photo-card button {
	min-height: 44px;
}

.board-controls button {
	min-width: 44px;
}

.footer-links a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

.footer-links {
	align-items: flex-start;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
	.button:hover {
		transform: none;
	}
}
