* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background: #ffffff;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 580px;
}

.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  margin-bottom: 40px;
}

.brand-eyebrow {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(0, 41, 97, 0.55);
}

.brand-title {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  color: #002961;
  letter-spacing: -0.02em;
}

.mode-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.mode-card {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: pointer;
  padding: 22px 26px;
  border-radius: 22px;
  background: #ffffff;
  border: 1.5px solid #b9c8de;
  box-shadow: 0 2px 10px rgba(0, 41, 97, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.mode-card:hover {
  transform: translateY(-2px) scale(1.01);
  border-color: #345684;
  background: #f7f9fc;
  box-shadow: 0 10px 24px rgba(0, 41, 97, 0.12);
}

.mode-card:active {
  transform: translateY(0) scale(0.995);
}

.mode-card:focus-visible {
  outline: 2px solid #345684;
  outline-offset: 3px;
}

.mode-icon {
  flex: none;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(0, 41, 97, 0.07);
  border: 1px solid rgba(0, 41, 97, 0.14);
}

.mode-icon svg {
  width: 30px;
  height: 30px;
}

.mode-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mode-title {
  font-size: 20px;
  font-weight: 800;
  color: #14213d;
}

.mode-desc {
  font-size: 15px;
  color: #6b7280;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.mode-arrow {
  flex: none;
  font-size: 26px;
  line-height: 1;
  color: rgba(0, 41, 97, 0.3);
  transition: transform 0.15s ease, color 0.15s ease;
}

.mode-card:hover .mode-arrow {
  transform: translateX(3px);
  color: #345684;
}
