@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");

:root {
  --bg: #f7f7f5;
  --panel: #ffffff;
  --text: #17233a;
  --muted: #667085;
  --line: #d9dee7;
  --primary: #2563eb;
  --primary-soft: #edf3fc;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Pretendard", "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

.page-shell {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

.site-header {
  padding-bottom: 38px;
  animation: rise-in 600ms ease-out both;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-family: "Pretendard", "Inter", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.header-line {
  height: 1px;
  margin: 14px 0 38px;
  background: var(--line);
}

h1 {
  margin: 0;
  font-size: clamp(3.3rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.subtitle {
  margin: 18px 0 0;
  font-size: 1.16rem;
  color: var(--primary);
}

.intro {
  max-width: 560px;
  margin: 14px 0 0;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--muted);
}

.content {
  margin-top: 0;
  display: grid;
  gap: 14px;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 24px 26px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  animation: rise-in 600ms ease-out both;
}

.card:hover {
  border-color: var(--primary);
  box-shadow: 0 5px 12px rgba(23, 35, 58, 0.07);
  transform: translateY(-3px);
}

.card h2 {
  margin: 0 0 22px;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary);
  text-transform: uppercase;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tags span {
  background: var(--primary-soft);
  border-radius: 999px;
  color: var(--primary);
  padding: 8px 12px;
  font-size: 0.82rem;
  transition: background-color 180ms ease, transform 180ms ease;
}

.tags span:hover {
  background: #dce8fb;
  transform: translateY(-2px);
}

.card p {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--text);
}

.detail-card p {
  font-weight: 600;
}

.wide-card p {
  font-weight: 600;
}

.contact-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-card li {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
  min-width: 0;
  padding-right: 18px;
  line-height: 1.7;
}

.contact-card li + li {
  padding-left: 26px;
  padding-right: 0;
  border-left: 1px solid var(--line);
}

.label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

a {
  color: var(--primary);
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  cursor: pointer;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

a:hover {
  border-bottom-color: currentColor;
}

.content > .two-column {
  animation-delay: 120ms;
}

.content > .wide-card:nth-child(2) {
  animation-delay: 240ms;
}

.content > .wide-card:nth-child(3) {
  animation-delay: 360ms;
}

.content > .wide-card:nth-child(4) {
  animation-delay: 480ms;
}

.tags span:nth-child(1) {
  animation: rise-in 500ms ease-out 360ms both;
}

.tags span:nth-child(2) {
  animation: rise-in 500ms ease-out 480ms both;
}

.tags span:nth-child(3) {
  animation: rise-in 500ms ease-out 600ms both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 560px) {
  .page-shell {
    padding-top: 36px;
    padding-bottom: 48px;
  }

  .card {
    padding-left: 20px;
    padding-right: 20px;
  }

  .two-column,
  .contact-card ul {
    grid-template-columns: 1fr;
  }

  .contact-card li + li {
    padding-top: 18px;
    padding-left: 0;
    padding-right: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}
