/* Hangar Group — Base v3 (reset, typography, links, forms) — modern sans-serif */

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	overflow-x: clip;
}

body {
	margin: 0;
	font-family: var(--hg-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--hg-text);
	background: var(--hg-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
	width: 100%;
	max-width: 100vw;
}

/* Mobilde alt sabit bar için içerik padding'i */
@media (max-width: 899px) {
	body { padding-bottom: 72px; }
	.hg-footer__bottom { padding-bottom: 1.5rem; }
}

img, svg, video {
	display: block;
	max-width: 100%;
	height: auto;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .75rem;
	font-family: var(--hg-font-display);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.022em;
	color: var(--hg-text);
}
h1 { font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.65rem, 2.6vw, 2.4rem); font-weight: 700; letter-spacing: -.025em; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }

p { margin: 0 0 1rem; }

a {
	color: var(--hg-brand);
	text-decoration: none;
	transition: color var(--hg-dur) var(--hg-ease);
}
a:hover,
a:focus-visible { color: var(--hg-brand-600); }

ul, ol {
	margin: 0 0 1rem;
	padding-inline-start: 1.25rem;
}

strong, b { font-weight: 700; color: var(--hg-text); }

hr {
	border: 0;
	border-top: 1px solid var(--hg-border);
	margin: var(--hg-sp-7) 0;
}

blockquote {
	border-left: 3px solid var(--hg-brand);
	padding: .5rem 1rem;
	margin: 1.5rem 0;
	background: var(--hg-brand-50);
	color: var(--hg-text-soft);
}

code, pre, kbd {
	font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
	font-size: .9em;
	background: var(--hg-surface);
	border-radius: var(--hg-r-xs);
	padding: 0.1em 0.35em;
}

input, textarea, select, button {
	font: inherit;
	color: inherit;
}

input, textarea, select {
	width: 100%;
	padding: .85rem 1rem;
	background: var(--hg-bg);
	border: 1px solid var(--hg-border);
	border-radius: var(--hg-r-sm);
	color: var(--hg-text);
	outline: none;
	transition: border-color var(--hg-dur) var(--hg-ease), box-shadow var(--hg-dur) var(--hg-ease);
}
input:focus, textarea:focus, select:focus {
	border-color: var(--hg-brand);
	box-shadow: 0 0 0 3px rgba(200, 111, 60, .16);
}

button {
	cursor: pointer;
	border: 0;
	background: transparent;
}

::selection {
	background: var(--hg-brand);
	color: #fff;
}

:focus-visible {
	outline: 2px solid var(--hg-brand);
	outline-offset: 3px;
	border-radius: var(--hg-r-xs);
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 1rem;
}
.skip-link:focus {
	left: 1rem;
	z-index: 999;
	background: var(--hg-brand);
	color: #fff;
	padding: .5rem 1rem;
	border-radius: var(--hg-r-sm);
}

/* Prose */
.hg-prose {
	max-width: 72ch;
	margin-inline: auto;
	font-size: 1.05rem;
	line-height: 1.8;
	color: var(--hg-text-soft);
}
.hg-prose h2, .hg-prose h3 { margin-top: 2rem; color: var(--hg-text); }
.hg-prose ul, .hg-prose ol { margin-block: 1rem; padding-inline-start: 1.5rem; }
.hg-prose li { margin-bottom: .35rem; }
.hg-prose img { border-radius: var(--hg-r-md); margin-block: 1.25rem; }
.hg-prose a { text-decoration: underline; text-underline-offset: 3px; }
