/* Kiotey public landing. Light is white, dusk is the tan paper, dark stays ink. */

html {
	background: #ffffff;
	color-scheme: light;
}

html.v2-theme-dusk {
	background: #f6f4ef;
	color-scheme: light;
}

html.v2-theme-dark {
	background: #0d0c0a;
	color-scheme: dark;
}

.landing {
	--bg: #ffffff;
	--fg: #111113;
	--header: rgba(255, 255, 255, 0.86);
	--line: #e8e8ea;
	--muted: #5c5c63;
	--quiet: #6b6b72;
	--faint: #88888f;
	--cta-bg: #111113;
	--cta-fg: #ffffff;
	--cta-hover: #3a3a3f;
	--outline: #d4d4d8;
	--panel: #f4f4f5;
	--panel-line: #e6e6e9;
	--frame-shadow: 0 50px 100px -40px rgba(17, 17, 19, 0.16);
	--desk: #fafafa;
	--desk-fg: #2a2a2e;
	--rail: #f3f3f5;
	--selected: #ececef;
	--ink: #111113;
	--chip-line: #e0e0e4;
	--row-on: #f1f1f3;
	--flag-line: #d4d4d8;
	--flag-fg: #3d3d42;
	--soft: #5c5c63;
	--summary: #2a2a2e;
	--row-line: #ececef;
	--cookie-shadow: 0 20px 50px rgba(17, 17, 19, 0.12);
	--link-hover: #3a3a3f;
	--placeholder: #6b6b72;
	margin: 0;
	min-height: 100vh;
	background: var(--bg);
	color: var(--fg);
	font-family: "Instrument Sans", system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
}

html.v2-theme-dusk .landing {
	--bg: #f6f4ef;
	--fg: #17150f;
	--header: rgba(246, 244, 239, 0.86);
	--line: #e0dcd2;
	--muted: #5d584d;
	--quiet: #6b665a;
	--faint: #8a857a;
	--cta-bg: #17150f;
	--cta-fg: #f6f4ef;
	--cta-hover: #3a372f;
	--outline: #c8c2b5;
	--panel: #eeebe4;
	--panel-line: #dcd7cb;
	--frame-shadow: 0 50px 100px -40px rgba(23, 21, 15, 0.28);
	--desk: #fbfaf7;
	--desk-fg: #2c2922;
	--rail: #efece5;
	--selected: #e2ded4;
	--ink: #0d0c0a;
	--chip-line: #d2cdc1;
	--row-on: #e7e3da;
	--flag-line: #c2bcae;
	--flag-fg: #3e3a32;
	--soft: #4a463d;
	--summary: #2c2922;
	--row-line: #e6e2d9;
	--cookie-shadow: 0 20px 50px rgba(23, 21, 15, 0.18);
	--link-hover: #3a372f;
	--placeholder: #6b665a;
}

html.v2-theme-dark .landing {
	--bg: #0d0c0a;
	--fg: #efece5;
	--header: rgba(13, 12, 10, 0.82);
	--line: #22201c;
	--muted: #a29c8e;
	--quiet: #8a8478;
	--faint: #77726a;
	--cta-bg: #efece5;
	--cta-fg: #0d0c0a;
	--cta-hover: #ffffff;
	--outline: #36332c;
	--panel: #151410;
	--panel-line: #2a2823;
	--frame-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.8);
	--desk: #12110e;
	--desk-fg: #d8d4ca;
	--rail: #0f0e0c;
	--selected: #23211c;
	--ink: #ffffff;
	--chip-line: #2e2b25;
	--row-on: #1c1a16;
	--flag-line: #3a372f;
	--flag-fg: #cfcabd;
	--soft: #bdb7a9;
	--summary: #e4e0d7;
	--row-line: #1f1d19;
	--cookie-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
	--link-hover: #ffffff;
	--placeholder: #8a8478;
}

.landing *,
.landing *::before,
.landing *::after {
	box-sizing: border-box;
}

.landing [hidden] {
	display: none !important;
}

.landing [id] {
	scroll-margin-top: 70px;
}

.landing a {
	color: var(--fg);
	text-decoration: none;
}

.landing a:hover {
	color: var(--link-hover);
}

.landing button,
.landing input,
.landing select {
	font-family: inherit;
}

