:root {
	--navy: #2c4368;
	--blue: #9b4c43;
	--light: #f5f7fb;
	--text: #182235;
	--muted: #647087;
	--line: #e4e9f2;
	--white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: #e8eef7;
	color: var(--text);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", Arial, sans-serif;
	line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
section[id] { scroll-margin-top: 72px; }

#mainContents h1,
#mainContents h2,
#mainContents h3,
#mainContents strong { font-weight: revert; }
:where(#mainContents button),
:where(#mainContents input),
:where(#mainContents select),
:where(#mainContents textarea) {
	margin: 0;
	font-family: inherit;
	line-height: normal;
	text-transform: none;
	box-shadow: none;
}
:where(#mainContents button) { border: 0; }
:where(#mainContents summary) { font-family: inherit; text-transform: none; }
:where(#mainContents img) { max-width: 100%; border: 0; vertical-align: middle; }

:where(#footer p),
:where(#footer a),
:where(#footer div) {
	font-family: inherit;
	font-style: normal;
	font-weight: 400;
	text-transform: none;
}

/* Template header / navigation */
#header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: rgba(225, 234, 247, .96);
	border-bottom: 1px solid var(--line);
	backdrop-filter: blur(12px);
}
.header-area {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	max-width: 1120px;
	height: 72px;
	margin: auto;
	padding: 0 24px;
}
#L_SITE_LOGO {
	flex-shrink: 0;
	max-width: 262px;
}
#L_SITE_LOGO h1 {
	margin: 0;
	padding: 0;
	font-size: 0;
	font-weight: normal;
	line-height: 0;
}
#L_SITE_LOGO a {
	display: block;
}
#L_SITE_LOGO img {
	display: block;
	width: auto;
	max-width: 262px;
	height: auto;
	border: 0;
}
#menuArea { margin-left: auto; }
.navigation { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
#gnb .navigation .menu-item {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}
#gnb .navigation .menu-link {
	display: block;
	padding: 0;
	border: 0 !important;
	border-radius: 0;
	background: transparent !important;
	color: #4d5870;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
	text-shadow: none;
	box-shadow: none;
	-webkit-tap-highlight-color: transparent;
}
#gnb .navigation .menu-link:hover,
#gnb .navigation .menu-link:focus,
#gnb .navigation .menu-link:focus-visible,
#gnb .navigation .menu-link:active,
#gnb .navigation .menu-item.on .menu-link {
	border: 0 !important;
	background: transparent !important;
	color: var(--blue);
	outline: none !important;
	text-decoration: none !important;
	text-shadow: none;
	box-shadow: none;
}

/* Main content */
#mainContents { overflow: hidden; }
.hero {
	padding: 160px 24px 110px;
	background: linear-gradient(135deg, #d7e4f6 0%, #edf2fa 55%, #cadbf1 100%);
	border-bottom: 1px solid var(--line);
}
.hero-inner {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	align-items: center;
	gap: 70px;
	max-width: 1120px;
	margin: auto;
}
.eyebrow { color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 {
	margin: 18px 0 24px;
	color: var(--navy);
	font-size: clamp(44px, 6vw, 72px);
	line-height: 1.05;
	letter-spacing: -.055em;
}
.hero p { max-width: 650px; margin: 0 0 32px; color: var(--muted); font-size: 19px; }
.hero .btn,
.inquiry-dialog .btn {
	display: inline-block;
	margin-right: 10px;
	padding: 13px 20px;
	border: 0;
	border-color: transparent;
	border-radius: 10px;
	background-image: none;
	font-family: inherit;
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 1.6;
	text-align: center;
	text-shadow: none;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}
.hero .btn-primary,
.hero .btn-primary:visited,
.hero .btn-primary:hover,
.hero .btn-primary:focus,
.hero .btn-primary:active,
.hero .btn-primary.active,
.inquiry-dialog .btn-primary,
.inquiry-dialog .btn-primary:visited,
.inquiry-dialog .btn-primary:hover,
.inquiry-dialog .btn-primary:focus,
.inquiry-dialog .btn-primary:active,
.inquiry-dialog .btn-primary.active {
	border-color: transparent !important;
	background-color: var(--blue) !important;
	background-image: none !important;
	color: var(--white) !important;
	text-shadow: none !important;
	box-shadow: none !important;
}
.hero .btn-primary:hover,
.hero .btn-primary:focus,
.hero .btn-primary:active,
.hero .btn-primary.active,
.inquiry-dialog .btn-primary:hover,
.inquiry-dialog .btn-primary:focus,
.inquiry-dialog .btn-primary:active,
.inquiry-dialog .btn-primary.active { background-color: #803e37 !important; }
.hero .btn-secondary { border: 1px solid #cfd7e6; background: var(--white); color: var(--navy); }
.hero .btn:focus,
.hero .btn:focus-visible,
.hero .btn:active { outline: none !important; }
.visual {
	position: relative;
	overflow: hidden;
	min-height: 360px;
	padding: 38px;
	border-radius: 24px;
	background: var(--navy);
	box-shadow: 0 24px 60px rgba(11, 22, 48, .16);
}
.visual::before,
.visual::after { position: absolute; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; content: ""; }
.visual::before { top: -100px; right: -120px; width: 360px; height: 360px; }
.visual::after { bottom: -100px; left: -90px; width: 230px; height: 230px; }
.chip { display: inline-block; padding: 7px 12px; border: 1px solid rgba(159,195,255,.35); border-radius: 99px; color: #9fc3ff; font-size: 12px; }
.visual h2 { position: relative; margin: 28px 0 12px; color: var(--white); font-size: 30px; line-height: 1.2; }
.visual p { position: relative; color: #b9c5da; font-size: 15px; }
.codec { position: relative; display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.codec span { padding: 7px 11px; border-radius: 8px; background: rgba(255,255,255,.08); color: #dce7fb; font-size: 12px; }

#mainContents section { padding: 95px 24px; }
.section-inner { max-width: 1120px; margin: auto; }
.section-head { max-width: 700px; margin-bottom: 48px; }
.section-head .eyebrow { margin-bottom: 10px; }
:where(#mainContents) h2 { margin: 0 0 15px; color: var(--navy); font-size: 38px; line-height: 1.15; letter-spacing: -.04em; }
.section-head p { color: var(--muted); font-size: 17px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 30px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.8); }
.card .num { color: var(--blue); font-size: 13px; font-weight: 800; }
.card h3 { margin: 12px 0 9px; color: var(--navy); font-size: 21px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.about { background: #dbe5f3; }
#about { background: #e8eef7; }
#technology { background: #edf2f9; }
#contactus { background: #edf2f9; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.stat { padding: 25px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.8); }
.stat strong { display: block; color: var(--navy); font-size: 30px; letter-spacing: -.04em; }
.stat span { color: var(--muted); font-size: 13px; }
.licensing-details summary {
	display: list-item;
	margin: 12px 0 9px;
	color: var(--navy);
	font-size: 21px;
	font-weight: 700;
	list-style: disclosure-closed inside;
	cursor: pointer;
}
.licensing-details[open] summary { list-style-type: disclosure-open; }
.licensing-details summary:hover { color: var(--blue); }
.licensing-details[open] summary { margin-bottom: 18px; }
.licensing-content p { font-size: 16px; line-height: 1.85; word-break: keep-all; }
.licensing-content p + p { margin-top: 14px; }
.pool-links { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.pool-links a {
	display: block;
	padding: 10px 14px;
	border: 1px solid #b9c9df;
	border-radius: 8px;
	background: #e8eef7;
	color: var(--navy);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
}
.pool-links a:hover,
.pool-links a:focus,
.pool-links a:focus-visible,
.pool-links a:active {
	background: #dbe5f3;
	outline: none !important;
	text-decoration: none !important;
}

.contact { background: var(--navy); color: var(--white); }
#mainContents .contact h2 { color: var(--white); }
.contact p { color: #b9c5da; }
.contact .eyebrow { color: #efb7ae; }
.contact-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; margin-top: 35px; padding: 30px; border: 1px solid rgba(255,255,255,.13); border-radius: 16px; }
.contact-label { color: #8fa3c5; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.contact-value { margin-top: 4px; font-size: 18px; font-weight: 700; }
.contact-value a,
.contact-value a:hover,
.contact-value a:focus,
.contact-value a:active,
.contact-value a:visited {
	color: inherit !important;
	text-decoration: underline;
	text-underline-offset: 4px;
}
.contact-value a:focus,
.contact-value a:focus-visible,
.contact-value a:active { outline: none !important; }

/* Template footer */
#footer { padding: 25px 24px; background: #20334f; color: #8492aa; font-size: 12px; }
#footer > * { max-width: 1120px; margin-right: auto; margin-left: auto; }
#footer .footer-area { display: flex; justify-content: space-between; gap: 20px; line-height: 1.7; }
#footer p { margin: 0; color: #8492aa; }

/* Inquiry dialog */
.inquiry-dialog { width: min(980px, calc(100% - 32px)); max-height: 90vh; overflow: auto; padding: 36px; border: 1px solid var(--line); border-radius: 12px; background: #f1f3f8; color: var(--text); }
.inquiry-dialog::backdrop { background: rgba(20,35,58,.65); }
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.dialog-header h2 { margin-bottom: 36px; color: var(--blue); font-size: 36px; font-weight: 500; }
.close-dialog { padding: 0 6px; border: 0; background: transparent; color: var(--navy); font-size: 28px; cursor: pointer; }
.inquiry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.inquiry-grid input,
.inquiry-grid textarea,
.inquiry-grid select { padding: 18px; border: 1px solid #8c9db7; border-radius: 0; background: var(--white); color: var(--navy); font: inherit; font-size: 16px; }
.inquiry-grid input::placeholder,
.inquiry-grid textarea::placeholder { color: var(--navy); opacity: 1; }
.inquiry-grid textarea { grid-row: 2 / 4; grid-column: 2; min-height: 156px; resize: vertical; }
.inquiry-grid select { grid-row: 3; grid-column: 1; min-height: 60px; }
.inquiry-form .consent-row { display: flex; align-items: flex-start; gap: 14px; margin-top: 28px; color: var(--navy); font-size: 14px; font-weight: 400; }
.inquiry-form .consent-row input { flex-shrink: 0; width: 22px; height: 22px; margin: 0; accent-color: var(--navy); }
.inquiry-form button[type="submit"] { margin-top: 18px; border: 0; cursor: pointer; font: inherit; }
.form-note { margin: 12px 0 0; color: var(--muted); font-size: 14px; }

.back-to-top { display: none !important; }

@media (max-width: 850px) {
	#menuArea { display: none; }
}

@media (max-width: 800px) {
	.header-area { padding: 0 18px; }
	#L_SITE_LOGO { max-width: min(230px, 65vw); }
	#L_SITE_LOGO img { width: auto; max-width: min(230px, 65vw); }
	.hero { padding-top: 125px; }
	.hero-inner { grid-template-columns: 1fr; }
	.cards, .stats { grid-template-columns: 1fr; }
	.contact-box { display: block; }
	.contact-box > div + div { margin-top: 22px; }
}

@media (max-width: 600px) {
	#footer .footer-area { flex-direction: column; gap: 4px; }
	.inquiry-dialog { padding: 24px; }
	.inquiry-grid { grid-template-columns: 1fr; gap: 16px; }
	.inquiry-grid textarea,
	.inquiry-grid select { grid-row: auto; grid-column: auto; }
	.dialog-header h2 { margin-bottom: 22px; font-size: 30px; }
}

@media (max-width: 360px) {
	.header-area { padding: 0 16px; }
}
