/* 후원하기 (2026-10-30) — 접두어 dn-, 밝은 바탕 · 분홍 강조(감사 그림의 하트 색). 한 화면짜리 단순한 틀 */
:root {
	--bg: #faf6f7;
	--card: #fff;
	--line: #ece3e6;
	--text: #1d1b1e;
	--sub: #67616a;
	--faint: #9d97a0;
	--pri: #d6336c;
	--pri-dk: #b0255a;
	--pri-bg: #fce8ef;
	--wrap: 1080px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.dn {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 16px/1.65 "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
	overflow-wrap: anywhere;
	word-break: keep-all;
}
img, svg { display: block; }
a { color: var(--pri); }
h1, h2, p { margin: 0; }

.dn-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.dn-narrow { max-width: 820px; }
.dn-ic { width: 22px; height: 22px; }
.dn-small { font-size: 13px; color: var(--sub); }

/* ---------- 상단 ---------- */
.dn-top { border-bottom: 1px solid var(--line); background: rgba(250, 246, 247, .9); }
.dn-top__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 60px; }
.dn-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); text-decoration: none; }
.dn-brand__icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--pri); color: #fff; }
.dn-brand__icon .dn-ic { width: 17px; height: 17px; }
.dn-top__home { color: var(--sub); text-decoration: none; font-size: 14px; padding: 6px 10px; border-radius: 8px; }
.dn-top__home:hover { color: var(--text); background: var(--pri-bg); }

/* ---------- 첫 화면 ---------- */
.dn-hero { padding: 48px 0 28px; text-align: center; background: radial-gradient(60% 70% at 50% 0%, rgba(214, 51, 108, .09), transparent 70%); }
.dn-hero__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--pri-bg); color: var(--pri); margin-bottom: 16px; }
.dn-hero__icon .dn-ic { width: 28px; height: 28px; }
.dn-hero__title { font-size: clamp(28px, 5vw, 42px); line-height: 1.25; letter-spacing: -.02em; font-weight: 800; }
.dn-hero__title em { font-style: normal; color: var(--pri); }
.dn-hero__lead { margin-top: 14px; color: var(--sub); font-size: clamp(15px, 2vw, 17px); }

/* ---------- 양식 · 감사 카드 ---------- */
.dn-body { padding: 8px 0 72px; }
.dn-body--thanks { padding-top: 48px; }
.dn-card { display: grid; grid-template-columns: 1fr 1fr; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 10px 30px rgba(60, 20, 35, .06); overflow: hidden; }
.dn-card__img { width: 100%; height: 100%; object-fit: cover; }
.dn-form { padding: 28px 28px 24px; display: flex; flex-direction: column; gap: 16px; }
.dn-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.dn-field small { font-weight: 400; color: var(--faint); }
.dn-field input, .dn-field textarea { font: inherit; font-size: 16px; font-weight: 400; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; width: 100%; }
.dn-field textarea { resize: vertical; min-height: 90px; }
.dn-field input:focus, .dn-field textarea:focus { outline: 2px solid var(--pri); outline-offset: -1px; border-color: transparent; }
.dn-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dn-chips button { font: inherit; font-size: 13px; font-weight: 600; color: var(--sub); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; cursor: pointer; }
.dn-chips button:hover { color: var(--pri-dk); border-color: var(--pri); }
.dn-chips button.is-on { color: #fff; background: var(--pri); border-color: var(--pri); }
.dn-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; font: inherit; font-weight: 700; font-size: 16px; color: #fff; background: var(--pri); border: 0; border-radius: 12px; padding: 13px 18px; cursor: pointer; }
.dn-btn:hover { background: var(--pri-dk); }
.dn-btn .dn-ic { width: 19px; height: 19px; }
.dn-note { font-size: 13px; color: var(--faint); text-align: center; }

.dn-thanks { grid-template-columns: 1fr; text-align: center; padding: 32px 24px 36px; }
.dn-thanks img { width: 100%; max-width: 440px; height: auto; margin: 0 auto; }
.dn-thanks h2 { font-size: 24px; margin: 20px 0 10px; }
.dn-thanks p { color: var(--sub); }
.dn-thanks .dn-sign { margin-top: 18px; color: var(--text); font-weight: 600; }

/* ---------- 바닥 ---------- */
.dn-foot { border-top: 1px solid var(--line); padding: 28px 0 36px; }
.dn-foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.dn-foot .dn-small a { color: inherit; }
.dn-foot__links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.dn-foot__links a { color: var(--sub); text-decoration: none; }
.dn-foot__links a:hover { color: var(--text); }
.dn-x svg { width: 16px; height: 16px; }

@media (max-width: 720px) {
	.dn-card { grid-template-columns: 1fr; }
	.dn-card__img { height: auto; aspect-ratio: 481 / 240; }
	.dn-form { padding: 22px 18px 20px; }
	.dn-hero { padding: 32px 0 20px; }
}

/* ---------- 감사 화면 아래 프로그램 아이콘 — 아이폰 홈 화면처럼 흰 둥근 사각 타일 + 아래 이름 ---------- */
.dn-apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 22px 8px; margin: 44px 0 0; padding: 0; list-style: none; }
.dn-apps a { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-size: 13px; text-align: center; -webkit-tap-highlight-color: transparent; }
.dn-apps__tile { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 22.5%; background: linear-gradient(180deg, #fff, #f6f3f5); box-shadow: 0 1px 2px rgba(40, 20, 30, .08), 0 6px 16px rgba(40, 20, 30, .10), inset 0 0 0 .5px rgba(0, 0, 0, .06); transition: transform .18s cubic-bezier(.3, .7, .4, 1.4), box-shadow .18s; }
.dn-apps__tile img { width: 44px; height: 44px; object-fit: contain; }
.dn-apps a:hover .dn-apps__tile { transform: translateY(-3px) scale(1.06); box-shadow: 0 2px 4px rgba(40, 20, 30, .08), 0 12px 24px rgba(40, 20, 30, .14), inset 0 0 0 .5px rgba(0, 0, 0, .06); }
.dn-apps a:active .dn-apps__tile { transform: scale(.92); transition-duration: .08s; }
@media (max-width: 560px) {
	.dn-apps { grid-template-columns: repeat(4, 1fr); gap: 18px 4px; }
	.dn-apps a { font-size: 12px; }
	.dn-apps__tile { width: 58px; height: 58px; }
	.dn-apps__tile img { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
	.dn-apps__tile { transition: none; }
}
