/*
Theme Name: CSK Child
Description: GeneratePress child theme for the CSK.net domain sale landing page.
Template: generatepress
Version: 1.0.0
Text Domain: csk-child
*/

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url(fonts/inter-latin-wght-normal.woff2) format("woff2");
	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";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url(fonts/inter-latin-ext-wght-normal.woff2) format("woff2");
	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;
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url(fonts/inter-cyrillic-wght-normal.woff2) format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
	--csk-bg: #fcf9f5;
	--csk-ink: #0a1024;
	--csk-muted: #4b5060;
	--csk-blue: #0b57e5;
	--csk-blue-dark: #0846bd;
	--csk-blue-soft: #dfe8fb;
	--csk-line: #dcdcdf;
	--csk-card: #ffffff;
	--csk-error: #c0262d;
	--csk-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Japanese and Korean pages need their own fallback order: Chinese fonts listed
   first would draw kanji with Chinese glyph shapes. */
:root:lang(ja) {
	--csk-font: "Inter", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans JP", "Noto Sans CJK JP", "Segoe UI", Roboto, Arial, sans-serif;
}
:root:lang(ko) {
	--csk-font: "Inter", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR", "Segoe UI", Roboto, Arial, sans-serif;
}
:root:lang(ko) body { word-break: keep-all; }
:root:lang(ja) body { line-break: strict; word-break: auto-phrase; }

/* ---------- Base / GeneratePress resets ---------- */
html { scroll-behavior: smooth; }
body {
	background: var(--csk-bg);
	color: var(--csk-ink);
	font-family: var(--csk-font);
	font-size: 17px;
	line-height: 1.5;
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	margin: 0;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body .site.grid-container {
	max-width: none;
	width: 100%;
	padding: 0;
	flex: 1 0 auto;
	display: flex;
	align-items: center;
}
body .site-content { display: block; width: 100%; }
body .site-content .content-area { width: 100%; float: none; }
body .site-main { margin: 0 !important; }
body .inside-article,
body .one-container .site-content {
	padding: 0 !important;
	background: transparent !important;
}
body .entry-content { margin: 0 !important; }
body .entry-content > *:last-child { margin-bottom: 0; }
body a { color: var(--csk-blue); text-decoration: none; }
body a:hover, body a:focus { color: var(--csk-blue-dark); }

.csk-wrap {
	width: min(1408px, 100% - 2 * clamp(20px, 4.3vw, 66px));
	margin-inline: auto;
}

/* ---------- Header ---------- */
.csk-header .csk-wrap,
.csk-footer .csk-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
}
.csk-header .csk-wrap {
	padding-block: clamp(16px, 2vw, 26px);
	border-bottom: 1px solid var(--csk-line);
}
.csk-logo,
body a.csk-logo {
	font-weight: 700;
	font-size: clamp(24px, 2.6vw, 40px);
	letter-spacing: -0.03em;
	line-height: 1.1;
	color: var(--csk-ink);
}
.csk-nav {
	display: flex;
	align-items: center;
	gap: clamp(14px, 2.4vw, 36px);
}
.csk-lang { position: relative; }
.csk-lang summary {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 7px 10px;
	border-radius: 8px;
	list-style: none;
	cursor: pointer;
	color: var(--csk-ink);
	font-size: clamp(14px, 1.15vw, 17px);
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	user-select: none;
}
.csk-lang summary::-webkit-details-marker { display: none; }
.csk-lang summary::after {
	content: "";
	width: 6px;
	height: 6px;
	margin: -3px 2px 0 1px;
	border: solid currentColor;
	border-width: 0 1.8px 1.8px 0;
	transform: rotate(45deg);
	opacity: 0.65;
}
.csk-lang summary:hover,
.csk-lang[open] summary { background: rgba(10, 16, 36, 0.06); }
.csk-lang summary:focus-visible { outline: 2px solid var(--csk-blue); outline-offset: 2px; }
.csk-langs {
	position: absolute;
	top: calc(100% + 6px);
	inset-inline-end: 0;
	z-index: 20;
	min-width: 168px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: var(--csk-card);
	border: 1px solid var(--csk-line);
	border-radius: 12px;
	box-shadow: 0 14px 40px rgba(10, 16, 36, 0.14);
	font-size: 15.5px;
	font-weight: 500;
}
.csk-langs a {
	display: block;
	padding: 9px 12px;
	border-radius: 8px;
	color: var(--csk-ink);
	line-height: 1.3;
	white-space: nowrap;
}
.csk-langs a:hover,
.csk-langs a:focus { color: var(--csk-ink); background: rgba(10, 16, 36, 0.06); }
.csk-langs a[aria-current="true"] { color: var(--csk-blue); background: var(--csk-blue-soft); font-weight: 600; }
.csk-contact {
	font-weight: 700;
	font-size: clamp(14px, 1.45vw, 22px);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
}