.landing input::placeholder {
	color: var(--placeholder);
}

.landing a:focus-visible,
.landing button:focus-visible,
.landing input:focus-visible,
.landing select:focus-visible {
	outline: 2px solid var(--fg);
	outline-offset: 2px;
}

.pad {
	max-width: 1320px;
	margin: 0 auto;
	padding-left: clamp(20px, 4vw, 48px);
	padding-right: clamp(20px, 4vw, 48px);
}

.mono {
	font-family: "JetBrains Mono", ui-monospace, monospace;
}

.eyebrow {
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--quiet);
}

.display {
	margin: 14px 0 0;
	font-weight: 600;
	font-size: clamp(34px, 4.8vw, 64px);
	line-height: 1;
	letter-spacing: -0.04em;
	text-wrap: balance;
}

.display span,
.hero-title span {
	color: var(--faint);
}

.lede {
	margin: 18px 0 0;
	font-size: 17px;
	line-height: 1.6;
	color: var(--muted);
	text-wrap: pretty;
}

.mark {
	width: auto;
	display: block;
}

.mark--dark {
	display: none;
}

html.v2-theme-dark .mark--light {
	display: none;
}

html.v2-theme-dark .mark--dark {
	display: block;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: var(--header);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
}

.site-bar {
	display: flex;
	align-items: center;
	gap: 32px;
	padding-top: 12px;
	padding-bottom: 12px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: none;
	font-weight: 700;
	font-size: 21px;
	letter-spacing: -0.03em;
	color: var(--fg);
}

.brand:hover {
	color: var(--fg);
}

.brand .mark {
	height: 30px;
}

.site-nav {
	display: flex;
	gap: 26px;
	font-size: 14px;
	flex: 1;
	min-width: 0;
	flex-wrap: wrap;
	white-space: nowrap;
}

.site-nav a {
	color: var(--muted);
}

.site-nav a:hover {
	color: var(--link-hover);
}

.site-actions {
	display: flex;
	gap: 8px;
	align-items: center;
	flex: none;
	white-space: nowrap;
}

.theme-switch {
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	background: none;
	border: none;
	border-radius: 8px;
	color: var(--muted);
	cursor: pointer;
}

.theme-switch:hover {
	color: var(--link-hover);
	background: var(--panel);
}

.theme-switch__moon {
	display: none;
	width: 16px;
	height: 16px;
}

html:not(.v2-theme-dark):not(.v2-theme-dusk) .theme-switch__moon--full,
html.v2-theme-dusk .theme-switch__moon--half,
html.v2-theme-dark .theme-switch__moon--crescent {
	display: block;
}

.sign-in {
	font-size: 14px;
	padding: 9px 14px;
	color: var(--muted);
}

.sign-in:hover {
	color: var(--link-hover);
}

.btn-primary,
.btn-ghost {
	white-space: nowrap;
	border-radius: 999px;
	cursor: pointer;
}

.btn-primary {
	font-size: 14px;
	font-weight: 600;
	padding: 9px 16px;
	background: var(--cta-bg);
	color: var(--cta-fg);
	border: none;
}

a.btn-primary,
a.btn-primary:hover,
button.btn-primary,
button.btn-primary:hover {
	color: var(--cta-fg);
}

.btn-primary:hover {
	background: var(--cta-hover);
}

.btn-primary--lg {
	font-size: 15px;
	padding: 15px 24px;
}

.btn-ghost {
	font-size: 15px;
	font-weight: 500;
	padding: 15px 24px;
	border: 1px solid var(--outline);
	background: transparent;
	color: var(--fg);
}

a.btn-ghost,
a.btn-ghost:hover {
	color: var(--fg);
}

.btn-ghost:hover {
	border-color: var(--fg);
}

.hero {
	padding-top: clamp(56px, 8vw, 104px);
}

.hero .eyebrow {
	margin-bottom: 26px;
}

.hero-title {
	margin: 0;
	font-weight: 600;
	font-size: clamp(44px, 7.4vw, 108px);
	line-height: 0.94;
	letter-spacing: -0.045em;
	max-width: 14ch;
	text-wrap: balance;
}

.hero-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
	gap: 28px 64px;
	margin-top: 36px;
	align-items: end;
}

.hero-lead {
	max-width: 40rem;
}

