@charset "utf-8";

/*
 * Base layer (Stage 2 note):
 * - fonts.css = @font-face only
 * - this file = reset + html/body + box-sizing (unchanged rules below)
 * - design tokens inlined here from src/styles/tokens.css (no extra <link>)
 *
 * test5 base reset only.
 * Removed unused gnuboard/BBS/captcha/paging/#hd/#gnb/#wrapper/#ft board chrome
 * and broken ../img url() dependencies from the original default.css.
 */

/* === tokens (keep in sync with src/styles/tokens.css) === */
:root {
	--primary: #2563EB;
	--primary-dark: #1D4ED8;
	--primary-soft: #EFF6FF;
	--ink: #0F172A;
	--muted: #64748B;
	--line: #E2E8F0;
	--surface: #F8FAFC;
	--bg: #fff;
	--common-padding: 120px 20px;
	--common-margin-bt: 40px;
	--page-h1-size: 44px;
	--page-h1-size-m: 32px;
	--sec-title-size: 32px;
	--sec-title-size-m: 26px;
	--sec-title-lead-size: 17px;
	--sec-title-lead-size-m: 15px;
	--eng: "minerva-modern", sans-serif;
	--site-btn-arrow-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
}

@media (max-width: 768px) {
	:root {
		--common-padding: 60px 16px;
		--common-margin-bt: 40px;
	}
}
/* === /tokens === */

/* 초기화 */
html {
	overflow-y: scroll;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 16px;
}

@media (max-width: 1200px) {
	html {
		font-size: 15px;
	}
}

@media (max-width: 768px) {
	html {
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	html {
		font-size: 13px;
	}
}

body {
	margin: 0;
	padding: 0;
	font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-style: normal;
	font-size: 1rem;
	min-width: 280px;
	background: var(--bg, #fff);
}

body::-webkit-scrollbar {
	width: 6px;
	height: 10px;
	margin: 0 2px;
	background-color: rgba(0, 0, 0, 0);
	-webkit-border-radius: 100px;
}

body::-webkit-scrollbar:hover {
	background-color: rgba(0, 0, 0, 0.05);
}

body::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.4);
	-webkit-border-radius: 100px;
	border: 2px solid transparent;
}

body::-webkit-scrollbar-thumb:active {
	background: rgba(0, 0, 0, 0.61);
	-webkit-border-radius: 100px;
}

em {
	font-style: normal;
}

html,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
img {
	margin: 0;
	padding: 0;
	border: 0;
}

button {
	display: inline-block;
	cursor: pointer;
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	font: inherit;
	color: inherit;
	text-align: inherit;
	text-decoration: none;
	line-height: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
	font-style: normal;
	font-size: 16px;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

ul,
dl,
dt,
dd {
	margin: 0;
	padding: 0;
	list-style: none;
}

legend {
	position: absolute;
	margin: 0;
	padding: 0;
	font-size: 0;
	line-height: 0;
	text-indent: -9999em;
	overflow: hidden;
}

label,
input,
button,
select,
img {
	vertical-align: middle;
	font-size: 1em;
}

input,
button {
	margin: 0;
	padding: 0;
	font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
	font-style: normal;
	font-size: 16px;
}

input[type='submit'] {
	cursor: pointer;
}

button {
	cursor: pointer;
}

textarea,
select {
	font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
	font-style: normal;
	font-size: 16px;
}

select {
	margin: 0;
}

p {
	margin: 0;
	padding: 0;
	word-break: break-all;
}

hr {
	display: none;
}

pre {
	overflow-x: scroll;
	font-size: 1.1em;
}

a {
	color: #000;
	text-decoration: none;
}

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

input[type='text'],
input[type='password'],
textarea {
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	outline: none;
}

input[type='text']:focus,
input[type='password']:focus,
textarea:focus,
select:focus {
	-webkit-box-shadow: 0 0 5px #9ed4ff;
	-moz-box-shadow: 0 0 5px #9ed4ff;
	box-shadow: 0 0 5px #9ed4ff;
	border: 1px solid #558ab7 !important;
}

/* Screen-reader only labels (apply form etc.) */
.sound_only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: 2px;
}
