@charset "UTF-8";
/* ==========================================================================
   Doodly — site.css
   커머스 데이터 · AI 서비스 기업 홈페이지 디자인 시스템
   빌드 도구 없음. 이 파일 하나가 전체 스타일이다.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts
   -------------------------------------------------------------------------- */
@font-face {
	font-family: "Pretendard";
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	src: url("/assets/v2/fonts/pretendard-400.woff2") format("woff2");
}
@font-face {
	font-family: "Pretendard";
	font-weight: 600;
	font-style: normal;
	font-display: swap;
	src: url("/assets/v2/fonts/pretendard-600.woff2") format("woff2");
}
@font-face {
	font-family: "Pretendard";
	font-weight: 800;
	font-style: normal;
	font-display: swap;
	src: url("/assets/v2/fonts/pretendard-800.woff2") format("woff2");
}

/* --------------------------------------------------------------------------
   2. Design tokens
   라이트 팔레트를 :root 에 전부 정의하고, 다크는 오버라이드만 한다.
   미디어쿼리 안에서만 정의되는 색은 하나도 없어야 한다.
   -------------------------------------------------------------------------- */
:root {
	/* surfaces */
	--bg:              #ffffff;
	--bg-soft:         #f5f7fc;
	--surface:         #ffffff;
	--surface-2:       #f1f4fb;
	--border:          #e2e7f2;
	--border-strong:   #ccd4e6;

	/* text */
	--text:            #0d1322;
	--text-muted:      #57617d;
	--text-faint:      #7d87a1;

	/* brand */
	--brand:           #3b5bfd;
	--brand-hover:     #2b47dd;
	--brand-soft:      #ecefff;
	--brand-ink:       #ffffff;

	/* service accents */
	--c-helpstore:     #0d9c92;
	--c-helpstore-soft:#e2f7f4;
	--c-tenk:          #6a4ff0;
	--c-tenk-soft:     #efeaff;

	/* status badges */
	--ok:              #0d9c92;
	--ok-soft:         #e2f7f4;
	--warn:            #b26a00;
	--warn-soft:       #fdf1de;

	/* effects */
	--shadow-sm:  0 1px 2px rgba(13, 19, 34, .06), 0 1px 3px rgba(13, 19, 34, .05);
	--shadow-md:  0 4px 12px rgba(13, 19, 34, .07), 0 2px 4px rgba(13, 19, 34, .04);
	--shadow-lg:  0 18px 48px rgba(13, 19, 34, .11), 0 4px 12px rgba(13, 19, 34, .05);
	--ring:       0 0 0 3px rgba(59, 91, 253, .28);
	--glow-a:     rgba(59, 91, 253, .16);
	--glow-b:     rgba(106, 79, 240, .14);
	--glow-c:     rgba(13, 156, 146, .12);
	--header-bg:  rgba(255, 255, 255, .82);

	/* geometry */
	--radius-sm: 8px;
	--radius:    14px;
	--radius-lg: 22px;
	--radius-pill: 999px;
	--maxw:      1180px;
	--gutter:    clamp(20px, 5vw, 40px);
	--header-h:  66px;

	/* type */
	--font: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
	        "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;

	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg:              #090c15;
		--bg-soft:         #0d111d;
		--surface:         #121828;
		--surface-2:       #182034;
		--border:          #232c44;
		--border-strong:   #35405f;

		--text:            #edf1fa;
		--text-muted:      #9aa4bf;
		--text-faint:      #7b86a3;

		--brand:           #8296ff;
		--brand-hover:     #9dadff;
		--brand-soft:      #18203f;
		--brand-ink:       #080b13;

		--c-helpstore:     #2fd4c4;
		--c-helpstore-soft:#0d2b2b;
		--c-tenk:          #a893ff;
		--c-tenk-soft:     #1e1a3d;

		--ok:              #2fd4c4;
		--ok-soft:         #0d2b2b;
		--warn:            #e0a44a;
		--warn-soft:       #2c2313;

		--shadow-sm:  0 1px 2px rgba(0, 0, 0, .5);
		--shadow-md:  0 6px 16px rgba(0, 0, 0, .45);
		--shadow-lg:  0 22px 56px rgba(0, 0, 0, .55);
		--ring:       0 0 0 3px rgba(130, 150, 255, .34);
		--glow-a:     rgba(90, 116, 255, .22);
		--glow-b:     rgba(140, 110, 255, .18);
		--glow-c:     rgba(47, 212, 196, .13);
		--header-bg:  rgba(9, 12, 21, .78);

		color-scheme: dark;
	}
}

