/* Noto Sans KR subset, SIL Open Font License 1.1. */
@font-face {
  font-family: "YATV Noto Sans KR";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/yatv/noto-sans-kr-400.ttf?v=20260906") format("truetype");
}
@font-face {
  font-family: "YATV Noto Sans KR";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/yatv/noto-sans-kr-700.ttf?v=20260906") format("truetype");
}
@font-face {
  font-family: "YATV Noto Sans KR";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/assets/yatv/noto-sans-kr-900.ttf?v=20260906") format("truetype");
}

:root {
  color-scheme: dark;
  --ink: #f7f8ff;
  --muted: #aeb8ce;
  --night: #070a14;
  --night-2: #0b1222;
  --surface: #111a2d;
  --surface-2: #17233b;
  --line: rgba(255, 255, 255, .12);
  --violet: #8b73ff;
  --violet-2: #6849f4;
  --coral: #ff6278;
  --cyan: #55d9e8;
  --cream: #fff4df;
  --success: #62e6a7;
  --radius: 24px;
  --radius-sm: 15px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .3);
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 8%, rgba(104, 73, 244, .16), transparent 28rem),
    var(--night);
  color: var(--ink);
  font-family: "YATV Noto Sans KR", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.68;
  word-break: keep-all;
}

a { color: inherit; text-underline-offset: .22em; }
img { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 1000;
  border-radius: 999px;
  padding: .7rem 1rem;
  background: var(--cream);
  color: #101525;
  font-weight: 800;
}

.skip-link:focus { top: 1rem; }
.wrap { width: min(calc(100% - 2.4rem), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.clipboard-helper { position: fixed; opacity: 0; pointer-events: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 10, 20, .86);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -.035em;
}

.brand-mark {
  position: relative;
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--violet), var(--coral) 68%, #ff9d4c);
  box-shadow: 0 10px 30px rgba(139, 115, 255, .28);
}

.brand-mark::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 11px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid white;
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: white;
}

.brand-copy { display: grid; line-height: 1.05; }
.brand-copy small { margin-top: .27rem; color: var(--muted); font-size: .68rem; font-weight: 650; letter-spacing: .01em; }

.site-nav { display: flex; align-items: center; gap: .3rem; }
.site-nav a {
  border-radius: 999px;
  padding: .54rem .75rem;
  color: #d9deeb;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 750;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--surface-2); color: white; }
.nav-cta { margin-left: .35rem; border: 1px solid rgba(139, 115, 255, .55); }

.menu-button {
  display: none;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  color: white;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media, .hero-media::after { position: absolute; inset: 0; }
.hero-media { z-index: -2; margin: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-media::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(4, 7, 17, .98) 0%, rgba(4, 7, 17, .91) 35%, rgba(4, 7, 17, .35) 69%, rgba(4, 7, 17, .2) 100%),
    linear-gradient(0deg, var(--night), transparent 35%);
}

.hero-content { padding-block: clamp(5rem, 11vw, 9rem); }
.hero-copy { max-width: 690px; }
.eyebrow {
  margin: 0 0 .9rem;
  color: var(--cyan);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.2rem, 7.3vw, 6.6rem);
  line-height: .98;
  letter-spacing: -.075em;
}

.hero h1 span {
  display: block;
  background: linear-gradient(90deg, #fff, #d1c8ff 55%, #ffc2ca);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead { max-width: 650px; margin: 1.6rem 0 0; color: #c8d0e1; font-size: clamp(1.05rem, 2vw, 1.22rem); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.7rem; }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: .78rem 1.15rem;
  text-decoration: none;
  font-weight: 850;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, var(--violet-2), var(--coral)); color: white; box-shadow: 0 13px 34px rgba(104, 73, 244, .3); }
.button-secondary { border-color: rgba(255,255,255,.28); background: rgba(7,10,20,.48); color: white; }
.button-quiet { border-color: var(--line); background: var(--surface); color: white; }
.button-small { min-height: 42px; padding: .6rem .9rem; font-size: .85rem; }

.hero-meta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.hero-meta span, .meta-chip {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .42rem .67rem;
  background: rgba(10, 17, 32, .62);
  color: #dfe4f0;
  font-size: .78rem;
  font-weight: 700;
}
.hero-meta span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(98,230,167,.09); }

