:root {
  color-scheme: light;
  --bg: #f5f7f8;
  --paper: #ffffff;
  --text: #1e2930;
  --muted: #5e6d76;
  --line: #dfe6ea;
  --primary: #176b87;
  --primary-dark: #0f4c5c;
  --accent: #d97706;
  --soft: #eef6f8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", Arial, sans-serif;
  line-height: 1.65;
}

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

.site-shell {
  width: min(700px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
}

.brand strong {
  display: block;
  font-size: 17px;
  line-height: 1.25;
}

.nav {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.nav a {
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover,
.nav a.active {
  background: var(--soft);
  color: var(--primary-dark);
}

.hero,
.page-title,
.content-section,
.notice,
.terminal-section {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(30, 41, 48, 0.06);
}

.hero {
  padding: 34px;
}

.hero-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  margin-bottom: 24px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
}

.hero h1,
.hero .lead,
.page-title {
  text-align: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 14px;
  font-size: 31px;
  line-height: 1.28;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 21px;
  line-height: 1.35;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.35;
}

.lead,
.page-title p,
.content-section p,
.notice li,
.step-list li,
.faq-list dd,
.section-heading p:last-child,
.terminal-card span {
  color: var(--muted);
}

.reservation-buttons,
.page-actions {
  display: grid;
  gap: 12px;
  width: 90%;
  margin: 28px auto 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--primary-dark);
  font-size: 17px;
  font-weight: 800;
  text-align: center;
}

.button.primary,
.reservation-buttons .button,
.page-actions .button {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.button.primary:hover,
.reservation-buttons .button:hover,
.page-actions .button:hover {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
}

.notice,
.page-title,
.content-section,
.terminal-section {
  margin-top: 16px;
  padding: 26px;
}

.notice ul {
  margin: 0;
  padding-left: 20px;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h2 {
  margin-bottom: 8px;
}

.section-heading p:last-child {
  margin-bottom: 0;
}

.terminal-grid,
.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.terminal-card,
.guide-grid article {
  display: grid;
  gap: 4px;
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.terminal-card:hover {
  border-color: rgba(23, 107, 135, 0.45);
  background: var(--soft);
}

.terminal-card strong {
  color: var(--primary-dark);
  font-size: 18px;
  line-height: 1.3;
}

.terminal-card span {
  font-size: 14px;
  line-height: 1.45;
}

.step-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 22px;
}

.step-list strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
}

.faq-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.faq-list div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.faq-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.faq-list dt {
  margin-bottom: 4px;
  font-weight: 800;
}

.faq-list dd {
  margin: 0;
}

.bottom-nav {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(30, 41, 48, 0.06);
}

.bottom-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--primary-dark);
  font-weight: 800;
  text-align: center;
}

.site-footer {
  margin-top: 24px;
  padding: 18px 6px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.site-footer p {
  margin: 0 0 6px;
}

.site-footer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 620px) {
  .site-shell {
    width: min(100% - 22px, 700px);
    padding-top: 14px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .nav a {
    flex: 1;
    min-width: 30%;
    text-align: center;
  }

  .hero,
  .page-title,
  .content-section,
  .notice,
  .terminal-section {
    padding: 22px;
  }

  h1 {
    font-size: 26px;
  }

  .reservation-buttons,
  .page-actions {
    width: 90%;
  }

  .terminal-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }
}
