/* Korean site (/ko/) — loaded after styles.css and restyle.css.
   Same palette and components as the English site; Korean typography and a few extra blocks. */
:root { --ko-font: "Pretendard Variable", Pretendard, Inter, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }
body { font-family: var(--ko-font); word-break: keep-all; overflow-wrap: anywhere; letter-spacing: -.01em; }
h1, h2, h3 { letter-spacing: -.025em !important; line-height: 1.25; }
.hero-dark h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 22ch; margin: 0 auto 14px; font-weight: 600; }
.hero-dark .sub { margin: 0 auto 30px; text-align: center; }
.section-head h2, .cta h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 600; }
.page-head .sub, .page-head p { max-width: 640px; }

/* nav extras */
.ko-lang { font: 500 .8rem var(--mono); color: var(--muted); padding: 6px 8px; }
.ko-lang:hover { color: var(--ink-2); }
.ko-mnav { display: none; border-top: 1px solid var(--line); overflow-x: auto; white-space: nowrap; }
.ko-mnav a { display: inline-block; padding: 10px 14px; font-size: .88rem; color: var(--muted); }
.ko-mnav a[aria-current] { color: var(--ink-2); font-weight: 600; }
@media (max-width: 1120px) { .ko-mnav { display: block; } }

/* video slot: YouTube loads only on click; "soon" slots show a title card */
.vslot { margin: 0 auto; max-width: 960px; position: relative; aspect-ratio: 16/9; background: #0b0b0d; border: 1px solid #2a2a31; overflow: hidden; }
.vslot iframe, .vslot video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.vslot-btn { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; cursor: pointer; background: #0b0b0d center/cover no-repeat; color: #fff; font: inherit; text-align: left; }
.vslot-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,13,.05) 30%, rgba(11,11,13,.85)); }
.vslot-cap { color: #fff; position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 18px 20px; display: grid; gap: 4px; }
.vslot-cap b { font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 600; }
.vslot-cap small { font: 500 .72rem var(--mono); color: #c9cfdb; letter-spacing: .04em; }
.vslot-play { position: absolute; z-index: 1; left: 50%; top: 45%; transform: translate(-50%,-50%); width: 68px; height: 68px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.vslot-play::before { content: ""; margin-left: 5px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; }
.vslot-btn:hover .vslot-play { background: var(--blue-dark); }
.vslot.soon { display: grid; place-items: center; background: radial-gradient(ellipse at 30% 20%, #1b2438 0%, #0b0b0d 70%); }
.vslot.soon .vslot-cap { position: static; text-align: center; padding: 24px; }
.vslot.soon .vslot-cap small { color: #93b4f8; }
.vslot.sm { max-width: none; }
.v-note { margin: 10px auto 0; max-width: 960px; font: 500 .74rem var(--mono); color: var(--muted); text-align: center; }
.hero-dark .v-note { color: #7f8ea6; }
details.script { max-width: 960px; margin: 14px auto 0; font-size: .92rem; }
details.script p, details.script li { color: var(--muted); }

/* compact cards */
.ko-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); }
.ko-cards > a, .ko-cards > div { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-left: 1px solid var(--line); color: inherit; text-decoration: none; }
.ko-cards > :first-child { border-left: 0; }
.ko-cards h3 { margin: 0; font-size: 1.25rem; font-weight: 600; }
.ko-cards p { margin: 0; color: var(--muted); }
.ko-cards .go { margin-top: auto; padding-top: 14px; color: var(--blue); font-weight: 600; font-size: .92rem; }
.ko-cards > a:hover { background: var(--warm); }
.ko-num { font: 600 .78rem var(--mono); color: var(--blue); letter-spacing: .08em; }
.ko-tag { align-self: flex-start; font: 500 .72rem var(--mono); padding: 3px 8px; border: 1px solid var(--line); color: var(--muted); }
.ko-tag.on { border-color: var(--blue); color: var(--blue); }
.ko-meta { font: 500 .76rem var(--mono); color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.ko-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0; padding: 0; list-style: none; }
.ko-chips li { font: 500 .78rem var(--mono); padding: 6px 12px; border: 1px solid var(--line); background: var(--paper); }
.ko-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ko-facts b { display: block; font-size: 1.1rem; font-weight: 600; margin-bottom: 6px; }
.ko-facts p { margin: 0; color: var(--muted); font-size: .95rem; }
.center { text-align: center; }
.ko-vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ko-vgrid figure { margin: 0; }
.ko-vgrid figcaption { margin-top: 10px; font-weight: 600; }
.ko-vgrid figcaption small { display: block; font: 500 .72rem var(--mono); color: var(--muted); font-weight: 500; margin-top: 2px; }
.ko-tools { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.ko-tools article { display: grid; gap: 12px; align-content: start; }
.ko-tools h3 { margin: 6px 0 0; font-size: 1.2rem; font-weight: 600; }
.ko-tools p { margin: 0; color: var(--muted); }
.ko-tools a.link { color: var(--blue); font-weight: 600; font-size: .9rem; }

/* self-check */
.quiz { max-width: 820px; margin: 0 auto; border: 1px solid var(--line); background: var(--paper); }
.quiz ol { list-style: none; margin: 0; padding: 0; counter-reset: q; }
.quiz li { counter-increment: q; display: grid; grid-template-columns: 1fr auto; gap: 10px 20px; align-items: center; padding: 16px 22px; border-top: 1px solid var(--line); }
.quiz li:first-child { border-top: 0; }
.quiz li > span::before { content: counter(q, decimal-leading-zero) "  "; font: 600 .78rem var(--mono); color: var(--blue); }
.quiz .opts { display: flex; gap: 0; }
.quiz .opts label { cursor: pointer; }
.quiz .opts input { position: absolute; opacity: 0; pointer-events: none; }
.quiz .opts span { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); margin-left: -1px; font-size: .88rem; color: var(--muted); background: #fff; }
.quiz .opts input:checked + span { background: var(--ink-2); color: #fff; border-color: var(--ink-2); }
.quiz .opts input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.quiz-foot { padding: 18px 22px; border-top: 1px solid var(--line); display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.quiz-foot .note { margin: 0; }
.result { max-width: 820px; margin: 24px auto 0; border: 1px solid var(--line); background: #fff; padding: 26px; }
.result[hidden] { display: none; }
.result h3 { margin: 6px 0 12px; font-size: 1.35rem; font-weight: 600; }
.result ul { margin: 0 0 18px; padding-left: 18px; display: grid; gap: 8px; }
.result li b { font-weight: 600; }
.lvl { font: 600 .75rem var(--mono); letter-spacing: .08em; padding: 4px 10px; display: inline-block; }
.lvl.ok { background: #e7f5ec; color: #166534; }
.lvl.mid { background: #fff6e0; color: #92400e; }
.lvl.high { background: #fdecec; color: #991b1b; }
.lvl.na { background: var(--blue-soft); color: var(--blue); }

/* forms */
.ko-form { display: grid; gap: 14px; }
.ko-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field input, .field select, .field textarea { border-radius: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ko-legal { font-size: .78rem; color: var(--muted); margin: 0; }

.founder-ko { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; max-width: 920px; margin: 0 auto; }
.founder-ko img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; border: 1px solid var(--line); }
.founder-ko blockquote { margin: 0 0 16px; font-size: 1.35rem; line-height: 1.45; font-weight: 500; }
.founder-ko ul { margin: 16px 0 0; padding-left: 18px; color: var(--muted); display: grid; gap: 4px; }

@media (max-width: 960px) {
  .ko-cards, .ko-facts, .ko-vgrid, .ko-tools { grid-template-columns: 1fr; }
  .ko-cards > a, .ko-cards > div { border-left: 0; border-top: 1px solid var(--line); }
  .ko-cards > :first-child { border-top: 0; }
  .founder-ko { grid-template-columns: 1fr; }
  .founder-ko img { max-width: 200px; }
  .ko-form .row2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .proof-grid { grid-template-columns: 1fr !important; }
  .proof-grid > div { border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--line); padding: 16px 0; }
  .proof-grid > div:first-child { border-top: 0; }
  .quiz li { grid-template-columns: 1fr; }
  .nav-actions .ko-lang { display: none; }
}

/* small tiles: the poster already carries the title, so show only the length and a corner play button */
.vslot.sm .vslot-cap b { display: none; }
.vslot.sm .vslot-btn::after { background: linear-gradient(180deg, transparent 60%, rgba(11,11,13,.6)); }
.vslot.sm .vslot-play { left: auto; top: auto; right: 18px; bottom: 16px; transform: none; width: 52px; height: 52px; }
.vslot.sm .vslot-play::before { border-width: 10px 0 10px 16px; margin-left: 4px; }
.vslot.sm .vslot-cap { padding: 14px 18px; }
.vslot.sm.soon .vslot-cap b { display: block; }

/* vertical FAQ shorts */
.vslot.vert { aspect-ratio: 9/16; }
.ko-faq { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.ko-faq figure { margin: 0; }
.ko-faq figcaption { margin-top: 12px; font-weight: 600; font-size: .98rem; line-height: 1.4; }
.faq-a { margin-top: 8px; border: 0; padding: 0; background: none; }
.faq-a summary { font-size: .85rem; color: var(--blue); cursor: pointer; padding: 0; font-weight: 500; }
.faq-a summary::after { content: none; }
.faq-a p { margin: 8px 0 0; font-size: .9rem; color: var(--muted); line-height: 1.55; }
@media (max-width: 960px) {
  .ko-faq { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .ko-faq figure { scroll-snap-align: start; }
}
.faq-a[open] summary::after { content: none; }
.vslot.vert .vslot-cap { display: none; }
