/** @format */

:root {
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --brand: #4f52ff;
  --brand-dark: #3f42d9;
  --shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif;
  line-height: 1.7;
}

body {
  padding: 28px 16px 40px;
}

.page {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #5b5fc7 0%, #4f52ff 100%);
  color: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.logo {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
}

.logo img {
  width: 120%;
  height: 120%;
  display: block;
}
.logo svg {
  width: 34px;
  height: 34px;
  display: block;
}

.brand {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.brand-sub {
  margin-top: 4px;
  font-size: 14px;
  opacity: 0.9;
}

.content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 42px 48px;
}

.title {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.updated {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 15px;
}

.intro {
  margin: 0 0 18px;
  font-size: 16px;
}

.section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.section:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.section h2 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.section p {
  margin: 0 0 12px;
  font-size: 16px;
}

.section ul {
  margin: 0;
  padding-left: 22px;
}

.section li {
  margin: 8px 0;
  font-size: 16px;
}

.highlight {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 12px 0;
  border: 1px solid var(--border);
  border-radius: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  background: #ffffff;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  font-size: 15px;
}

th {
  background: #f9fafb;
  font-weight: 700;
}

tr:last-child td {
  border-bottom: 0;
}

.contact-card {
  margin-top: 10px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #f9fafb;
}

.contact-card p {
  margin: 6px 0;
}

.footer-note {
  margin-top: 36px;
  padding: 18px 20px;
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--muted);
  font-size: 14px;
}

a {
  color: var(--brand-dark);
  text-decoration: none;
  word-break: break-all;
}

a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  body {
    padding: 16px 12px 28px;
  }

  .header {
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
  }

  .logo {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }

  .logo svg {
    width: 28px;
    height: 28px;
  }

  .brand-name {
    font-size: 24px;
  }

  .brand-sub {
    font-size: 13px;
  }

  .content {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .title {
    font-size: 28px;
  }

  .section h2 {
    font-size: 20px;
  }

  .section p,
  .section li,
  .intro,
  th,
  td {
    font-size: 15px;
  }
}

@media (max-width: 420px) {
  .brand-name {
    font-size: 22px;
  }

  .title {
    font-size: 24px;
  }

  .section h2 {
    font-size: 18px;
  }
}