.hero-kicker {
	margin: 0;
	font-size: clamp(22px, 2vw, 28px);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.25;
	text-wrap: balance;
}

.hero-copy {
	margin: 16px 0 0;
	font-size: clamp(17px, 1.5vw, 20px);
	line-height: 1.55;
	color: var(--muted);
	max-width: 40rem;
	text-wrap: pretty;
}

.hero-beats {
	margin: 18px 0 0;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: -0.01em;
	color: var(--fg);
}

.hero-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.frame {
	margin-top: clamp(44px, 6vw, 72px);
	border-radius: 16px;
	border: 1px solid var(--panel-line);
	background: var(--panel);
	padding: 8px;
	box-shadow: var(--frame-shadow);
	overflow: hidden;
}

.frame-clip {
	overflow: auto hidden;
	border-radius: 10px;
}

.desk {
	min-width: 1180px;
	display: grid;
	grid-template-columns: 190px 310px minmax(0, 1fr) 250px;
	background: var(--desk);
	font-size: 12.5px;
	height: 560px;
	color: var(--desk-fg);
}

.desk-rail {
	background: var(--rail);
	border-right: 1px solid var(--line);
	padding: 14px 10px;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.desk-brand {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--fg);
	font-weight: 700;
	font-size: 14px;
	margin: 2px 8px 14px;
}

.desk-brand .mark {
	height: 18px;
}

.rail-label {
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 10px;
	letter-spacing: 0.1em;
	color: var(--faint);
	margin: 6px 8px;
}

.rail-label--clients {
	margin: 14px 8px 6px;
}

.rail-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6px 8px;
	border-radius: 6px;
}

.rail-row.is-on {
	background: var(--selected);
	color: var(--ink);
}

.rail-count {
	color: var(--quiet);
}

.rail-row.is-on .rail-count {
	color: inherit;
}

.rail-count.is-hot {
	color: var(--fg);
}

.live-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--fg);
	flex: none;
}

.desk-list {
	border-right: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.filters {
	padding: 10px 12px;
	border-bottom: 1px solid var(--line);
	display: flex;
	gap: 6px;
	align-items: center;
}

.pill {
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 11.5px;
	border: 1px solid var(--chip-line);
}

.pill.is-on {
	background: var(--cta-bg);
	color: var(--cta-fg);
	font-weight: 600;
	border-color: transparent;
}

.kbd {
	margin-left: auto;
	color: var(--faint);
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 10.5px;
}

.letter {
	padding: 11px 14px;
	border-bottom: 1px solid var(--line);
}

.letter.is-on {
	background: var(--row-on);
	border-left: 2px solid var(--fg);
}

.letter-top {
	display: flex;
	justify-content: space-between;
	font-weight: 600;
}

.letter.is-on .letter-top {
	color: var(--ink);
}

.letter-time {
	color: var(--quiet);
	font-weight: 400;
}

.letter-subject {
	margin-top: 2px;
	color: var(--muted);
}

.letter.is-on .letter-subject {
	color: var(--desk-fg);
}

.vip {
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 9.5px;
	color: var(--muted);
	font-weight: 400;
	margin-left: 4px;
}

.chips {
	display: flex;
	gap: 6px;
	margin-top: 6px;
}

.chip {
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 9.5px;
	padding: 2px 6px;
	border-radius: 3px;
	white-space: nowrap;
	color: var(--flag-fg);
}

.chip--line {
	border: 1px solid var(--flag-line);
}

.chip--fill {
	background: var(--panel-line);
}

.letter--quiet {
	color: var(--faint);
	border-bottom: none;
}

.letter--quiet .letter-top {
	font-weight: 400;
	color: inherit;
}

.desk-reader {
	padding: 22px 26px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	overflow: hidden;
	min-height: 0;
}

.reader-title {
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--ink);
}

.reader-meta {
	color: var(--quiet);
	margin-top: 4px;
}

.summary {
	background: var(--row-on);
	border: 1px solid var(--panel-line);
	border-radius: 8px;
	padding: 12px 14px;
}

.summary-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 6px;
}

.summary-label {
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 10px;
	letter-spacing: 0.1em;
	color: var(--muted);
}

.summary-action {
	font-size: 11px;
	padding: 3px 8px;
	border-radius: 4px;
	border: 1px solid var(--flag-line);
	white-space: nowrap;
}