.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-topless { padding-top: 0; }
.section + .section { border-top: 1px solid rgba(255,255,255,.06); }
.section-soft { background: linear-gradient(180deg, rgba(17,26,45,.54), rgba(7,10,20,0)); }
.section-kicker { margin: 0 0 .6rem; color: var(--coral); font-size: .75rem; font-weight: 900; letter-spacing: .16em; }
.section-title { max-width: 790px; margin-bottom: 2rem; }
.section-title h2, .page-hero h1 { margin: 0; font-size: clamp(2.2rem, 5vw, 4.5rem); line-height: 1.05; letter-spacing: -.055em; }
.section-title p { margin: 1rem 0 0; color: var(--muted); font-size: 1.06rem; }

.need-grid, .guide-grid, .principle-grid, .platform-grid { display: grid; gap: 1rem; }
.need-grid { grid-template-columns: repeat(5, 1fr); }
.guide-grid { grid-template-columns: repeat(3, 1fr); }
.principle-grid { grid-template-columns: repeat(4, 1fr); }
.platform-grid { grid-template-columns: repeat(3, 1fr); }

.need-card, .guide-card, .principle-card, .platform-card, .info-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(23,35,59,.9), rgba(13,20,37,.92));
  box-shadow: 0 16px 45px rgba(0,0,0,.12);
}

.need-card { min-height: 190px; padding: 1.15rem; text-decoration: none; }
.need-card::before { content: attr(data-index); display: block; margin-bottom: 2.3rem; color: var(--cyan); font-size: .72rem; font-weight: 900; }
.need-card strong { display: block; font-size: 1.05rem; line-height: 1.3; }
.need-card span { display: block; margin-top: .45rem; color: var(--muted); font-size: .84rem; }
.need-card:hover { border-color: rgba(139,115,255,.75); transform: translateY(-3px); }

