:root {
	font-family: Arial, Helvetica, sans-serif;
	color: #252743;
	background: #f3f3ff;
	line-height: 1.5;
	--muted: #585b7b;
	--line: #c9cbed;
	--accent: #4b469d;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
h1, p { margin: 0; }
h1 { font-size: 2rem; line-height: 1.2; }
a[skip] { position: absolute; top: -100px; left: 16px; padding: 12px; background: #fff; z-index: 2; }
a[skip]:focus { top: 12px; }
div[header] { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; padding: 12px 24px; background: #b8bdff; }
a[brand] { font-size: 1.25rem; font-weight: 700; text-decoration: none; }
nav { display: flex; gap: 24px; }
div[header] a { padding-block: 10px; text-decoration: none; }
div[header] a:hover, div[header] a[aria-current] { text-decoration: underline; }
a[login] { margin-left: auto; }
div[content] { width: min(100% - 40px, 860px); margin: 48px auto; }
div[landing], div[simple-page] { margin-block: 64px; }
div[simple-page] p { margin-top: 16px; color: var(--muted); }
button { border: 1px solid var(--accent); border-radius: 4px; background: var(--accent); color: #fff; padding: 10px 20px; font: inherit; min-height: 44px; cursor: pointer; }
button:hover:not(:disabled) { background: #373278; }
button:disabled { background: #e2e3f3; border-color: var(--line); color: var(--muted); cursor: default; }
button[plain] { background: transparent; color: inherit; border-color: var(--line); }
button[plain]:hover { background: #e2e3f3; }
div[video-card] { min-height: 78svh; padding-block: 32px; display: flex; flex-direction: column; justify-content: center; gap: 12px; border-bottom: 1px solid var(--line); }
div[video-card] h2 { font-size: 1.25rem; margin: 0; overflow-wrap: anywhere; }
div[video-card] p { color: var(--muted); }
p[video-status]:empty { display: none; }
div[player-frame] { background: #252743; }
div[player-frame] iframe, div[player-slot] { width: 100%; height: auto; aspect-ratio: 16 / 9; min-height: 200px; border: 0; display: block; }
#status { color: var(--muted); margin-top: 12px; }
#status:empty { display: none; }
#more { margin-top: 20px; }
nav[player-info] { margin-top: 20px; font-size: .875rem; color: var(--muted); }
@media (max-width: 480px) {
	div[header] { gap: 4px 20px; padding-inline: 20px; }
	div[header] nav { order: 1; flex-basis: 100%; }
	div[content] { margin-block: 32px; }
	div[landing], div[simple-page] { margin-block: 40px; }
}

body { min-height: 100vh; display: flex; flex-direction: column; }
div[content] { flex: 1; }
a[action] { display: inline-flex; justify-content: center; align-items: center; gap: 20px; min-height: 48px; padding: 12px 20px; border: 1px solid var(--accent); border-radius: 6px; background: var(--accent); color: white; font-weight: bold; text-decoration: none; text-align: center; }
a[action]:hover { background: #373278; }
[eyebrow] { color: var(--accent); font-size: .75rem; font-weight: bold; letter-spacing: .13em; }
p[intro] { color: var(--muted); margin-top: 16px; max-width: 42rem; }
div[downloads] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-block: 32px; }
div[download-card] { display: flex; flex-direction: column; gap: 16px; padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: #fff9; }
div[download-card][unavailable] { opacity: .55; background: transparent; border-style: dashed; }
div[download-card] h2 { margin: 0; font-size: 1.35rem; }
div[download-card] p { color: var(--muted); flex: 1; }
div[prose] { max-width: 46rem; }
div[prose] h1 { margin-bottom: 24px; }
div[prose] h2 { font-size: 1.3rem; margin-top: 32px; }
div[prose] p { margin-block: 16px; }
div[prose] li { padding-block: 6px; }
p[notice] { padding: 18px; border-left: 3px solid var(--accent); background: #e5e5fa; }
div[footer] { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; text-align: center; margin-top: auto; padding: 30px max(24px, calc((100% - 1120px) / 2)); border-top: 1px solid var(--line); background: #e8e9fa; }
div[footer] nav { flex-wrap: wrap; gap: 4px 22px; }
div[footer] nav a { display: inline-flex; align-items: center; min-height: 44px; }
div[footer] p { flex-basis: 100%; color: var(--muted); font-size: .85rem; }
@media (max-width: 580px) {
	div[downloads] { grid-template-columns: 1fr; }
	div[footer] { align-items: flex-start; gap: 12px; }
	div[footer] nav { flex-basis: 100%; }
}
