.dht-home { overflow-x: clip; }
.dht-home h1, .dht-home h2, .dht-home h3 { margin-top: 0; }

.dht-hero {
  position: relative; color: #dbe4ff; padding: calc(var(--dht-header-h) + 76px) 0 88px; margin-top: calc(var(--dht-header-h) * -1 - 24px);
  background:
    radial-gradient(700px 420px at 85% 20%, rgba(239,51,64,.28), transparent 60%),
    radial-gradient(900px 500px at 10% 0%, rgba(37,99,235,.55), transparent 60%),
    linear-gradient(160deg, #0b1f4d 0%, #10306f 55%, #0b1f4d 100%);
}
.dht-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%); mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.dht-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.dht-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); font-size: 13.5px; font-weight: 600; color: #e0e7ff; }
.dht-eyebrow span { font-family: var(--dht-font-ko); color: #fff; }
.dht-hero h1 { color: #fff !important; font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.8rem); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; margin-bottom: 18px; }
.dht-hero h1 span { display: block; background: linear-gradient(90deg, #93c5fd, #fda4af); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dht-hero-sub { font-size: 18px; line-height: 1.7; color: #c7d2fe; max-width: 560px; margin: 0 0 26px; }
.dht-hero-search { max-width: 600px; margin-bottom: 22px; }
.dht-hero-search .dhtd-box { border-color: transparent; box-shadow: 0 24px 60px -24px rgba(0,0,0,.6); }
.dht-hero-try { margin: 12px 0 0 6px; font-size: 14px; color: #a5b4fc; }
.dht-hero-try a { color: #fff; text-decoration: none; margin-left: 8px; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.1); font-weight: 500; }
.dht-hero-try a:hover { background: rgba(255,255,255,.2); }
.dht-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.dht-hero-art { position: relative; min-height: 380px; display: grid; place-items: center; }
.dht-hero-hangul { position: absolute; z-index: 0; right: -20px; top: 50%; transform: translateY(-50%); font-family: var(--dht-font-ko); font-weight: 700; font-size: 340px; line-height: 1; color: rgba(255,255,255,.06); user-select: none; }
.dht-wordcard { position: relative; z-index: 2; width: min(360px, 100%); background: #fff; color: var(--dht-ink); border-radius: 26px; padding: 26px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); transform: rotate(-2deg); }
.dht-wordcard-top { display: flex; gap: 8px; margin-bottom: 18px; }
.dht-chip-sm { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--dht-blue-50); color: var(--dht-blue-700); }
.dht-chip-green { background: #ecfdf5; color: #047857; }
.dht-wordcard-ko { font-family: var(--dht-font-ko); font-size: 40px; font-weight: 700; color: var(--dht-blue-900); margin: 0; line-height: 1.2; }
.dht-wordcard-roma { margin: 4px 0 8px; color: var(--dht-muted); font-style: italic; }
.dht-wordcard-vi { font-size: 18px; font-weight: 600; margin: 0 0 18px; }
.dht-wordcard-actions { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px dashed var(--dht-line-2); font-size: 13.5px; color: var(--dht-muted); }
.dht-floating { position: absolute; z-index: 3; display: flex; flex-direction: column; gap: 2px; background: rgba(255,255,255,.95); color: var(--dht-ink); padding: 10px 16px; border-radius: 16px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); animation: dht-float 6s ease-in-out infinite; }
.dht-floating span { font-family: var(--dht-font-ko); font-weight: 700; color: var(--dht-blue-900); }
.dht-floating small { color: var(--dht-muted); font-size: 12px; }
.dht-floating-1 { left: -2%; top: 2%; }
.dht-floating-2 { right: -2%; bottom: 2%; animation-delay: -3s; }
.dht-floating-2 span { color: var(--dht-red); }
@keyframes dht-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.dht-stats { position: relative; z-index: 2; margin-top: -44px; }
.dht-stats-grid.dht-container { max-width: var(--dht-wrap); width: calc(100% - var(--dht-gutter) * 2); padding: 0; }
.dht-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border-radius: 22px; box-shadow: 0 24px 60px -30px rgba(11,31,77,.5), 0 0 0 1px var(--dht-line); overflow: hidden; }
.dht-stats-grid div { padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--dht-line); }
.dht-stats-grid div:last-child { border-right: 0; }
.dht-stats-grid strong { font-size: 20px; font-weight: 800; color: var(--dht-blue-900); }
.dht-stats-grid span { color: var(--dht-muted); font-size: 14px; }

.dht-section { padding: 80px 0; }
.dht-section-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.dht-section-head h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); font-weight: 800; line-height: 1.15; margin-bottom: 12px; }
.dht-section-head p { color: var(--dht-muted); font-size: 17px; margin: 0; }
.dht-section-head .dht-kicker { margin-bottom: 10px; }
.dht-kicker { display: inline-block; font-size: 13px !important; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--dht-red) !important; }
.dht-section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; text-align: left; }
.dht-section-head-light h2 { color: #fff !important; }

.dht-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dht-topic { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--dht-line); text-decoration: none !important; color: var(--dht-text); transition: transform .22s var(--dht-ease), box-shadow .22s var(--dht-ease), border-color .22s; }
.dht-topic:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(11,31,77,.5); border-color: transparent; }
.dht-topic-ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--dht-blue-50); color: var(--dht-blue-700); margin-bottom: 8px; transition: background .2s, color .2s; }
.dht-topic:hover .dht-topic-ico { background: var(--dht-blue-700); color: #fff; }
.dht-topic-title { font-size: 19px; font-weight: 800; color: var(--dht-ink); }
.dht-topic-desc { color: var(--dht-muted); font-size: 15px; line-height: 1.6; flex: 1 1 auto; }
.dht-topic-more { font-weight: 700; color: var(--dht-blue-700); font-size: 14px; margin-top: 6px; }

.dht-roadmap-wrap { background: linear-gradient(160deg, #0b1f4d, #10306f); }
.dht-roadmap { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: none; }
.dht-roadmap li { position: relative; margin: 0; padding: 26px 22px; border-radius: 22px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); color: #c7d2fe; }
.dht-roadmap li:not(:last-child)::after { content: ""; position: absolute; top: 44px; right: -14px; width: 10px; height: 10px; border-top: 2px solid rgba(255,255,255,.35); border-right: 2px solid rgba(255,255,255,.35); transform: rotate(45deg); }
.dht-step { display: inline-block; font-size: 13px; font-weight: 800; color: #fda4af; letter-spacing: .1em; margin-bottom: 12px; }
.dht-roadmap strong { display: block; color: #fff; font-size: 18px; margin-bottom: 8px; }
.dht-roadmap p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.6; }
.dht-roadmap em { font-style: normal; font-size: 13px; font-weight: 700; color: #93c5fd; }

.dht-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.dht-post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--dht-line); border-radius: 22px; overflow: hidden; transition: transform .22s var(--dht-ease), box-shadow .22s var(--dht-ease); }
.dht-post:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(11,31,77,.5); }
.dht-post-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--dht-blue-50); }
.dht-post-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--dht-ease); }
.dht-post:hover .dht-post-img img { transform: scale(1.05); }
.dht-post-ph { display: grid; place-items: center; height: 100%; font-family: var(--dht-font-ko); font-size: 34px; font-weight: 700; color: var(--dht-blue-700); }
.dht-post-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; }
.dht-post-cat { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--dht-blue-700); background: var(--dht-blue-50); padding: 4px 10px; border-radius: 999px; text-decoration: none; }
.dht-post h3 { font-size: 18px; line-height: 1.4; font-weight: 700; margin: 0; }
.dht-post h3 a { color: var(--dht-ink); text-decoration: none; }
.dht-post h3 a:hover { color: var(--dht-blue-700); }
.dht-post p { color: var(--dht-muted); font-size: 14.5px; line-height: 1.6; margin: 0; flex: 1 1 auto; }
.dht-post-date { font-size: 13px; color: var(--dht-muted); }