:root[data-theme="dark"] {
	--bg:              #090c15;
	--bg-soft:         #0d111d;
	--surface:         #121828;
	--surface-2:       #182034;
	--border:          #232c44;
	--border-strong:   #35405f;

	--text:            #edf1fa;
	--text-muted:      #9aa4bf;
	--text-faint:      #7b86a3;

	--brand:           #8296ff;
	--brand-hover:     #9dadff;
	--brand-soft:      #18203f;
	--brand-ink:       #080b13;

	--c-helpstore:     #2fd4c4;
	--c-helpstore-soft:#0d2b2b;
	--c-tenk:          #a893ff;
	--c-tenk-soft:     #1e1a3d;

	--ok:              #2fd4c4;
	--ok-soft:         #0d2b2b;
	--warn:            #e0a44a;
	--warn-soft:       #2c2313;

	--shadow-sm:  0 1px 2px rgba(0, 0, 0, .5);
	--shadow-md:  0 6px 16px rgba(0, 0, 0, .45);
	--shadow-lg:  0 22px 56px rgba(0, 0, 0, .55);
	--ring:       0 0 0 3px rgba(130, 150, 255, .34);
	--glow-a:     rgba(90, 116, 255, .22);
	--glow-b:     rgba(140, 110, 255, .18);
	--glow-c:     rgba(47, 212, 196, .13);
	--header-bg:  rgba(9, 12, 21, .78);

	color-scheme: dark;
}

/* --------------------------------------------------------------------------
   3. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.7;
	letter-spacing: -.011em;
	word-break: keep-all;
	overflow-wrap: anywhere;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
	margin: 0;
	font-weight: 800;
	line-height: 1.28;
	letter-spacing: -.028em;
}
p  { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a {
	color: inherit;
	text-decoration: none;
	transition: color .18s ease;
}
a:hover { color: var(--brand); }

img, svg { max-width: 100%; height: auto; display: block; }

button {
	font: inherit;
	color: inherit;
	border: 0;
	background: none;
	cursor: pointer;
}

:where(a, button, [tabindex]):focus-visible {
	outline: none;
	box-shadow: var(--ring);
	border-radius: var(--radius-sm);
}

hr {
	height: 1px;
	margin: 0;
	border: 0;
	background: var(--border);
}

::selection { background: var(--brand); color: var(--brand-ink); }

.skip-link {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 200;
	padding: 10px 18px;
	border-radius: var(--radius-sm);
	background: var(--brand);
	color: var(--brand-ink);
	font-weight: 600;
	transition: top .18s ease;
}
.skip-link:focus { top: 12px; color: var(--brand-ink); }

.visually-hidden {
	position: absolute;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.section {
	padding-block: clamp(64px, 9vw, 112px);
}
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: clamp(48px, 6vw, 76px); }

.section-head {
	max-width: 720px;
	margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head--center {
	margin-inline: auto;
	text-align: center;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	color: var(--brand);
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.eyebrow::before {
	content: "";
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}
.section-head--center .eyebrow::before { display: none; }
/* 제목 없이 eyebrow 만 있는 섹션은 아래 여백이 겹치지 않게 한다. */
.section-head > .eyebrow:only-child { margin-bottom: 0; }

.section-title {
	font-size: clamp(1.75rem, 3.4vw, 2.5rem);
}
.section-lead {
	margin-top: 16px;
	color: var(--text-muted);
	font-size: clamp(1rem, 1.5vw, 1.0625rem);
}

