:root {
  --route-teal: #116f72;
  --route-teal-dark: #0d5659;
  --route-ink: #202827;
  --route-muted: #5b6967;
  --route-paper: #f4f7f5;
  --route-surface: #ffffff;
  --route-line: #ced8d5;
  --route-lime: #dceb62;
  color: var(--route-ink);
  background: var(--route-paper);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--route-ink);
  background: var(--route-paper);
  font-size: 16px;
  line-height: 1.6;
}

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

a:focus-visible {
  outline: 3px solid #b6d23e;
  outline-offset: 3px;
}

.route-skip {
  position: fixed;
  z-index: 20;
  top: 10px;
  left: 10px;
  padding: 9px 13px;
  border-radius: 6px;
  color: #ffffff;
  background: var(--route-ink);
  transform: translateY(-160%);
}

.route-skip:focus {
  transform: translateY(0);
}

.route-shell {
  width: min(calc(100% - 48px), 1160px);
  margin: 0 auto;
}

.route-header {
  display: flex;
  min-height: 80px;
  align-items: center;
  border-bottom: 1px solid var(--route-line);
}

.route-brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 750;
}

.route-brand img {
  display: block;
  width: 126px;
  height: 42px;
  object-fit: contain;
}

.route-brand span {
  padding-left: 14px;
  border-left: 1px solid var(--route-line);
}

.route-main {
  padding: 76px 0 88px;
}

.route-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: end;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--route-line);
  gap: 54px;
}

.route-intro h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(42px, 6vw, 66px);
  line-height: 1.15;
  letter-spacing: -0.05em;
}

.route-intro p {
  margin: 20px 0 0;
  color: var(--route-muted);
  font-size: 18px;
}

.route-intro .route-summary {
  margin: 0;
  padding-left: 24px;
  border-left: 3px solid var(--route-teal);
  font-size: 15px;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
  gap: 16px;
}

.route-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--route-line);
  border-top: 4px solid var(--route-teal);
  border-radius: 10px;
  background: var(--route-surface);
  transition: border-color 160ms ease, background-color 160ms ease;
}

.route-card:hover {
  border-color: var(--route-teal);
  background: #f9fbfa;
}

.route-card__type {
  color: var(--route-teal-dark);
  font-size: 13px;
  font-weight: 800;
}

.route-card h2 {
  margin: 38px 0 12px;
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.route-card p {
  margin: 0;
  color: var(--route-muted);
}

.route-card__link {
  align-self: flex-start;
  margin-top: auto;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  color: var(--route-teal-dark);
  font-size: 14px;
  font-weight: 800;
}

.route-note {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  margin-top: 72px;
  padding: 28px 0;
  border-top: 1px solid var(--route-line);
  border-bottom: 1px solid var(--route-line);
  gap: 32px;
}

.route-note h2 {
  margin: 0;
  font-size: 18px;
}

.route-note p {
  max-width: 740px;
  margin: 0;
  color: var(--route-muted);
}

.route-footer {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--route-line);
  color: var(--route-muted);
  font-size: 13px;
}

.route-footer span:first-child {
  color: var(--route-ink);
  font-weight: 800;
}

@media (max-width: 820px) {
  .route-main {
    padding-top: 54px;
  }

  .route-intro {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .route-intro .route-summary {
    max-width: 620px;
  }

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

  .route-card {
    min-height: 250px;
  }
}

@media (max-width: 560px) {
  .route-shell {
    width: min(calc(100% - 32px), 1160px);
  }

  .route-header {
    min-height: 70px;
  }

  .route-brand img {
    width: 108px;
  }

  .route-brand span {
    font-size: 12px;
  }

  .route-main {
    padding: 42px 0 58px;
  }

  .route-intro h1 {
    font-size: 40px;
  }

  .route-intro h1 span {
    display: block;
  }

  .route-intro p {
    font-size: 16px;
  }

  .route-intro .route-summary {
    padding-left: 16px;
    font-size: 14px;
  }

  .route-grid {
    margin-top: 28px;
  }

  .route-card {
    min-height: 230px;
    padding: 24px;
  }

  .route-card h2 {
    margin-top: 28px;
    font-size: 25px;
  }

  .route-note {
    grid-template-columns: 1fr;
    margin-top: 48px;
    gap: 10px;
  }

  .route-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
    gap: 4px;
  }
}