.dht-tutor { background: var(--dht-bg); }
.dht-tutor-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.dht-tutor-copy h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.4rem); font-weight: 800; line-height: 1.15; margin: 10px 0 14px; }
.dht-tutor-copy > p { color: var(--dht-muted); font-size: 17px; line-height: 1.7; }
.dht-checks { list-style: none; margin: 18px 0 26px; padding: 0; }
.dht-checks li { position: relative; padding-left: 32px; margin-bottom: 12px; font-weight: 500; }
.dht-checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #dcfce7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.dht-how { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.dht-how li { display: flex; gap: 16px; align-items: flex-start; margin: 0; background: #fff; border: 1px solid var(--dht-line); border-radius: 20px; padding: 20px; box-shadow: 0 18px 40px -30px rgba(11,31,77,.5); }
.dht-how li > span { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--dht-blue-900); color: #fff; font-weight: 800; }
.dht-how strong { display: block; font-size: 17px; color: var(--dht-ink); margin-bottom: 2px; }
.dht-how p { margin: 0; color: var(--dht-muted); }
.dht-tutor .dhgs-tutor { grid-template-columns: 72px minmax(0, 1fr); }
.dht-tutor .dhgs-tutor-ava { width: 72px; height: 72px; }
.dht-tutor .dhgs-tutor-side { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; text-align: left; }

.dht-faq-wrap { max-width: 860px; }
.dht-faq details { background: #fff; border: 1px solid var(--dht-line); border-radius: 18px; margin-bottom: 12px; transition: box-shadow .2s; }
.dht-faq details[open] { box-shadow: 0 18px 40px -30px rgba(11,31,77,.5); }
.dht-faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; font-weight: 700; font-size: 17px; color: var(--dht-ink); position: relative; }
.dht-faq summary::-webkit-details-marker { display: none; }
.dht-faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--dht-blue-50); color: var(--dht-blue-700); font-weight: 700; transition: transform .2s; }
.dht-faq details[open] summary::after { content: "–"; }
.dht-faq details p { margin: 0; padding: 0 22px 20px; color: var(--dht-muted); line-height: 1.75; }

@media (max-width: 1023px) {
  .dht-hero-grid { grid-template-columns: 1fr; }
  .dht-hero-art { min-height: 320px; }
  .dht-topics, .dht-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dht-roadmap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dht-roadmap li::after { display: none; }
  .dht-tutor-grid { grid-template-columns: 1fr; }
  .dht-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dht-stats-grid div:nth-child(2) { border-right: 0; }
  .dht-stats-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--dht-line); }
}
@media (max-width: 640px) {
  .dht-hero { padding: 40px 0 72px; }
  .dht-hero-sub { font-size: 16px; }
  .dht-hero-art { display: none; }
  .dht-section { padding: 56px 0; }
  .dht-topics, .dht-posts, .dht-roadmap { grid-template-columns: 1fr; }
  .dht-section-head-row { flex-direction: column; align-items: flex-start; }
  .dht-stats-grid div { padding: 16px; }
  .dht-stats-grid strong { font-size: 17px; }
  .dht-hero-try a { margin: 6px 6px 0 0; display: inline-block; }
}
.dht-wordcard-ko { display: block; text-decoration: none !important; }
.dht-wordcard-ko:hover { color: var(--dht-blue-700); }
.dht-wordcard-actions a { margin-left: auto; font-weight: 700; color: var(--dht-blue-700); text-decoration: none; }
.dht-wordcard-actions a:hover { text-decoration: underline; }