.grid { display: grid; gap: clamp(16px, 2.2vw, 24px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 900px) {
	.grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   5. Buttons & pills
   -------------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 24px;
	border: 1px solid transparent;
	border-radius: var(--radius-pill);
	font-size: .9688rem;
	font-weight: 600;
	white-space: nowrap;
	transition: background-color .18s ease, border-color .18s ease,
	            color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 17px; height: 17px; flex: none; }

.btn--primary {
	background: var(--brand);
	color: var(--brand-ink);
	box-shadow: var(--shadow-md);
}
.btn--primary:hover { background: var(--brand-hover); color: var(--brand-ink); }

.btn--ghost {
	border-color: var(--border-strong);
	background: var(--surface);
	color: var(--text);
}
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn--plain {
	padding-inline: 4px;
	color: var(--brand);
	font-weight: 600;
}
.btn--plain:hover { gap: 12px; }

.btn--lg { padding: 16px 30px; font-size: 1.0313rem; }
.btn--sm { padding: 9px 16px; font-size: .875rem; }

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 13px;
	border-radius: var(--radius-pill);
	background: var(--surface-2);
	color: var(--text-muted);
	font-size: .8125rem;
	font-weight: 600;
	line-height: 1.6;
}
.pill--ok   { background: var(--ok-soft);   color: var(--ok); }
.pill--warn { background: var(--warn-soft); color: var(--warn); }
.pill--brand{ background: var(--brand-soft);color: var(--brand); }

.pill-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

/* --------------------------------------------------------------------------
   6. Cards
   -------------------------------------------------------------------------- */
.card {
	display: flex;
	flex-direction: column;
	padding: clamp(22px, 2.6vw, 30px);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--surface);
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.card--hover:hover {
	transform: translateY(-3px);
	border-color: var(--border-strong);
	box-shadow: var(--shadow-lg);
}

.card__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-bottom: 18px;
	border-radius: 12px;
	background: var(--brand-soft);
	color: var(--brand);
}
.card__icon .ico { width: 22px; height: 22px; }

.card__title {
	font-size: 1.125rem;
	font-weight: 700;
}
.card__text {
	margin-top: 10px;
	color: var(--text-muted);
	font-size: .9375rem;
}

/* --------------------------------------------------------------------------
   7. Header
   -------------------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--header-bg);
	border-bottom: 1px solid transparent;
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck {
	border-bottom-color: var(--border);
	box-shadow: var(--shadow-sm);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 18px;
	height: var(--header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	flex: none;
	font-size: 1.1875rem;
	font-weight: 800;
	letter-spacing: -.03em;
}
.brand:hover { color: var(--text); }
.brand__mark { width: 28px; height: 28px; flex: none; }

.nav {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-left: auto;
}
/* :not(.btn) — 드로어 안의 CTA 버튼이 이 규칙에 덮이면 대비가 무너진다. */
.nav a:not(.btn) {
	padding: 8px 14px;
	border-radius: var(--radius-pill);
	color: var(--text-muted);
	font-size: .9375rem;
	font-weight: 600;
	transition: background-color .18s ease, color .18s ease;
}
.nav a:not(.btn):hover { background: var(--surface-2); color: var(--text); }
/* 내비 안의 CTA 는 모바일 드로어 전용 */
.nav > .btn { display: none; }

.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: none;
}

.theme-toggle {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--border);
	border-radius: var(--radius-pill);
	background: var(--surface);
	color: var(--text-muted);
	transition: border-color .18s ease, color .18s ease;
}
.theme-toggle:hover { border-color: var(--border-strong); color: var(--text); }
.theme-toggle .ico { width: 18px; height: 18px; }
.theme-toggle .ico--moon { display: none; }
:root[data-theme="dark"] .theme-toggle .ico--sun { display: none; }
:root[data-theme="dark"] .theme-toggle .ico--moon { display: block; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .theme-toggle .ico--sun { display: none; }
	:root:not([data-theme="light"]) .theme-toggle .ico--moon { display: block; }
}

.nav-toggle {
	display: none;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--border);
	border-radius: var(--radius-pill);
	color: var(--text);
}
.nav-toggle .ico { width: 20px; height: 20px; }
.nav-toggle .ico--close { display: none; }
body.nav-open .nav-toggle .ico--menu { display: none; }
body.nav-open .nav-toggle .ico--close { display: block; }