.platform-card { min-height: 315px; display: flex; flex-direction: column; padding: 1.25rem; }
.platform-top { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.platform-mark { width: 47px; height: 47px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 15px; background: linear-gradient(135deg, rgba(139,115,255,.28), rgba(255,98,120,.24)); color: white; font-size: 1.05rem; font-weight: 950; }
.category-label { border-radius: 999px; padding: .3rem .54rem; background: rgba(85,217,232,.1); color: #9bedf4; font-size: .69rem; font-weight: 850; }
.platform-card h2, .platform-card h3 { margin: 1.1rem 0 .55rem; font-size: 1.25rem; line-height: 1.25; }
.platform-card p { margin: 0; color: var(--muted); font-size: .91rem; }
.platform-detail { margin: 1rem 0 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); display: grid; gap: .45rem; font-size: .8rem; color: #c8d0e1; }
.platform-detail strong { color: white; }
.platform-card .card-link { min-height: 44px; margin-top: auto; display: inline-flex; align-items: center; width: fit-content; color: var(--cyan); font-weight: 850; font-size: .86rem; }
.external::after { content: "↗"; margin-left: .25rem; }

.more-row { margin-top: 1.5rem; display: flex; justify-content: flex-end; }
.guide-card { min-height: 265px; display: flex; flex-direction: column; padding: 1.35rem; text-decoration: none; }
.guide-card .guide-no { color: var(--coral); font-size: .73rem; font-weight: 900; letter-spacing: .12em; }
.guide-card h3 { margin: 2.2rem 0 .7rem; font-size: 1.35rem; line-height: 1.25; }
.guide-card p { margin: 0; color: var(--muted); }
.guide-card span:last-child { margin-top: auto; padding-top: 1.2rem; color: var(--cyan); font-size: .84rem; font-weight: 800; }
.guide-card:hover { border-color: rgba(85,217,232,.48); }

.principle-card { padding: 1.25rem; }
.principle-card strong { display: block; color: var(--coral); font-size: 1.5rem; }
.principle-card h3 { margin: .65rem 0 .45rem; font-size: 1.06rem; }
.principle-card p { margin: 0; color: var(--muted); font-size: .88rem; }

.address-band {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 2rem;
  align-items: center;
  border: 1px solid rgba(139,115,255,.42);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(1.5rem, 5vw, 3.2rem);
  background: radial-gradient(circle at 90% 15%, rgba(255,98,120,.16), transparent 17rem), var(--surface);
  box-shadow: var(--shadow);
}
.address-band h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.08; letter-spacing: -.05em; }
.address-band p { color: var(--muted); }
.address-domain { border: 1px solid var(--line); border-radius: 20px; padding: 1rem; background: rgba(7,10,20,.55); }
.address-domain small { display: block; color: var(--muted); }
.address-domain strong { display: block; margin: .35rem 0 1rem; overflow-wrap: anywhere; font-size: 1.12rem; }

.faq-list { display: grid; gap: .75rem; }
.faq-list details { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.faq-list summary { padding: 1rem 3rem 1rem 1.1rem; cursor: pointer; font-weight: 820; list-style: none; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 1.1rem; top: .85rem; color: var(--cyan); font-size: 1.35rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 1.1rem 1.1rem; color: var(--muted); }

.breadcrumbs { padding-top: 1.2rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .78rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: .45rem; color: #63708b; }

.page-hero { padding-block: clamp(4rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem); }
.page-hero .eyebrow { margin-bottom: .7rem; }
.page-hero .lead { max-width: 780px; margin: 1.2rem 0 0; color: var(--muted); font-size: clamp(1.02rem, 2vw, 1.2rem); }
.page-meta { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.4rem; }

.filter-panel { margin-bottom: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; background: var(--surface); }
.search-field { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .7rem; }
.search-field input, .calculator input, .calculator select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .7rem .85rem;
  background: #0a1120;
  color: white;
}
.filter-buttons { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.filter-button { min-height: 40px; border: 1px solid var(--line); border-radius: 999px; padding: .48rem .75rem; background: #0a1120; color: #d9deeb; cursor: pointer; }
.filter-button[aria-pressed="true"] { border-color: transparent; background: var(--violet-2); color: white; }
.results-count { margin: 0 0 1rem; color: var(--muted); font-size: .9rem; }
.empty-state { border: 1px dashed var(--line); border-radius: var(--radius); padding: 2rem; text-align: center; color: var(--muted); }

.prose-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: clamp(2rem, 6vw, 5rem); align-items: start; padding-bottom: 6rem; }
.prose { max-width: 790px; min-width: 0; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 3.2rem 0 1rem; font-size: clamp(1.75rem, 3.2vw, 2.65rem); line-height: 1.13; letter-spacing: -.04em; }
.prose h3 { margin: 2rem 0 .7rem; font-size: 1.25rem; }
.prose p, .prose li { color: #c1c9d9; }
.prose strong { color: white; }
.prose a { color: #9bedf4; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: .55rem; }
.lead-box, .notice, .source-box { border-radius: 20px; padding: 1.2rem; }
.lead-box { border-left: 5px solid var(--coral); background: var(--surface); font-size: 1.05rem; }
.notice { margin-block: 1.4rem; border: 1px solid rgba(85,217,232,.3); background: rgba(85,217,232,.07); }
.source-box { margin-top: 2rem; border: 1px solid var(--line); background: var(--surface); }
.source-box h2, .source-box h3 { margin-top: 0; }

.toc { position: sticky; top: 95px; border: 1px solid var(--line); border-radius: 20px; padding: 1rem; background: rgba(17,26,45,.82); }
.toc strong { font-size: .82rem; }
.toc ol { margin: .8rem 0 0; padding-left: 1.15rem; color: var(--muted); font-size: .83rem; }
.toc li + li { margin-top: .35rem; }
.toc a { text-decoration: none; }
.toc a:hover { color: white; }

.table-wrap { margin-block: 1.4rem; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
table { width: 100%; border-collapse: collapse; min-width: 660px; background: var(--surface); }
th, td { padding: .85rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #17233b; color: white; font-size: .82rem; }
td { color: #c1c9d9; font-size: .88rem; }
tr:last-child td { border-bottom: 0; }

.check-list { display: grid; gap: .7rem; padding: 0 !important; list-style: none; }
.check-list li { position: relative; border: 1px solid var(--line); border-radius: 16px; padding: .9rem 1rem .9rem 2.8rem; background: var(--surface); }
.check-list li::before { content: "✓"; position: absolute; left: 1rem; top: .88rem; color: var(--success); font-weight: 900; }

.calculator { margin-block: 1.5rem; border: 1px solid rgba(139,115,255,.42); border-radius: var(--radius); padding: 1.3rem; background: linear-gradient(145deg, rgba(104,73,244,.12), var(--surface)); }
.calculator-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.calculator label { display: grid; gap: .35rem; color: #dce2ef; font-size: .83rem; font-weight: 750; }
.calculator-output { margin-top: 1rem; border-radius: 18px; padding: 1rem; background: #080f1d; }
.calculator-output strong { display: block; color: var(--cyan); font-size: 1.7rem; }
.calculator-output span { color: var(--muted); font-size: .82rem; }

.compare-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.info-card { padding: 1.3rem; }
.info-card h2, .info-card h3 { margin: 0 0 .65rem; font-size: 1.2rem; }
.info-card p { margin: 0; color: var(--muted); }

.status-card { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; border: 1px solid rgba(98,230,167,.32); border-radius: var(--radius); padding: 1.2rem; background: rgba(98,230,167,.06); }
.status-dot { width: 13px; height: 13px; margin-top: .35rem; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 7px rgba(98,230,167,.09); }
.status-card strong { display: block; }
.status-card p { margin: .3rem 0 0; color: var(--muted); }

.timeline { display: grid; gap: 1rem; padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.timeline time { color: var(--cyan); font-weight: 800; }
.timeline p { margin: 0; }

.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; background: var(--surface); }
.contact-card h2 { margin-top: 0; }
.contact-card a { color: var(--cyan); overflow-wrap: anywhere; }

.site-footer { border-top: 1px solid var(--line); background: #050812; padding: 3.5rem 0 1.3rem; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 2rem; }
.footer-brand p { max-width: 520px; color: var(--muted); }
.footer-nav { display: grid; align-content: start; gap: .45rem; }
.footer-nav strong { margin-bottom: .3rem; font-size: .8rem; color: #7f8aa1; letter-spacing: .1em; }
.footer-nav a { min-height: 32px; display: inline-flex; align-items: center; width: fit-content; color: #c6cedd; text-decoration: none; font-size: .88rem; }
.footer-nav a:hover { color: white; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.1rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; color: #7f8aa1; font-size: .76rem; }
.site-counter { min-height: 40px; margin-top: 1rem; display: flex; justify-content: center; align-items: center; }
.site-counter img { max-width: 100%; }

.not-found { min-height: 65vh; display: grid; place-content: center; text-align: center; }
.not-found strong { color: var(--coral); font-size: clamp(5rem, 15vw, 10rem); line-height: .8; }
.not-found h1 { font-size: clamp(2rem, 5vw, 4rem); }

@media (max-width: 1040px) {
  .need-grid { grid-template-columns: repeat(3, 1fr); }
  .platform-grid, .principle-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .header-inner { min-height: 64px; }
  .menu-button { display: inline-grid; place-items: center; }
  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    align-items: stretch;
    border-bottom: 1px solid var(--line);
    padding: .8rem 1.2rem 1.1rem;
    background: #080d19;
    flex-direction: column;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .72rem .85rem; }
  .nav-cta { margin-left: 0; }
  .hero { min-height: 680px; }
  .hero-media img { object-position: 63% center; }
  .hero-media::after { background: linear-gradient(90deg, rgba(4,7,17,.98), rgba(4,7,17,.76)), linear-gradient(0deg,var(--night),transparent 50%); }
  .hero-copy { max-width: 620px; }
  .guide-grid { grid-template-columns: 1fr; }
  .address-band, .prose-layout { grid-template-columns: 1fr; }
  .toc { position: static; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  body { word-break: normal; }
  .wrap { width: min(calc(100% - 1.5rem), var(--wrap)); }
  .brand-copy small { display: none; }
  .hero { min-height: 650px; }
  .hero h1 { font-size: clamp(3rem, 16vw, 4.6rem); }
  .hero-content { padding-block: 4.2rem 5rem; }
  .hero-lead { font-size: 1rem; }
  .hero-meta { gap: .45rem; }
  .need-grid, .platform-grid, .principle-grid, .compare-grid, .contact-cards { grid-template-columns: 1fr; }
  .need-card { min-height: 160px; }
  .need-card::before { margin-bottom: 1.5rem; }
  .search-field, .calculator-grid { grid-template-columns: 1fr; }
  .search-field .button { width: 100%; }
  .actions .button { width: 100%; }
  .timeline li { grid-template-columns: 1fr; gap: .25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

@media print {
  .site-header, .site-footer, .actions, .filter-panel, .toc { display: none !important; }
  body { background: white; color: black; }
  .prose p, .prose li, td { color: #222; }
  .page-hero { padding-block: 1rem; }
}