.summary-body {
	line-height: 1.55;
	color: var(--summary);
}

.reader-body {
	line-height: 1.65;
	color: var(--soft);
	flex: 1;
	min-height: 0;
	overflow: hidden;
}

.reader-actions {
	flex: none;
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.fake-btn {
	white-space: nowrap;
	padding: 6px 11px;
	border-radius: 5px;
	border: 1px solid var(--chip-line);
}

.fake-btn--primary {
	background: var(--cta-bg);
	color: var(--cta-fg);
	font-weight: 600;
	border-color: transparent;
}

.desk-side {
	border-left: 1px solid var(--line);
	padding: 18px 16px;
	background: var(--rail);
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.side-label {
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 10px;
	letter-spacing: 0.1em;
	color: var(--faint);
}

.side-title {
	font-size: 15px;
	font-weight: 600;
	color: var(--ink);
}

.side-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.side-stat-label {
	color: var(--faint);
	font-size: 10.5px;
}

.side-stat-value {
	font-weight: 600;
}

.side-rule {
	height: 1px;
	background: var(--line);
}

.side-meeting {
	line-height: 1.45;
}

.side-meeting span {
	color: var(--quiet);
}

.side-tasks {
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: var(--soft);
}

.side-ask {
	margin-top: auto;
	border: 1px solid var(--panel-line);
	border-radius: 6px;
	padding: 8px 10px;
	color: var(--quiet);
}

.strip {
	padding-top: clamp(40px, 5vw, 64px);
	padding-bottom: clamp(40px, 5vw, 64px);
}

.strip-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 28px;
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	padding: 20px 0;
}

.strip-note {
	color: var(--muted);
	font-size: 15px;
}

.strip-logos {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--flag-fg);
}

.strip-next em {
	font-style: normal;
	color: var(--quiet);
	letter-spacing: 0.04em;
}

.section {
	padding-top: clamp(48px, 7vw, 96px);
	padding-bottom: clamp(48px, 7vw, 96px);
}

.section--roomy {
	padding-top: clamp(64px, 8vw, 112px);
	padding-bottom: clamp(64px, 8vw, 112px);
}

.band {
	background: var(--panel);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.mods {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	margin-top: 40px;
}

.mod-btn {
	white-space: nowrap;
	font-size: 14px;
	font-weight: 500;
	padding: 10px 16px;
	border-radius: 999px;
	cursor: pointer;
	border: 1px solid var(--chip-line);
	background: transparent;
	color: var(--desk-fg);
}

.mod-btn.is-on {
	background: var(--cta-bg);
	color: var(--cta-fg);
	border-color: var(--cta-bg);
}

.mod-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 40px 72px;
	margin-top: 40px;
	align-items: start;
}

.mod-title {
	margin: 0;
	font-size: clamp(24px, 2.6vw, 36px);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.1;
	text-wrap: balance;
}

.mod-body {
	margin: 16px 0 0;
	font-size: 17px;
	line-height: 1.6;
	color: var(--muted);
	max-width: 54ch;
	text-wrap: pretty;
}

.points {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
	gap: 0 28px;
	margin-top: 28px;
}

.point {
	padding: 12px 0;
	border-top: 1px solid var(--line);
	display: flex;
	gap: 12px;
	align-items: baseline;
	font-size: 15px;
	color: var(--desk-fg);
}

.point-mark {
	width: 5px;
	height: 5px;
	background: var(--fg);
	flex: none;
	transform: translateY(-3px);
}

.facts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	background: var(--panel-line);
	border: 1px solid var(--panel-line);
	border-radius: 12px;
	overflow: hidden;
}

.fact {
	background: var(--panel);
	padding: 24px 22px;
	min-height: 136px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 14px;
}

.fact-label {
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--quiet);
}

.fact-value {
	font-size: clamp(19px, 1.9vw, 25px);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.ai-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
	gap: 40px 72px;
	align-items: start;
}

.ai-copy {
	position: sticky;
	top: 96px;
}

.ai-copy .lede {
	max-width: 46ch;
}

.ai-item {
	padding: 22px 0;
	border-top: 1px solid var(--panel-line);
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 14px;
}

.ai-num {
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 12px;
	color: var(--faint);
	padding-top: 4px;
}

