/* Renk ve ölçüler Slymn Wiki'nin tasarım token'larından alınır (slymn-home-system → wiki/packages/branding/design/tokens.json). */
@font-face {
	font-family: "Inter";
	src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Inter";
	src: url("/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	color-scheme: light dark;
	--page: light-dark(#faf9f5, #1f1e1d);
	--surface: light-dark(#f5f4ed, #262624);
	--border: light-dark(#e5e3d9, #3e3e38);
	--text: light-dark(#141413, #f5f4ed);
	--text-muted: light-dark(#5e5d59, #c2c0b6);
	--text-faint: light-dark(#87867f, #a6a49b);
	--accent: #d97757;
	--accent-text: light-dark(#a9502f, #e8a68c);
	--radius: 12px;
	--shadow: light-dark(rgb(20 20 19 / 5%), rgb(0 0 0 / 25%));
}

/* Düğmeyle seçilen tema cihaz ayarının önüne geçer (site.js). */
:root[data-theme="light"] {
	color-scheme: light;
}

:root[data-theme="dark"] {
	color-scheme: dark;
}

* {
	box-sizing: border-box;
}

html {
	height: 100%;
}

body {
	min-height: 100%;
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 24px;
	padding: 32px 20px;
	background: var(--page);
	color: var(--text);
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

.card {
	width: 100%;
	max-width: 520px;
	padding: 40px 36px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: 0 8px 24px var(--shadow);
	border-top: 4px solid var(--accent);
}

.mark {
	display: block;
	margin-bottom: 24px;
}

.name {
	margin: 0;
	font-size: 38px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.role {
	margin: 8px 0 0;
	color: var(--accent-text);
	font-size: 18px;
	font-weight: 600;
}

.slogan {
	margin: 20px 0 0;
	color: var(--text-muted);
	font-size: 20px;
	line-height: 1.5;
}

.theme-toggle {
	position: fixed;
	top: 20px;
	right: 20px;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 50%;
	color: var(--text-muted);
	cursor: pointer;
	transition: color 0.15s, border-color 0.15s;
}

.theme-toggle[hidden] {
	display: none;
}

.theme-toggle:hover {
	color: var(--accent-text);
	border-color: var(--accent);
}

.theme-toggle:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

/* Gösterilen simge geçilecek temayı anlatır: açık temada ay, koyu temada güneş. */
.theme-toggle .icon-sun,
:root[data-theme="dark"] .theme-toggle .icon-moon {
	display: none;
}

:root[data-theme="dark"] .theme-toggle .icon-sun {
	display: block;
}

.footer {
	color: var(--text-faint);
	font-size: 13px;
}

a {
	color: var(--accent-text);
}

@media (max-width: 480px) {
	.card {
		padding: 32px 24px;
	}

	.name {
		font-size: 30px;
	}
}
