 :root {
   --bg: #faf9f7;
   --ink: #222;
   --muted: #666;
   --accent: #1c3b32;
   --surface: #ffffff;
   --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
   --hover-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
   --radius: 6px;
 }

        *,
        *::before,
        *::after {
          box-sizing: border-box;
        }

 body {
   margin: 0;
   font-family: 'Noto Sans KR', 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
   background: var(--bg);
   color: var(--ink);
   letter-spacing: 0.2px;
 }



 header {
   display: flex;
   align-items: center;
   justify-content: space-between;
   position: relative;
   margin-bottom: 50px;
 }

 .logo {
   width: 200px;
   height: auto;
   display: block;
   margin-top: 5px;
 }

 .header-right {
     display: flex;
     flex-direction: column;       /* 🔥 핵심 */
     align-items: flex-end;        /* 오른쪽 정렬 */
     gap: 15px;
 }

 .header-title {
     font-size: 17px;
     font-weight: 600;
     letter-spacing: 0.04em;
     margin-right: 5px;
 }

 .nav {
   display: flex;
   gap: 10px;
 }

 .nav button {
   border: none;
   background: var(--surface);
   padding: 8px 18px;
   font-size: 14px;
   color: var(--accent);
   border-radius: var(--radius);
   box-shadow: var(--shadow);
   cursor: pointer;
   transition: all 0.2s ease;
 }

 .nav button:hover {
   box-shadow: var(--hover-shadow);
   transform: translateY(-1px);
 }

 .grid {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 24px;
   justify-items: center;
 }

 @media (max-width: 700px) {
   .grid {
     grid-template-columns: 1fr;
   }
 }

 .card {
   width: 100%;
   max-width: 320px;
   height: 150px;
   background: var(--surface);
   border-radius: var(--radius);
   display: flex;
   align-items: center;
   justify-content: center;
   flex-direction: column;
   box-shadow: var(--shadow);
   cursor: pointer;
   transition: all 0.2s ease;
 }

 .card:hover {
   box-shadow: var(--hover-shadow);
   transform: translateY(-2px);
 }

 .card__title {
   font-size: 18px;
   font-weight: 600;
   color: var(--ink);
 }

 .card__sub {
   font-size: 13px;
   color: var(--muted);
   margin-top: 4px;
 }

