/* kanario.earth — Kanario Design System, dark (brand default) */

@font-face {
	font-family: "Geist";
	src: url("/assets/fonts/geist-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "DM Sans";
	src: url("/assets/fonts/dm-sans-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 1000;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Fira Code";
	src: url("/assets/fonts/fira-code-latin-400-normal.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Fira Code";
	src: url("/assets/fonts/fira-code-latin-500-normal.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

:root {
	--gold: #fcbc00;
	--bg: #091e21;
	--line: #1e464e;
	--text: #f5f0e8;
	--text-2: #b8c8ca;
	--text-3: #8fa8ac;
	--font-display: "Geist", ui-sans-serif, system-ui, sans-serif;
	--font-sans: "DM Sans", ui-sans-serif, system-ui, sans-serif;
	--font-mono: "Fira Code", ui-monospace, SFMono-Regular, Menlo, monospace;
	color-scheme: dark;
}

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

html {
	background: var(--bg);
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--gold); color: var(--bg); }

a {
	color: var(--text);
	text-decoration-color: var(--gold);
	text-underline-offset: 3px;
	transition: color 150ms linear;
}
a:hover { color: var(--gold); }
a:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 3px;
}

.skip {
	position: absolute;
	left: 24px;
	top: -100px;
	padding: 8px 12px;
	background: var(--gold);
	color: var(--bg);
	font-size: 14px;
	text-decoration: none;
	z-index: 10;
}
.skip:focus { top: 16px; color: var(--bg); }

.wrap {
	max-width: 720px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Header */
.site-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding: 28px 0;
}
.brand {
	display: flex;
	min-height: 47px;
	padding: 12px 0;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--text);
}
.brand svg { height: 17px; width: auto; display: block; }
.brand:hover { color: var(--text); }
.site-nav { display: flex; gap: 24px; font-size: 14px; }
.site-nav a { text-decoration: none; color: var(--text-2); display: inline-block; padding: 12px 0; line-height: 23px; }
.site-nav a:hover { color: var(--gold); }

/* Hero */
.hero {
	padding: 96px 0 88px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}
h1 {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(2.25rem, 5vw, 3rem);
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: var(--text);
}
.nowrap { display: block; white-space: nowrap; }
.lead {
	margin: 0;
	font-size: 1.125rem;
	line-height: 1.65;
	color: var(--text-2);
	max-width: 600px;
}

/* Sections */
.section {
	padding: 56px 0;
	border-top: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.section--approach { gap: 40px; }
.section--last { padding-bottom: 96px; }
.label {
	margin: 0;
	font-family: var(--font-mono);
	font-weight: 500;
	font-size: 12px;
	line-height: 1.4;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gold);
}

.principles {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 40px;
}
.principle {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	column-gap: 16px;
}
.principle-num {
	font-family: var(--font-mono);
	font-weight: 500;
	font-size: 12px;
	letter-spacing: 0.12em;
	color: var(--text-3);
	padding-top: 4px;
}
.principle h3 {
	margin: 0 0 8px;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.25rem;
	line-height: 1.3;
	letter-spacing: -0.015em;
	color: var(--text);
}
.principle p { margin: 0; color: var(--text-2); }

.build {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 32px;
	font-size: 1.125rem;
	color: var(--text);
}

.contact {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 32px;
	font-size: 1.125rem;
}

/* Footer */
.site-footer {
	padding: 32px 0 48px;
	border-top: 1px solid var(--line);
	font-size: 13px;
	line-height: 1.6;
	color: var(--text-3);
}
.site-footer p { margin: 0; }
.site-footer .backed { margin-bottom: 4px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; }
.site-footer a { color: var(--text-2); display: inline-block; padding: 4px 0; }
.site-footer a:hover { color: var(--gold); }

/* Company information */
.page {
	padding: 96px 0 56px;
	display: flex;
	flex-direction: column;
	gap: 40px;
}
.facts {
	margin: 0;
	display: grid;
	grid-template-columns: minmax(0, 224px) minmax(0, 1fr);
	border-bottom: 1px solid var(--line);
}
.facts dt,
.facts dd {
	margin: 0;
	padding: 15px 0;
	border-top: 1px solid var(--line);
}
.facts dt {
	padding-right: 24px;
	font-family: var(--font-mono);
	font-weight: 500;
	font-size: 12px;
	line-height: 1.6rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-3);
}
.facts dd { color: var(--text); }
.page p { margin: 0; color: var(--text-2); }

.prose { gap: 20px; }
.prose h2 {
	margin: 24px 0 0;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.25rem;
	line-height: 1.3;
	letter-spacing: -0.015em;
	color: var(--text);
}
.prose .meta {
	font-family: var(--font-mono);
	font-weight: 500;
	font-size: 12px;
	line-height: 1.4;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-3);
}

@media (max-width: 520px) {
	.principle { grid-template-columns: 28px minmax(0, 1fr); column-gap: 10px; }
	.hero { padding: 64px 0 64px; }
	h1 { font-size: min(2.25rem, calc((100vw - 48px) / 10.2)); }
	.page { padding-top: 64px; }
	.facts { grid-template-columns: minmax(0, 1fr); }
	.build { grid-template-columns: minmax(0, 1fr); }
	.facts dd { border-top: 0; padding-top: 0; }
}
