/* 플레이아카데미 — Nexon DESIGN.md tokens only */

@font-face {
  font-family: "NEXON Lv1 Gothic";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@2.1/NEXONLv1GothicRegular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NEXON Lv1 Gothic";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@2.1/NEXONLv1GothicBold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --cta: #00de5a;
  --cta-ink: #000000;
  --bg: #ffffff;
  --ink: #17191d;
  --body: #737881;
  --label: #4a4e57;
  --muted: #919191;
  --disabled: #9fa1a7;
  --link: #080410;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --line: rgba(23, 25, 29, 0.12);
  --font-cta: "NEXON Gothic Bold", "NEXON Lv1 Gothic", "Malgun Gothic", sans-serif;
  --font-body: "Malgun Gothic", sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.35;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  display: block;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-cta);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 8px;
}

h1 {
  font-size: 20px;
}

h2 {
  font-size: 16px;
}

h3 {
  font-size: 14px;
}

p {
  margin: 0 0 8px;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

/* util bar */
.util {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--label);
  line-height: 1.2;
}

.util .wrap {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.util-r {
  color: var(--muted);
}

/* header / GNB */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}

.gnb-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 36px;
  width: auto;
}

.gnb {
  display: flex;
  align-items: stretch;
  margin-left: 16px;
}

.gnb a {
  font-family: var(--font-cta);
  font-size: 16px;
  font-weight: 400;
  color: #17191d;
  line-height: 1.2;
  padding: 20px 12px;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}

.gnb a:hover {
  text-decoration: none;
  color: #17191d;
}

.gnb a.is-active {
  border-bottom-color: #00de5a;
}

.header-cta {
  margin-left: auto;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: auto;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #17191d;
  margin: 0 auto;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

/* buttons */
.btn {
  display: inline-block;
  font-family: var(--font-cta);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  padding: 12px 24px;
  border-radius: 0;
  border: 0;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
}

.btn-cta {
  background: #00de5a;
  color: #000000;
}

.btn-cta:hover {
  color: #000000;
  filter: brightness(1.04);
}

.btn-ghost {
  background: #ffffff;
  color: #17191d;
  padding: 10px 20px;
  border: 1px solid var(--line);
  font-weight: 400;
}

.btn-disabled {
  background: #9fa1a7;
  color: #ffffff;
  cursor: not-allowed;
}

/* page head — compact, not cinematic */
.page-head {
  padding: 24px 0 16px;
  border-bottom: 1px solid var(--line);
}

.crumb {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

.crumb a {
  color: var(--label);
}

.page-head p.lead {
  margin: 0;
  color: var(--body);
  font-size: 13px;
  line-height: 1.4;
  max-width: 720px;
}

main {
  padding: 16px 0 48px;
}

.sec {
  margin: 24px 0 0;
}

.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.sec-head a {
  font-size: 12px;
  color: var(--label);
}

.note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

/* cards */
.card {
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 16px;
}

/* home 3-col: notice / phone / timetable */
.home-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1.2fr;
  gap: 16px;
  margin: 16px 0 8px;
}

.board li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.board li:last-child {
  border-bottom: 0;
}

.board time {
  flex: 0 0 78px;
  color: var(--muted);
  font-size: 12px;
}

.board a {
  color: #17191d;
  flex: 1;
}

.badge-new {
  display: inline-block;
  background: #00de5a;
  color: #000000;
  font-family: var(--font-cta);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  line-height: 1.2;
  margin-left: 6px;
  vertical-align: 1px;
}

.tel {
  font-family: var(--font-cta);
  font-size: 22px;
  font-weight: 700;
  color: #17191d;
  line-height: 1.2;
  margin: 8px 0 4px;
}

.tel a {
  color: #17191d;
}

.tel-note {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 8px;
}

.hours dt {
  font-size: 12px;
  color: var(--label);
  margin-top: 8px;
}

.hours dd {
  margin: 0;
  color: var(--body);
}

/* tables */
.table-wrap {
  overflow-x: auto;
}

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  line-height: 1.3;
}

table.data th,
table.data td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

table.data thead th {
  color: #17191d;
  font-family: var(--font-cta);
  font-weight: 700;
  background: #ffffff;
}

table.data td {
  color: #737881;
}

table.data td.ink,
table.data th.row {
  color: #17191d;
  font-weight: 700;
  font-family: var(--font-cta);
}

table.data a {
  color: #080410;
}

/* teachers */
.t-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.t-meta {
  font-size: 12px;
  color: var(--label);
  margin-bottom: 8px;
}

.t-card p {
  font-size: 13px;
  line-height: 1.4;
}

/* form */
label {
  display: block;
  font-size: 12px;
  color: #4a4e57;
  margin: 0 0 4px;
}

input[type="text"],
input[type="tel"],
select,
textarea {
  width: 100%;
  background: #ffffff;
  color: #17191d;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px 12px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.3;
}

input::placeholder,
textarea::placeholder {
  color: #919191;
}

.field {
  margin-bottom: 12px;
}

.form-note {
  margin: 0 0 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #17191d;
  font-size: 13px;
  background: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 24px;
  margin-top: 16px;
}

.info-list dt {
  font-size: 12px;
  color: var(--label);
  margin-top: 12px;
}

.info-list dt:first-child {
  margin-top: 0;
}

.info-list dd {
  margin: 0;
  color: #17191d;
}

/* notice detail */
.notice-body {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.4;
  color: #737881;
}

.notice-body p {
  margin-bottom: 12px;
}

.notice-date {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

/* footer */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--line);
  padding: 24px 0;
  font-size: 12px;
  color: #4a4e57;
  line-height: 1.4;
}

.site-footer .brand {
  font-family: var(--font-cta);
  color: #17191d;
  font-weight: 700;
  font-size: 12px;
}

.site-footer p {
  margin: 0 0 4px;
}

.disclaimer {
  color: #919191;
  margin-top: 8px;
}

.mobile-cta {
  display: none;
}

@media (max-width: 767px) {
  .nav-toggle {
    display: block;
  }

  .site-header {
    position: relative;
  }

  .gnb {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    background: #ffffff;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid var(--line);
  }

  .gnb.is-open {
    display: flex;
  }

  .gnb a {
    padding: 12px 16px;
    border-bottom: 0;
    border-left: 2px solid transparent;
  }

  .gnb a.is-active {
    border-bottom-color: transparent;
    border-left-color: #00de5a;
  }

  .header-cta {
    display: none;
  }

  .mobile-cta {
    display: block;
    padding: 8px 16px 16px;
  }

  .mobile-cta .btn {
    width: 100%;
  }

  .home-grid,
  .t-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .util .wrap {
    flex-direction: column;
    gap: 4px;
  }

  .btn-block {
    width: 100%;
  }
}
