:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --surface-2: #efeee8;
  --ink: #171717;
  --muted: #6c6a64;
  --line: #dedbd1;
  --primary: #145a4a;
  --primary-dark: #0e3f36;
  --accent: #b8573a;
  --gold: #c69a37;
  --success: #2f7d4f;
  --warning: #9a6828;
  --shadow: 0 18px 50px rgba(23, 23, 23, 0.12);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui,
    -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  align-items: center;
  background: rgba(247, 245, 240, 0.9);
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 16px 32px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: 0;
}

.brand-mark,
.brand-logo-wrap {
  align-items: center;
  background: var(--ink);
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.brand-logo-wrap {
  overflow: hidden;
  padding: 5px;
  width: 76px;
}

.brand-logo-wrap img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.header-nav {
  align-items: center;
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
}

.nav-cta {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
}

.hero-section {
  background: #111;
  color: #fff;
  min-height: 92vh;
  overflow: hidden;
  padding: 164px 32px 48px;
  position: relative;
}

#audioScene,
.hero-overlay {
  inset: 0;
  position: absolute;
}

#audioScene {
  height: 100%;
  width: 100%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.34)),
    radial-gradient(circle at 76% 30%, rgba(184, 87, 58, 0.36), transparent 34%);
}

.hero-content {
  margin: 0 auto;
  max-width: var(--max);
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hero-content .eyebrow {
  color: #e8bd55;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(44px, 8vw, 92px);
  letter-spacing: 0;
  line-height: 0.96;
  margin-bottom: 20px;
  max-width: 900px;
}

.hero-korean {
  color: #f3dcc5;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-button,
.secondary-button {
  align-items: center;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
}

.primary-button {
  background: var(--primary);
  color: #fff;
}

.primary-button:hover {
  background: var(--primary-dark);
}

.secondary-button {
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}

.secondary-button.small {
  background: var(--surface-2);
  border-color: var(--line);
  color: var(--ink);
  min-height: 38px;
  padding: 0 14px;
}

.primary-button.large {
  min-width: 190px;
}

.primary-button.full {
  margin-top: 18px;
  width: 100%;
}

.primary-button:disabled,
.secondary-button:disabled,
.primary-button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.62;
}

.hero-status {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 92px auto 0;
  max-width: var(--max);
  position: relative;
  z-index: 1;
}

.hero-status div {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  min-height: 96px;
  padding: 20px;
}

.hero-status span {
  display: block;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
}

.hero-status small {
  color: rgba(255, 255, 255, 0.68);
  display: block;
  margin-top: 6px;
}

.section {
  margin: 0 auto;
  max-width: var(--max);
  padding: 88px 32px;
}

.section-heading {
  max-width: 680px;
}

.section-heading h2,
.apply-band h2 {
  font-size: 34px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-heading p,
.apply-band p {
  color: var(--muted);
}

.intro-grid,
.process-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.intro-grid article,
.process-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.intro-grid h3,
.process-grid h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.intro-grid p,
.process-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

.split-section {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.timeline {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
}

.timeline-item {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: 58px minmax(0, 1fr);
  padding: 18px;
}

.timeline-item:last-child {
  border-bottom: 0;
}

.timeline-item span,
.process-grid span {
  align-items: center;
  background: var(--surface-2);
  border-radius: 999px;
  color: var(--primary);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.timeline-item.active span {
  background: var(--primary);
  color: #fff;
}

.timeline-item h3 {
  font-size: 18px;
  margin-bottom: 2px;
}

.timeline-item p {
  color: var(--muted);
  margin-bottom: 0;
}

.apply-band {
  align-items: center;
  background: var(--ink);
  color: #fff;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  margin: 40px auto;
  max-width: var(--max);
  padding: 48px;
}

.apply-band p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0;
  max-width: 680px;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  color: var(--muted);
  margin: 14px 0 0;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  padding: 38px 32px;
}

.site-footer p {
  color: var(--muted);
  margin-bottom: 0;
}

.admin-body {
  background: #eeece5;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  background: var(--ink);
  color: #fff;
  min-height: 100vh;
  padding: 24px;
  position: sticky;
  top: 0;
}

.admin-sidebar .brand-mark {
  background: #fff;
  color: var(--ink);
}

.admin-sidebar .brand-logo-wrap {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.admin-sidebar .brand small {
  color: rgba(255, 255, 255, 0.58);
}

.admin-nav {
  display: grid;
  gap: 6px;
  margin-top: 40px;
}

.admin-nav a {
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  padding: 12px 14px;
}

.admin-nav a.active,
.admin-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.admin-main {
  min-width: 0;
  padding: 28px;
}

.admin-topbar {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 22px;
}

.admin-topbar h1 {
  font-size: 30px;
  line-height: 1.2;
  margin-bottom: 0;
}

.admin-identity {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  text-align: right;
}

.admin-identity span,
.admin-identity strong {
  display: block;
}

.admin-identity span {
  color: var(--muted);
  font-size: 12px;
}

.admin-public-link {
  color: var(--ink);
  flex: 0 0 auto;
}

.admin-metrics {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 16px;
}

.admin-metrics article,
.admin-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-metrics article {
  padding: 18px;
}

.admin-metrics span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
}

.admin-metrics strong {
  display: block;
  font-size: 28px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.admin-metrics .email-text {
  font-size: 16px;
  padding-top: 8px;
}

.admin-panel {
  margin-bottom: 16px;
  padding: 22px;
}

.panel-header {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.panel-header h2 {
  font-size: 22px;
  margin-bottom: 0;
}

.panel-actions {
  align-items: center;
  display: flex;
  gap: 8px;
}

input,
textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  outline: 0;
  padding: 11px 12px;
  width: 100%;
}

input:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(20, 90, 74, 0.14);
}

input:disabled {
  background: var(--surface-2);
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
}

.admin-table {
  border-collapse: collapse;
  min-width: 1120px;
  width: 100%;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--line);
  padding: 13px 12px;
  text-align: left;
  white-space: nowrap;
}

.admin-table th {
  color: var(--muted);
  font-size: 13px;
}

.table-link {
  background: transparent;
  border: 0;
  color: var(--primary);
  cursor: pointer;
  font-weight: 900;
  padding: 0;
  text-align: left;
}

.table-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.status-pill {
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  padding: 5px 9px;
}

.status-review {
  background: #f3e8c7;
  color: var(--warning);
}

.status-pass {
  background: #dceee3;
  color: var(--success);
}

.detail-empty {
  background: var(--surface-2);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  padding: 18px;
}

.detail-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.detail-grid > div {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}

.detail-grid span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 6px;
}

.detail-grid strong,
.detail-grid p {
  overflow-wrap: anywhere;
}

.detail-grid strong {
  display: block;
  font-size: 15px;
}

.detail-grid p {
  margin-bottom: 0;
}

.detail-wide {
  grid-column: span 2;
}

.admin-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.field-label {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin: 14px 0 6px;
}

.helper-text {
  color: var(--muted);
  font-size: 13px;
  margin: 12px 0 0;
}

.notice-box {
  background: #f6f1e3;
  border: 1px solid #e8d9a5;
  border-radius: var(--radius);
  margin-top: 14px;
  padding: 14px;
}

.notice-box p {
  color: var(--muted);
  margin-bottom: 0;
}

.settings-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.clean-list {
  color: var(--muted);
  list-style: none;
  margin: 0;
  padding: 0;
}

.clean-list li {
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    gap: 16px;
    padding: 14px 18px;
    position: static;
  }

  .header-nav {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
  }

  .hero-section {
    min-height: auto;
    padding: 88px 20px 26px;
  }

  .hero-status,
  .intro-grid,
  .process-grid,
  .split-section,
  .admin-grid,
  .detail-grid,
  .settings-grid,
  .admin-metrics {
    grid-template-columns: 1fr;
  }

  .detail-wide {
    grid-column: auto;
  }

  .apply-band,
  .site-footer,
  .admin-topbar,
  .panel-header {
    align-items: stretch;
    flex-direction: column;
  }

  .section,
  .apply-band {
    padding: 56px 20px;
  }

  .admin-body {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    min-height: 0;
    position: static;
  }

  .admin-main {
    padding: 18px;
  }
}

@media (max-width: 560px) {
  .site-header {
    display: block;
  }

  .header-nav {
    justify-content: flex-start;
    margin-top: 14px;
  }

  h1 {
    font-size: 43px;
  }

  .hero-korean {
    font-size: 20px;
  }

  .hero-status {
    margin-top: 44px;
  }

  .hero-status div {
    min-height: auto;
  }

  .panel-actions {
    align-items: stretch;
    flex-direction: column;
  }
}