.ai-name {
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.ai-text {
	color: var(--muted);
	line-height: 1.55;
	margin-top: 5px;
}

.compare-head {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
	gap: 24px 72px;
	align-items: end;
}

.compare-head .display {
	margin: 0;
}

.compare-head .lede {
	margin: 0;
}

.compare-scroll {
	margin-top: 44px;
	overflow-x: auto;
	border: 1px solid var(--panel-line);
	border-radius: 12px;
	background: var(--desk);
}

.compare-table {
	min-width: 720px;
}

.compare-row {
	display: grid;
	grid-template-columns: minmax(200px, 2fr) repeat(5, minmax(96px, 1fr));
	border-bottom: 1px solid var(--row-line);
	font-size: 14.5px;
}

.compare-labels {
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--quiet);
	border-bottom: 1px solid var(--panel-line);
}

.compare-labels div,
.compare-row div {
	padding: 14px 12px;
	text-align: center;
}

.compare-labels div:first-child,
.compare-row div:first-child {
	padding: 14px 20px;
	text-align: left;
}

.compare-labels.compare-row div:nth-child(2) {
	padding: 16px 12px;
	background: var(--cta-bg);
	color: var(--cta-fg);
	font-weight: 500;
}

.compare-row div:nth-child(2) {
	background: var(--row-on);
	color: var(--ink);
	font-weight: 600;
}

.compare-row div:nth-child(n + 3) {
	color: var(--quiet);
}

.role-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: 12px;
	margin-top: 40px;
}

.role-card {
	background: var(--bg);
	border: 1px solid var(--panel-line);
	border-radius: 12px;
	padding: 24px;
}

.role-kicker {
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 11px;
	letter-spacing: 0.08em;
	color: var(--quiet);
}

.role-name {
	font-size: 18px;
	font-weight: 600;
	margin-top: 10px;
}

.role-text {
	color: var(--muted);
	margin-top: 6px;
	line-height: 1.5;
}

.company-lede {
	max-width: 60ch;
}

.display--narrow {
	max-width: 18ch;
}

.display--desk {
	max-width: 20ch;
}

.connect-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 24px;
	margin-top: 48px;
}

.connect-step {
	border-top: 1px solid var(--fg);
	padding-top: 20px;
}

.connect-num {
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 12px;
	color: var(--quiet);
}

.connect-name {
	font-size: 21px;
	font-weight: 600;
	margin-top: 10px;
	letter-spacing: -0.02em;
}

.connect-text {
	color: var(--muted);
	margin-top: 8px;
	line-height: 1.55;
}

.access {
	border-top: 1px solid var(--line);
}

.access-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 40px 72px;
	align-items: center;
}

.access-title {
	margin: 0;
	font-weight: 600;
	font-size: clamp(38px, 5.4vw, 76px);
	line-height: 0.96;
	letter-spacing: -0.045em;
	text-wrap: balance;
}

.access-title span {
	color: var(--faint);
}

.access-lede {
	max-width: 44ch;
}

.access-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: var(--panel);
	border: 1px solid var(--panel-line);
	border-radius: 14px;
	padding: 24px;
}

.access-card input,
.access-card select {
	font-size: 15px;
	padding: 14px 15px;
	border-radius: 8px;
	border: 1px solid var(--chip-line);
	background: var(--bg);
	color: var(--fg);
	width: 100%;
}

.access-card button {
	font-size: 15px;
	padding: 15px;
	margin-top: 6px;
	width: 100%;
}

.access-fine {
	margin: 4px 0 0;
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--quiet);
}

.access-fine a {
	color: var(--muted);
	text-decoration: underline;
}

.access-fine a:hover {
	color: var(--link-hover);
}

.access-done {
	background: var(--panel);
	border: 1px solid var(--panel-line);
	border-radius: 14px;
	padding: 36px 26px;
}

.access-kicker {
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 12px;
	letter-spacing: 0.08em;
	color: var(--quiet);
}

.access-done h3 {
	font-size: 24px;
	font-weight: 600;
	margin: 10px 0 0;
	letter-spacing: -0.02em;
}

.access-done p {
	color: var(--muted);
	margin: 8px 0 0;
	line-height: 1.55;
}