/* ---------- Hero ---------- */
.csk-hero {
	width: min(1408px, 100% - 2 * clamp(20px, 4.3vw, 66px));
	margin-inline: auto;
	padding-block: clamp(36px, 5.2vw, 80px);
	text-align: center;
}
.csk-hero > .wp-block-group__inner-container,
.csk-features > .wp-block-group__inner-container { display: contents; }
.csk-hero > *,
.csk-hero > .wp-block-group__inner-container > * { margin-block: 0; }
.csk-hero p.csk-badge {
	display: inline-block;
	margin: 0 auto;
	padding: 0.28em 1.05em;
	border-radius: 0.4em;
	background: var(--csk-blue-soft);
	color: var(--csk-blue);
	font-weight: 600;
	font-size: clamp(14px, 1.7vw, 26px);
	letter-spacing: 0.07em;
	text-transform: uppercase;
	line-height: 1.3;
}
.csk-hero h1.csk-domain {
	margin: clamp(10px, 1.6vw, 24px) 0 0;
	font-size: clamp(64px, 12.4vw, 190px);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 1.02;
	color: var(--csk-ink);
	overflow-wrap: normal;
}
.csk-hero p.csk-tagline {
	margin: clamp(6px, 0.8vw, 12px) 0 0;
	font-size: clamp(24px, 3.5vw, 54px);
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.2;
	color: var(--csk-ink);
	text-wrap: balance;
}
.csk-hero p.csk-lead {
	margin: clamp(16px, 2.2vw, 34px) auto 0;
	max-width: 46em;
	font-size: clamp(16px, 1.95vw, 30px);
	line-height: 1.4;
	color: var(--csk-muted);
	text-wrap: balance;
}
.csk-hero .wp-block-buttons {
	margin-top: clamp(26px, 3.2vw, 50px);
	justify-content: center;
}
.csk-hero .wp-block-button.csk-cta .wp-block-button__link {
	background: var(--csk-blue);
	color: #fff;
	border-radius: 0.38em;
	padding: 0.7em 2em;
	font-size: clamp(16px, 1.9vw, 29px);
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	line-height: 1.3;
	box-shadow: 0 1px 2px rgba(11, 87, 229, 0.25);
	transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.csk-hero .wp-block-button.csk-cta .wp-block-button__link:hover,
.csk-hero .wp-block-button.csk-cta .wp-block-button__link:focus-visible {
	background: var(--csk-blue-dark);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 8px 22px rgba(11, 87, 229, 0.28);
}

/* ---------- Features ---------- */
.csk-hero .csk-features {
	display: grid;
	grid-template-columns: repeat(3, auto);
	justify-content: space-between;
	align-items: center;
	margin-top: clamp(30px, 4.2vw, 64px);
	padding-inline: clamp(0px, 3vw, 56px);
}
.csk-features p.csk-feat {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.85em;
	margin: 0;
	padding-block: 0.3em;
	font-size: clamp(16px, 1.75vw, 27px);
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.25;
	color: var(--csk-ink);
	text-align: left;
}
.csk-features p.csk-feat::before {
	content: "";
	flex: none;
	width: 1.55em;
	height: 1.55em;
	background: var(--csk-blue);
	-webkit-mask: var(--csk-icon) center / contain no-repeat;
	mask: var(--csk-icon) center / contain no-repeat;
}
.csk-feat--tag { --csk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z'/%3E%3Ccircle cx='7.5' cy='7.5' r='.9' fill='%23000'/%3E%3C/svg%3E"); }
.csk-feat--layers { --csk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z'/%3E%3Cpath d='M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12'/%3E%3Cpath d='M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17'/%3E%3C/svg%3E"); }
.csk-feat--owner { --csk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }

@media (min-width: 861px) {
	.csk-features p.csk-feat + p.csk-feat::after {
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		left: calc(-1 * clamp(14px, 4.2vw, 64px));
		width: 1px;
		background: var(--csk-line);
	}
	.csk-hero .csk-features { column-gap: clamp(28px, 8.4vw, 128px); }
}
@media (max-width: 860px) {
	.csk-hero .csk-features {
		grid-template-columns: auto;
		justify-content: center;
		row-gap: 10px;
	}
	.csk-features p.csk-feat { justify-content: flex-start; }
}

/* ---------- Footer ---------- */
body .site-footer { flex: none; background: transparent; }
.csk-footer .csk-wrap {
	flex-wrap: wrap;
	padding-block: clamp(18px, 2.2vw, 30px);
	border-top: 1px solid var(--csk-line);
}
.csk-footer .csk-logo { font-size: clamp(19px, 1.9vw, 29px); }
body .csk-footer a.csk-touch {
	color: var(--csk-muted);
	font-size: clamp(14px, 1.45vw, 22px);
}
body .csk-footer a.csk-touch:hover { color: var(--csk-blue); }

@media (max-width: 359px) {
	.csk-contact { display: none; }
}

/* ---------- Offer dialog ---------- */
.csk-dialog {
	width: min(540px, calc(100vw - 24px));
	max-height: calc(100dvh - 24px);
	padding: 0;
	border: 0;
	border-radius: 18px;
	background: var(--csk-card);
	color: var(--csk-ink);
	box-shadow: 0 30px 80px rgba(10, 16, 36, 0.28);
	overflow: auto;
	font-family: var(--csk-font);
}
.csk-dialog::backdrop {
	background: rgba(10, 16, 36, 0.5);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
}
.csk-dialog[open] { animation: csk-pop 0.18s ease-out; }
@keyframes csk-pop {
	from { opacity: 0; transform: translateY(10px) scale(0.985); }
	to { opacity: 1; transform: none; }
}
.csk-dialog__inner { padding: clamp(22px, 4vw, 34px); position: relative; }
.csk-dialog__close {
	position: absolute;
	top: 14px;
	inset-inline-end: 14px;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--csk-muted);
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}
.csk-dialog__close:hover,
.csk-dialog__close:focus { background: rgba(10, 16, 36, 0.07); color: var(--csk-ink); }
.csk-dialog h2 {
	margin: 0 44px 6px 0;
	font-size: clamp(22px, 3vw, 28px);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: var(--csk-ink);
}
.csk-dialog__intro { margin: 0 0 20px; color: var(--csk-muted); font-size: 15.5px; }
.csk-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 14px; }
.csk-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.csk-field--full { grid-column: 1 / -1; }
.csk-field label { font-size: 14px; font-weight: 600; color: var(--csk-ink); }
.csk-field label small { font-weight: 400; color: var(--csk-muted); font-size: 13px; }
.csk-form input[type="text"],
.csk-form input[type="email"],
.csk-form input[type="tel"],
.csk-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 11px 13px;
	border: 1px solid #cfd2da;
	border-radius: 9px;
	background: #fff;
	color: var(--csk-ink);
	font: inherit;
	font-size: 16px;
	line-height: 1.35;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.csk-form textarea { resize: vertical; min-height: 92px; }
.csk-form input:focus,
.csk-form textarea:focus {
	outline: none;
	border-color: var(--csk-blue);
	box-shadow: 0 0 0 3px rgba(11, 87, 229, 0.18);
}
.csk-form .csk-invalid { border-color: var(--csk-error); }
.csk-amount { position: relative; }
.csk-amount span {
	position: absolute;
	inset-inline-start: 13px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--csk-muted);
	font-weight: 600;
	pointer-events: none;
}
.csk-form .csk-amount input { padding-inline-start: 28px; }
.csk-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.csk-form__status {
	grid-column: 1 / -1;
	margin: 0;
	min-height: 1.3em;
	font-size: 14.5px;
	color: var(--csk-error);
}
.csk-form__status:empty { display: none; }
.csk-form button[type="submit"] {
	grid-column: 1 / -1;
	padding: 14px 20px;
	border: 0;
	border-radius: 10px;
	background: var(--csk-blue);
	color: #fff;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.15s ease;
}
.csk-form button[type="submit"]:hover,
.csk-form button[type="submit"]:focus-visible { background: var(--csk-blue-dark); }
.csk-form button[type="submit"][disabled] { opacity: 0.65; cursor: progress; }
.csk-form__note { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--csk-muted); text-align: center; }
.csk-success { text-align: center; padding: 18px 6px 8px; }
.csk-success__icon {
	width: 62px;
	height: 62px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: var(--csk-blue-soft);
	color: var(--csk-blue);
	display: grid;
	place-items: center;
	font-size: 30px;
	font-weight: 700;
}
.csk-success p { margin: 0 0 20px; color: var(--csk-muted); font-size: 16.5px; }
.csk-success button {
	padding: 11px 26px;
	border: 1px solid #cfd2da;
	border-radius: 10px;
	background: #fff;
	color: var(--csk-ink);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.csk-success button:hover { border-color: var(--csk-ink); background: #fff; color: var(--csk-ink); }
[hidden] { display: none !important; }
@media (max-width: 520px) {
	.csk-form { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.csk-dialog[open] { animation: none; }
	* { transition: none !important; }
}