@media (max-width: 900px) {
	.nav-toggle { display: grid; }
	.header-actions .btn { display: none; }

	.nav {
		position: fixed;
		inset: var(--header-h) 0 auto 0;
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		margin: 0;
		padding: 14px var(--gutter) 26px;
		border-bottom: 1px solid var(--border);
		background: var(--bg);
		box-shadow: var(--shadow-lg);
		transform: translateY(-8px);
		opacity: 0;
		visibility: hidden;
		transition: opacity .2s ease, transform .2s ease, visibility .2s;
	}
	body.nav-open .nav {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
	}
	.nav a {
		padding: 13px 12px;
		border-radius: var(--radius);
		font-size: 1rem;
	}
	.nav > .btn {
		display: inline-flex;
		margin-top: 12px;
		justify-content: center;
	}
	body.nav-open { overflow: hidden; }
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(72px, 11vw, 132px) clamp(56px, 8vw, 96px);
}
.hero::before,
.hero::after {
	content: "";
	position: absolute;
	z-index: 0;
	border-radius: 50%;
	filter: blur(90px);
	pointer-events: none;
}
.hero::before {
	top: -220px; left: -140px;
	width: 620px; height: 620px;
	background: var(--glow-a);
}
.hero::after {
	top: -180px; right: -180px;
	width: 560px; height: 560px;
	background: var(--glow-b);
}
.hero > .container { position: relative; z-index: 1; }

.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 6px 16px 6px 8px;
	margin-bottom: 24px;
	border: 1px solid var(--border);
	border-radius: var(--radius-pill);
	background: var(--surface);
	color: var(--text-muted);
	font-size: .875rem;
	font-weight: 600;
	box-shadow: var(--shadow-sm);
}
.hero__badge b {
	padding: 3px 10px;
	border-radius: var(--radius-pill);
	background: var(--brand-soft);
	color: var(--brand);
	font-size: .8125rem;
	font-weight: 700;
}

.hero__title {
	max-width: 17ch;
	font-size: clamp(2.125rem, 5.6vw, 3.875rem);
	line-height: 1.22;
	letter-spacing: -.035em;
}
.hero__title .grad {
	background: linear-gradient(100deg, var(--brand) 0%, var(--c-tenk) 52%, var(--c-helpstore) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero__lead {
	max-width: 54ch;
	margin-top: 22px;
	color: var(--text-muted);
	font-size: clamp(1.0313rem, 1.9vw, 1.1875rem);
}

.hero__actions { margin-top: 34px; }

.hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
	margin-top: 40px;
	padding-top: 26px;
	border-top: 1px solid var(--border);
	color: var(--text-faint);
	font-size: .875rem;
}
.hero__meta span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}
.hero__meta .ico { width: 15px; height: 15px; color: var(--brand); }

/* --------------------------------------------------------------------------
   9. Service — 2 axis cards
   -------------------------------------------------------------------------- */
.axis-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(18px, 2.4vw, 26px);
}
@media (max-width: 860px) { .axis-grid { grid-template-columns: minmax(0, 1fr); } }

.axis {
	position: relative;
	overflow: hidden;
	padding: clamp(26px, 3.2vw, 38px);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--surface);
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.axis:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-lg);
}
.axis::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 3px;
	background: var(--axis-color, var(--brand));
}
.axis--helpstore { --axis-color: var(--c-helpstore); --axis-soft: var(--c-helpstore-soft); }
.axis--tenk      { --axis-color: var(--c-tenk);      --axis-soft: var(--c-tenk-soft); }
.axis:hover { border-color: var(--axis-color); }

.axis__head {
	display: flex;
	align-items: center;
	gap: 13px;
	margin-bottom: 6px;
}
.axis__logo {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	flex: none;
	border-radius: 13px;
	background: var(--axis-soft);
	color: var(--axis-color);
}
.axis__logo .ico { width: 24px; height: 24px; }
.axis__name {
	font-size: 1.4375rem;
	letter-spacing: -.03em;
}
.axis__role {
	display: block;
	margin-top: 1px;
	color: var(--axis-color);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .03em;
}
.axis__desc {
	margin-top: 14px;
	color: var(--text-muted);
	font-size: .9688rem;
}
.axis__list {
	display: grid;
	gap: 9px;
	margin-top: 22px;
	padding-top: 22px;
	border-top: 1px solid var(--border);
}
.axis__list li {
	display: grid;
	grid-template-columns: 18px 1fr;
	gap: 10px;
	align-items: start;
	font-size: .9375rem;
}
.axis__list .ico {
	width: 18px;
	height: 18px;
	margin-top: 5px;
	color: var(--axis-color);
}
/* margin-top:auto — 두 카드의 버튼 줄을 아래에 붙여 높이가 달라도 맞춘다. */
.axis {
	display: flex;
	flex-direction: column;
}
.axis__foot { margin-top: auto; padding-top: 26px; }
.axis__foot .btn--primary {
	background: var(--axis-color);
	color: #fff;
}
:root[data-theme="dark"] .axis__foot .btn--primary { color: #080b13; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .axis__foot .btn--primary { color: #080b13; }
}
.axis__foot .btn--primary:hover { filter: brightness(1.08); }

