/* greenjlab.com 공용 스타일. 운트 디자인 명세(어두운 바탕, 샴페인 강조색 하나, 얇은 글자)를 따른다. */
:root {
  --bg-top: #141c20;
  --bg-bottom: #0c1215;
  --text: #e6e1d8;
  --text-muted: #9aa3a6;
  --accent: #d8c8a6;
  --line: rgba(216, 200, 166, 0.22);
  --max: 720px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg-bottom);
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%) fixed;
  color: var(--text);
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

a:hover,
a:focus-visible {
  border-bottom-color: var(--accent);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

header.site {
  padding: 32px 0 0;
}

header.site .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

header.site a {
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.label {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

main {
  padding: 72px 0 96px;
}

h1 {
  font-weight: 200;
  font-size: clamp(32px, 7vw, 48px);
  line-height: 1.3;
  margin: 16px 0 24px;
  letter-spacing: -0.01em;
}

h2 {
  font-weight: 300;
  font-size: 20px;
  margin: 56px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

h3 {
  font-weight: 400;
  font-size: 16px;
  margin: 28px 0 8px;
}

p,
li {
  color: var(--text);
}

.muted {
  color: var(--text-muted);
}

ul,
ol {
  padding-left: 1.2em;
}

li + li {
  margin-top: 6px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 15px;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
}

th {
  font-weight: 400;
  color: var(--text-muted);
}

.table-scroll {
  overflow-x: auto;
}

.apps {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.apps li {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.apps li:last-child {
  border-bottom: 1px solid var(--line);
}

.apps .name {
  font-size: 20px;
  font-weight: 300;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 8px;
  font-size: 15px;
}

footer.site {
  padding: 32px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.9;
}

footer.site p {
  color: var(--text-muted);
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  main {
    animation: fade 600ms ease-out both;
  }

  @keyframes fade {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
}
