:root {
  --bg: #dee2e6;
  --surface: #f8f9fa;
  --surface-2: #ffffff;
  --header: #343a40;
  --text: #212529;
  --text-body: #343a40;
  --muted: #495057;
  --muted-2: #6c757d;
  --line: #dee2e6;
  --line-soft: #e9ecef;
  --accent: #117a8b;
  --accent-deep: #0c5460;
  --on-accent: #ffffff;
  --success-bg: #d4edda;
  --success-text: #155724;
  --cta-bg: #0c5460;
  --cta-bg-hover: #083d47;
  --shadow: 2px 2px 3px rgba(173, 181, 189, 0.25);
  --font: "Helvetica Neue", Helvetica, "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --container: 1140px;
  --cta-h: 64px;
  --space-cta: calc(var(--cta-h) + 36px + env(safe-area-inset-bottom, 0px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: var(--space-cta);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--bg);
  overflow-wrap: anywhere;
}

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

a {
  color: var(--accent-deep);
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible,
.site-cta:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 8px 14px;
  z-index: 100;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
}

.site-header {
  background: var(--header);
  color: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
}

.navbar-brand img {
  width: 36px;
  height: 36px;
  border-radius: 4px;
}

.brand-h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.prose h1 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.25;
  color: var(--text);
}

.prose h2 {
  margin: 24px 0 10px;
  font-size: 20px;
  line-height: 1.3;
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 8px 12px;
  min-height: 44px;
  cursor: pointer;
  font-size: 14px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  align-items: center;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-nav a:hover {
  color: #fff;
}

.page-main {
  padding: 16px 15px 8px;
}

.alert {
  padding: 12px 16px;
  margin-bottom: 12px;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  background: var(--surface-2);
  color: var(--text);
}

.alert-success {
  background: var(--success-bg);
  border-color: #c3e6cb;
  color: var(--success-text);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
  border-radius: 0.25rem;
  overflow: hidden;
}

.card-header {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #454d55;
  border-bottom: 1px solid var(--line);
  background-image: linear-gradient(0deg, #e9ecef, #f8f9fa);
}

.card-body {
  padding: 16px 18px;
  background: var(--surface-2);
}

.prose h1 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.25;
  color: var(--text);
}

.prose h2 {
  margin: 24px 0 10px;
  font-size: 20px;
  line-height: 1.3;
  color: var(--text);
}

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

.prose ul {
  margin: 0 0 16px;
  padding-left: 1.25em;
  color: var(--muted);
}

.prose li {
  margin-bottom: 8px;
}

.lead {
  font-size: 17px;
  color: var(--text-body) !important;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 14px;
  border: 1px solid #bbb;
  border-radius: 999px;
  text-decoration: none;
  color: #333;
  background: #fff;
  font-size: 14px;
}

.tag:hover,
.tag.active {
  border-color: #000;
  background: #000;
  color: #fff;
}

.threadlist {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--surface-2);
}

.thread {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line-soft);
}

.thread:last-child {
  border-bottom: none;
}

.thread:hover {
  background: #fff;
}

.thread a {
  color: var(--text);
  text-decoration: none;
  flex: 1;
  line-height: 1.45;
}

.thread a:hover {
  color: var(--accent);
}

.badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 3px;
  margin-right: 8px;
  font-weight: 600;
}

.meta {
  color: var(--muted-2);
  font-size: 12px;
  flex-shrink: 0;
}

.region-grid {
  list-style: none;
  margin: 0;
  padding: 12px 16px 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
  background: var(--surface-2);
}

.region-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
}

.region-grid a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.card-grid {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.card-grid a {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
  color: var(--muted);
}

.card-grid a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.card-grid strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
}

.card-grid span {
  font-size: 13px;
  line-height: 1.45;
}

.fact-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.fact-list li {
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  margin-bottom: 8px;
  color: var(--muted);
}

.fact-list strong {
  color: var(--text);
}

.table-wrap {
  overflow-x: auto;
  margin-bottom: 16px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

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

.compare-table th {
  background: #e9ecef;
  color: var(--text);
}

.compare-table td {
  background: #fff;
  color: var(--muted);
}

.faq details {
  border: 1px solid var(--line);
  background: #fff;
  margin-bottom: 8px;
}

.faq summary {
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  min-height: 48px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq .faq-body {
  padding: 0 14px 14px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f8f9fa;
  padding: 28px 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted-2);
  line-height: 1.7;
}

.footer-brand a {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
}

.footer-brand a:hover {
  color: var(--accent);
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  margin: 0 8px;
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-tagline {
  margin: 10px 0 0;
}

/* CTA?????????????? + ???¡§???¡ì?¡ì?????? */
.site-cta {
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(520px, 38vw);
  min-width: 400px;
  min-height: 56px;
  padding: 14px 28px;
  background: var(--cta-bg);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 16px;
  font-weight: 700;
  border: 2px solid #083d47;
  box-shadow: 0 8px 24px rgba(12, 84, 96, 0.35);
  overflow: hidden;
  isolation: isolate;
}

.site-cta:hover,
.site-cta:focus-visible {
  background: var(--cta-bg-hover);
  color: #fff !important;
}

.site-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(17, 122, 139, 0.28);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  animation: teal-wash 2.6s cubic-bezier(0.2, 0.7, 0.3, 1) infinite;
}

.site-cta::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 2px;
  height: 14px;
  margin-left: -1px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
  transform: translateY(6px);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  animation: steam-rise 2.6s cubic-bezier(0.2, 0.7, 0.3, 1) infinite;
  transform-origin: center bottom;
}

@keyframes steam-rise {
  0%,
  15% {
    transform: scaleY(0.96) translateY(2px);
    opacity: 0.15;
  }
  40% {
    transform: scaleY(1) translateY(0);
    opacity: 1;
  }
  70%,
  100% {
    transform: scaleY(1) translateY(-2px);
    opacity: 0.45;
  }
}

@keyframes teal-wash {
  0%,
  20% {
    opacity: 0;
  }
  45% {
    opacity: 1;
  }
  75%,
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-cta::before,
  .site-cta::after {
    animation: none;
  }

  .site-cta::before {
    opacity: 0.18;
  }

  .site-cta::after {
    transform: translateY(0);
    opacity: 0.7;
  }
}

@media (max-width: 900px) {
  .site-cta {
    width: auto;
    min-width: 0;
    left: 16px;
    right: 16px;
    transform: none;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 992px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 0 12px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .page-main {
    padding-top: 8px;
  }

  .prose h1 {
    font-size: 22px;
  }

  .thread {
    flex-direction: column;
  }

  .site-cta {
    font-size: 15px;
    min-height: 52px;
    padding: 12px 16px;
  }
}