/* --------------------------------------------------------------------------
   10. Detail block (feature split)
   -------------------------------------------------------------------------- */
.split {
	display: grid;
	grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
	gap: clamp(32px, 5vw, 64px);
	align-items: start;
}
.split--rev > .split__aside { order: 2; }
@media (max-width: 900px) {
	.split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.split--rev > .split__aside { order: 0; }
}

.split__aside { position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 900px) { .split__aside { position: static; } }

.feature-list { display: grid; gap: 14px; }
.feature {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 16px;
	padding: 20px 22px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--surface);
	transition: border-color .2s ease, background-color .2s ease;
}
.feature:hover { border-color: var(--border-strong); background: var(--surface); }
.feature__icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: var(--accent-soft, var(--brand-soft));
	color: var(--accent-color, var(--brand));
}
.feature__icon .ico { width: 21px; height: 21px; }
.feature__title { font-size: 1.0313rem; font-weight: 700; }
.feature__text {
	margin-top: 5px;
	color: var(--text-muted);
	font-size: .9375rem;
}
.tone-helpstore { --accent-color: var(--c-helpstore); --accent-soft: var(--c-helpstore-soft); }
.tone-tenk      { --accent-color: var(--c-tenk);      --accent-soft: var(--c-tenk-soft); }

.tone-helpstore .eyebrow,
.tone-tenk .eyebrow { color: var(--accent-color); }

/* 각 서비스 섹션의 주 버튼은 그 서비스 색을 쓴다. */
.tone-helpstore .btn--primary,
.tone-tenk .btn--primary {
	background: var(--accent-color);
	color: #fff;
}
:root[data-theme="dark"] .tone-helpstore .btn--primary,
:root[data-theme="dark"] .tone-tenk .btn--primary { color: #080b13; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .tone-helpstore .btn--primary,
	:root:not([data-theme="light"]) .tone-tenk .btn--primary { color: #080b13; }
}
.tone-helpstore .btn--primary:hover,
.tone-tenk .btn--primary:hover { filter: brightness(1.08); }

/* 태그 목록 (V-Market 상품 등) */
.tag-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
	gap: 10px;
	margin-top: 26px;
}
.tag-grid li {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 12px 15px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--surface);
	font-size: .9063rem;
	font-weight: 600;
}
.tag-grid .ico { width: 16px; height: 16px; flex: none; color: var(--accent-color, var(--brand)); }

/* --------------------------------------------------------------------------
   11. AI section
   -------------------------------------------------------------------------- */
.ai {
	position: relative;
	overflow: hidden;
	background: var(--bg-soft);
}
.ai::before {
	content: "";
	position: absolute;
	left: 50%;
	top: -260px;
	width: 900px;
	height: 560px;
	transform: translateX(-50%);
	border-radius: 50%;
	background: var(--glow-b);
	filter: blur(110px);
	pointer-events: none;
}
.ai > .container { position: relative; z-index: 1; }

.ai-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(14px, 1.8vw, 20px);
}
@media (max-width: 900px) { .ai-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ai-grid { grid-template-columns: minmax(0, 1fr); } }

.ai-tile {
	padding: clamp(22px, 2.6vw, 30px);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--surface);
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.ai-tile:hover {
	transform: translateY(-3px);
	border-color: var(--brand);
	box-shadow: var(--shadow-lg);
}
.ai-tile__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin-bottom: 18px;
	border-radius: 13px;
	background: var(--brand-soft);
	color: var(--brand);
}
.ai-tile__icon .ico { width: 23px; height: 23px; }
.ai-tile__title {
	font-size: 1.0938rem;
	font-weight: 700;
}
.ai-tile__text {
	margin-top: 7px;
	color: var(--text-muted);
	font-size: .9063rem;
}