.legal {
	padding-top: clamp(48px, 6vw, 88px);
	padding-bottom: clamp(48px, 6vw, 88px);
	display: flex;
	flex-wrap: wrap;
	gap: 40px 72px;
	align-items: flex-start;
}

.legal-nav {
	flex: 0 0 220px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	position: sticky;
	top: 96px;
}

.legal-kicker {
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 11px;
	letter-spacing: 0.1em;
	color: var(--quiet);
	margin-bottom: 10px;
}

.legal-nav a {
	font-size: 15px;
	padding: 7px 0;
	color: var(--quiet);
}

.legal-nav a.is-on {
	color: var(--fg);
}

.legal-nav a:hover {
	color: var(--link-hover);
}

.legal-back {
	font-size: 14px;
	padding: 18px 0 0;
	color: var(--quiet);
}

.legal-doc {
	flex: 1 1 520px;
	max-width: 760px;
	min-width: 0;
}

.legal-title {
	margin: 0;
	font-weight: 600;
	font-size: clamp(34px, 4.4vw, 56px);
	line-height: 1;
	letter-spacing: -0.04em;
}

.legal-date {
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 12px;
	letter-spacing: 0.06em;
	color: var(--quiet);
	margin-top: 16px;
}

.legal-block {
	padding-top: 36px;
}

.legal-block h2 {
	margin: 0 0 12px;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.legal-block p {
	margin: 0 0 12px;
	font-size: 16px;
	line-height: 1.7;
	color: var(--soft);
	text-wrap: pretty;
}

.legal-rows {
	border: 1px solid var(--panel-line);
	border-radius: 10px;
	overflow: hidden;
	margin-top: 6px;
}

.legal-row {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	padding: 14px 16px;
	border-top: 1px solid var(--line);
	font-size: 14.5px;
	line-height: 1.55;
}

.legal-row strong {
	flex: 0 0 180px;
	font-weight: 600;
}

.legal-row span {
	flex: 1 1 260px;
	color: var(--soft);
}

.legal-row em {
	flex: 0 0 140px;
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-style: normal;
	font-size: 12px;
	color: var(--quiet);
}

.site-footer {
	border-top: 1px solid var(--line);
}

.footer-bar {
	padding-top: 28px;
	padding-bottom: 28px;
	display: flex;
	gap: 20px 32px;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	font-size: 13px;
	color: var(--quiet);
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 10px;
}

.footer-brand .mark {
	height: 24px;
}

.footer-name {
	color: var(--fg);
	font-weight: 700;
	font-size: 17px;
	letter-spacing: -0.02em;
}

.footer-tag {
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 11px;
	letter-spacing: 0.1em;
	margin-left: 8px;
}

.footer-links {
	display: flex;
	gap: 10px 20px;
	flex-wrap: wrap;
	align-items: center;
}

.footer-links a,
.footer-links button {
	color: var(--quiet);
	font-size: 13px;
}

.footer-links button {
	font-family: inherit;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
}

.footer-links a:hover,
.footer-links button:hover {
	color: var(--link-hover);
}

.cookies {
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 50;
	max-width: 420px;
	width: calc(100% - 40px);
	background: var(--panel);
	border: 1px solid var(--panel-line);
	border-radius: 14px;
	padding: 20px;
	box-shadow: var(--cookie-shadow);
}

html.landing-cookies-set .cookies {
	display: none;
}

.cookies h2 {
	font-weight: 600;
	font-size: 15px;
	margin: 0;
}

.cookies p {
	margin: 8px 0 16px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--muted);
}

.cookies p a {
	color: var(--fg);
	text-decoration: underline;
}

.cookie-actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.cookie-necessary {
	font-size: 14px;
	font-weight: 500;
	padding: 10px 16px;
	border-radius: 999px;
	border: 1px solid var(--outline);
	background: transparent;
	color: var(--fg);
	cursor: pointer;
	white-space: nowrap;
}

.cookies .btn-primary {
	font-size: 14px;
	font-weight: 600;
	padding: 10px 16px;
}

@media (max-width: 860px) {
	.site-bar {
		flex-wrap: wrap;
		gap: 12px 20px;
	}

	.site-nav {
		order: 3;
		flex: 1 0 100%;
	}

	.ai-copy {
		position: static;
	}

	.legal-nav {
		position: static;
		flex-basis: 100%;
	}
}