.ai-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px 28px;
	margin-top: clamp(24px, 3vw, 34px);
	padding: clamp(20px, 2.4vw, 26px) clamp(22px, 2.6vw, 30px);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--surface);
}
.ai-foot p {
	max-width: 62ch;
	color: var(--text-muted);
	font-size: .9375rem;
}
.ai-foot .pill { margin-right: 8px; vertical-align: 2px; }
.ai-foot b { color: var(--text); font-weight: 700; }

.note {
	margin-top: 28px;
	padding: 16px 20px;
	border: 1px dashed var(--border-strong);
	border-radius: var(--radius);
	color: var(--text-faint);
	font-size: .875rem;
}

/* 제휴처 */
.partner-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 12px;
	margin-top: 22px;
}
.partner {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 18px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--surface);
}
.partner--lead { border-color: var(--c-tenk); }
.partner__icon {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	flex: none;
	border-radius: 10px;
	background: var(--c-tenk-soft);
	color: var(--c-tenk);
}
.partner__icon .ico { width: 18px; height: 18px; }
.partner__name { font-size: .9375rem; font-weight: 700; }
.partner__role {
	display: block;
	margin-top: 1px;
	color: var(--text-faint);
	font-size: .8125rem;
	font-weight: 400;
}

/* --------------------------------------------------------------------------
   12. Contact — 연락처 카드
   -------------------------------------------------------------------------- */
.contact-item { text-align: left; }
a.contact-item:hover { color: inherit; }
a.contact-item:hover .contact-item__value { color: var(--brand); }

.contact-item__value {
	margin-top: 10px;
	color: var(--text);
	font-size: 1.0625rem;
	font-weight: 700;
	overflow-wrap: anywhere;
	transition: color .18s ease;
}
.contact-item__sub {
	margin-top: 7px;
	color: var(--text-faint);
	font-size: .875rem;
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer {
	border-top: 1px solid var(--border);
	background: var(--bg-soft);
	font-size: .9063rem;
}
.site-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
	gap: clamp(28px, 4vw, 48px);
	padding-block: clamp(44px, 6vw, 64px);
}
@media (max-width: 780px) {
	.site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__brand { grid-column: 1 / -1; }
}

.site-footer__brand .brand { margin-bottom: 14px; }
.site-footer__tagline {
	max-width: 34ch;
	color: var(--text-muted);
}
.site-footer h4 {
	margin-bottom: 14px;
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--text-faint);
}
.site-footer ul { display: grid; gap: 10px; }
.site-footer ul a { color: var(--text-muted); }
.site-footer ul a:hover { color: var(--brand); }

.site-footer__legal {
	padding-block: 22px 30px;
	border-top: 1px solid var(--border);
	color: var(--text-faint);
	font-size: .8125rem;
	line-height: 1.9;
}
.site-footer__legal .biz {
	display: flex;
	flex-wrap: wrap;
	gap: 3px 14px;
}
.site-footer__legal .copy { margin-top: 10px; }

/* --------------------------------------------------------------------------
   14. 개발 역량 · 포트폴리오
   -------------------------------------------------------------------------- */
.portfolio-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(266px, 1fr));
	gap: clamp(14px, 1.8vw, 20px);
	margin-top: clamp(26px, 3.2vw, 38px);
}

.pf {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--surface);
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.pf:hover {
	transform: translateY(-3px);
	border-color: var(--border-strong);
	box-shadow: var(--shadow-md);
}
.pf__thumb {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--surface-2);
	border-bottom: 1px solid var(--border);
}
.pf__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}
.pf__body { padding: 15px 17px 17px; }
.pf__title {
	font-size: .9375rem;
	font-weight: 700;
	line-height: 1.45;
}
.pf__client {
	margin-top: 6px;
	color: var(--text-faint);
	font-size: .8125rem;
}

/* 처음에는 8건만 보이고 버튼으로 전체를 편다. */
.portfolio-grid[data-collapsed="true"] > .pf:nth-child(n + 9) { display: none; }
.pf-more { margin-top: 24px; text-align: center; }

/* --------------------------------------------------------------------------
   15. Motion
   -------------------------------------------------------------------------- */
.reveal {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity .55s cubic-bezier(.22, 1, .36, 1),
	            transform .55s cubic-bezier(.22, 1, .36, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
	}
	.reveal { opacity: 1; transform: none; }
	.btn:hover { transform: none; }
	.card--hover:hover, .axis:hover { transform: none; }
}

